Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-08-2003, 05:41 AM
Junior Member
 
Join Date: Oct 2003
Posts: 1
Default jump to same frame different scene?

I am wanting to have a scene jump to a different scene on the same frame number. Here is the code i am using now,

on (release) {
gotoAndPlay("Intro copy", _currentframe);
}

However what happens is it jumps to the same frame on the next scene after the one specified. I also have problems calling a scene before the current scene using this method. I understand what might be happening is that flash is counting the entire frames in the whole movie and is mixed up with what scene to go to.

I have also tried this

on (release) {
this.gotoAndPlay("Intro copy", _currentframe);
}

is there another way that I can get the current frame then use the gotoAndPlay function work.

Any Ideas would be great, thanks. Im dying here!!!
Reply With Quote
  #2 (permalink)  
Old 10-08-2003, 09:13 PM
Member
 
Join Date: Jan 2003
Posts: 54
Default Re:jump to same frame different scene?

...hum...i never deal with scene in Flash, allways causing dramas.
.
.
first of all, never use 'space' in a frame name, that's making Flash pucking.
.
.
A way through could be to use variable instead, eg:
When u want to move to the next scene, just put:
on (release) {
/:NumFr=zz;gotoAndStop ("SCENE_XX", 1);
}
and, in the frame 1 of SCENE_XX, put a kinda test:
if /:NumFr!= null or if /:NumFr!=0
gotoAndStop (/:NumFr); or gotoAndplay (/:NumFr);

With this method, you can deal with many options to make Flash behave as you wish.
(/: is the same as _root.)

see u
Madcha
__________________
http://www.alyze.com - http://www.ecomzone.net - http://www.alisook.com -http://www.madcha.com - http://www.i-multimedia.fr -
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:11 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.