View Single Post
  #4  
Old 01-31-2010, 01:37 AM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by scriptless View Post
You mean such as

PHP Code:
with() {
thiso.variable value;

Yes, but only on the
PHP Code:
with(findimg(j)) { thiso.alpha i/100; } 
Sorry, did not fully explain problem properly. The images all show just fine, the problem is the alpha does not fade in/out, but rather instantly changes to that color. I have done this just last night the exact same way and it worked but using only a single poly (no second for loop). I wonder why it would not work now tho?

P.S. I am on testbed if anyone is curious.
Hm well the whole
PHP Code:
for ( j=4002j<4005j++ ) { 
part does seem to be unnecessary, as it would always be setting alpha to the same i / 100 value each time.

Alpha also ranges from 0 to 1, so dividing i by 100 would be giving you a value no greater than 0.01, which is near if not invisible,
this loop is also one way only and only occuring when onCreated is called, when it would need to be running over an amount of time.
Reply With Quote