the value of the global variable doesn't stick! help plz

This is a discussion on "the value of the global variable doesn't stick! help plz" within the Flash & Multimedia Forum section. This forum, and the thread "the value of the global variable doesn't stick! help plz 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 7th, 2006, 14:34
New Member
Join Date: Sep 2006
Location: Sweden
Age: 29
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Question the value of the global variable doesn't stick! help plz

I have a problem with my global variables (boolean). Everything is alright on two timelines.
The value of the variable stays in the timeline it was set and one more timeline.
But entering the third timeline the variable is set to undefined!

What could be the problem?? And how could I solve it?

I've been struggling with this for quite a while now and would be so grateful for any suggestions!

Thanks a lot!

/Susanna
Reply With Quote

  #2 (permalink)  
Old Sep 7th, 2006, 17:29
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: the value of the global variable doesn't stick! help plz

Please upload the flash files. I will take a look at them and see what I can do. You can upload the Fla file within a post using the attach button.
Reply With Quote
  #3 (permalink)  
Old Sep 8th, 2006, 09:05
New Member
Join Date: Sep 2006
Location: Sweden
Age: 29
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: the value of the global variable doesn't stick! help plz

Quote:
Originally Posted by JacobHaug View Post
Please upload the flash files. I will take a look at them and see what I can do. You can upload the Fla file within a post using the attach button.
Thanks a lot for your genorous offer! But I don't feel ready to show my work to the world just yet

I realized that I might have been unclear, I need to reach the value from not only one timeline to another but also from one scene to another.
How do I reach the value in one scene from other scenes?
The global doesn't seem to work for more than one extra scene... (someone told me it is because an evil garbage collector, but as a newbie, I don't know if that is the case).

Thanks for all help!
Reply With Quote
  #4 (permalink)  
Old Sep 8th, 2006, 10:48
Reputable Member
Join Date: Jul 2006
Location: exeter
Age: 20
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
Re: the value of the global variable doesn't stick! help plz

Come on don owrry abou showing us your work we were all beginers once and really in this program we always will be there is always something new to learn. and things will always be changeing we will only look at your work from the point of view of trying to to sort out your problem and not the actual content of the file. hope you will post it. rusty
Reply With Quote
  #5 (permalink)  
Old Sep 8th, 2006, 12:51
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: the value of the global variable doesn't stick! help plz

Rusty is right. But is you are not comfortable showing us your work. Then please post the code for the part you say is working. Then the code for the part you say is not working. We can mess around with it more from there. Also don't forget to use the code tag when you do this.
Reply With Quote
Reply

Tags
value, global, variable, doesnt, stick, help, plz

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
Stick with what I've got or re-design? 1840dsgn Website Planning 25 Oct 8th, 2007 19:52
Pastors should maybe stick to preaching! kennethsross Introduce Yourself 5 Mar 11th, 2007 03:30
Making a rollover stick when clicked map4202003 Web Page Design 4 Apr 7th, 2004 07:26
Global.asa jakyra Classic ASP 4 Feb 2nd, 2004 10:07


All times are GMT. The time now is 08:11.


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