scene syntax

This is a discussion on "scene syntax" within the Flash & Multimedia Forum section. This forum, and the thread "scene syntax are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 26th, 2007, 22:49
Up'n'Coming Member
Join Date: Aug 2007
Location: N.C.
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
scene syntax

Its my first time working with multiple scenes.
I was wondering about the AS for a button to send me from scene1 to scene2.
and a frame number if that is necessary.
gotoAndStop.....?

thanks.
Reply With Quote

  #2 (permalink)  
Old Sep 26th, 2007, 23:08
Up'n'Coming Member
Join Date: Aug 2007
Location: N.C.
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Re: scene syntax

gotoAndStop("nameofscene", #);

Found it.
Reply With Quote
  #3 (permalink)  
Old Sep 26th, 2007, 23:24
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: scene syntax

Thank you for posting the answer It might help someone else facing the same problem as you
Reply With Quote
  #4 (permalink)  
Old Sep 26th, 2007, 23:48
Up'n'Coming Member
Join Date: Aug 2007
Location: N.C.
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Re: scene syntax

That works if you give your scene a unique name.
But what if you leave it as a default?
I tried gotoAndStop("Scene2", 1);

That did not work for me. Whats the syntax when using default named scenes?

thanks.
Reply With Quote
  #5 (permalink)  
Old Sep 27th, 2007, 12:22
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: scene syntax

Ah ... I'm not sure ... I know nothing of Flash :rofl:

I'm sure some of the other Flashers will be on soon and they will be able to help you
Reply With Quote
  #6 (permalink)  
Old Sep 27th, 2007, 21:25
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: scene syntax

You need to give it a name, even it the default name is Scene2 it is still "specific" to that file.

Make sure it's not supposed to be Scene 2 vs Scene2.

Cheers,

Scott
Last Blog Entry: Yay!? (Oct 8th, 2007)
Reply With Quote
Reply

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scene Loop again monkeygraphik Flash & Multimedia Forum 0 Sep 25th, 2007 09:11
Scene loop monkeygraphik Flash & Multimedia Forum 2 Sep 23rd, 2007 17:56
goto frame then jumpto scene tigas langaw Flash & Multimedia Forum 5 Jul 18th, 2007 14:41
How to link to a scene with a popup menu? Learner Flash & Multimedia Forum 7 Jul 18th, 2007 02:03
preloading one scene at a time gwx03 Flash & Multimedia Forum 7 Sep 6th, 2003 17:06


All times are GMT. The time now is 17:00.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43