CodeCanvas .Net

Vijay shankar ganesh on everything (well, almost) tech
posts - 61, comments - 399, trackbacks - 224

My Links

News

Blog got added to
.Net Reporter
Successfully created My Blog, I will be cross posting technical blogs to my currrent GWB blog area and other stuff will be there.

The best things in the world are free --- and worth every penny of it.

Article Categories

Archives

Post Categories

Blogs I Read

Leisure

Noteables

Recently Read

Tech Links

Scene jumping problem with gotoAndPlay / gotoAndStop

Flash has an nice concept called 'Scene', using which you separate a full movie into various scenes logically and then work on them. This enables the developer from going insane over the countless layers and frames that they have to jump to. One problem I faced with scene jumping with the recent work is that, when you are gotoAndPlay'ing to a scene from the topmost scene it works pretty well, but the problem arises when you have to jump to a different scene from inside of some object placed somewhere else in the movie it simply doesnt work.

After doing some googling I found this FAQ section which explained about the concept of scenes and a way to overcome the drawback. To put a long story short, hen exporting your fla into swf flash just concatinates all scenes one after another into a full length movie. So after exporting there isnt anything called a 'scene' present in the swf and thats the reason objects at innermost level are not able to execute the gotoAndPlay or gotoAndStop functions for scene based jumping. To overcome this drawback we just have to place a label frame to where it has to jump (basically I name it same as the scene itself) and then call the gotoAndPlay("<labelName>") to move the player head.

In flash 2004 macromedia has introduced new concepts named Screens and Forms which dont have the above mentioned drawback, but as I was working on a older file I had to come across this issue.

Print | posted on Friday, July 29, 2005 9:38 AM | Filed Under [ Macromedia (Adobe?) Flash Self References ]

Feedback

Gravatar

# re: Scene jumping problem with gotoAndPlay / gotoAndStop

sorry,...little sister did that
um...
THANK YOU
I THINK IM IN LOVE
11/2/2005 1:25 PM | Jigoku
Gravatar

# re: Scene jumping problem with gotoAndPlay / gotoAndStop

THANK YOU!!!!!
7/13/2007 6:55 PM | Sam
Gravatar

# re: Scene jumping problem with gotoAndPlay / gotoAndStop

YES I LOVE YOU TOOOOOOOOOOO!!!!!!!!!!!!
5/21/2008 4:58 PM | Suzanne
Gravatar

# re: Scene jumping problem with gotoAndPlay / gotoAndStop

i loooooooooooooooove you mannn thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks
12/1/2008 10:10 AM | I LOVEEE YOOOUUUU THANKS AGAGA
Gravatar

# re: Scene jumping problem with gotoAndPlay / gotoAndStop

reply the solution above mentioned problem
11/25/2009 12:40 AM | Ramakant
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: