LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-07-2001, 07:43 PM
lex lex is offline
Registered User
 
Join Date: May 2001
Posts: 79
Rep Power: 13
lex is on a distinguished road
do once

how do i get director to asign a value to a variable once?

this is my code, but it thorws errors:

<code>

on prepareMovie
sb =100
end

on enterFrame


sprite(2).blend = sprite(2).blend+1
if sprite(2).blend > 99 then
sprite(2).blend = 0
end if


sprite(1).blend = sb

end
</code>

this is the error "variable used before assign variable"
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Resolved: how to assign action after audio playback shpek Flash MX ActionScript 3 09-02-2004 04:40 PM
problems with .load using variables longanimous Newbies 2 04-27-2004 05:39 PM
Resolved: parsing content from Arrays using named variables rocketscience Flash MX ActionScript 16 03-16-2004 10:54 PM
Resolved: Loading Variables inside tellTarget function ejt Newbies 5 03-09-2004 06:26 PM
(variables == variables){ csaw Newbies 3 07-02-2003 03:12 PM




All times are GMT. The time now is 06:50 PM.