Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
IBM developerWorks
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 22nd, 2003, 10:38 AM
dukegamma dukegamma is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 16 dukegamma User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
preloader affecting scene change and/or stop()

Hi, I created a small flash movie to play music with a website, it loads in a popup, and has a on/off button to start/stop the music.

FOr some reason now that I've added a preloader, when its done loading and nextscene() takes it to the actual scene with the player, it doesnt work like it had.

before it would stop on frame 1 since that was the music on frame. when you clicked the button it went to frame2.

i used stop() before to keep it at frame 1 but for some reason it doesnt work now. any ideas?

thanks,
duke

Reply With Quote
  #2  
Old July 24th, 2003, 03:47 PM
dukegamma dukegamma is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 16 dukegamma User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
bump

Reply With Quote
  #3  
Old July 24th, 2003, 05:07 PM
dkkz dkkz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 50 dkkz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Re: preloader affecting scene change and/or stop()

Quote:
i used stop() before to keep it at frame 1 but for some reason it doesnt work now. any ideas?


what doesn't work? the music don't play?

Reply With Quote
  #4  
Old July 24th, 2003, 11:26 PM
dukegamma dukegamma is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 16 dukegamma User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
no, it skips over the music_on frame and goes to the music_off frame, so the music is playing but the button is off, so when you click it, the music starts playing overtop of the previously playing music. after you turn it off and on again it works.

Reply With Quote
  #5  
Old July 26th, 2003, 02:37 AM
dkkz dkkz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 50 dkkz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
hmm dunno.

maybe try another method. give your 2nd scene a name, (I used musicScene as example).

then, back on the script of your preloader where it says "nextScene()", replace it with:

gotoAndStop("musicScene", 1)

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > preloader affecting scene change and/or stop()


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway