Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: actionscript debugging & subject lines was: Re: FLASH: RE:
From: Laura Mollett
Date: Thu, 16 Mar 2000 05:23:11 GMT

oops, anyone who thinks I should have put a subject line on that if I was
going to reply to it - you're right, my apologies. It really is much better
if there's some sort of understandable subject so people can sort and find
the questions/solutions they're looking for. Reposted below with the more
appropriate subject.

Sorry again,
Laura

>> That doesn't work either. I don't know why but I can't get the darn thing to
>> loop. As soon as it reaches the frame that the loop is in it displays x as
>> 10.
> Heyya,
> Did you put a trace on "x"? trace it inside the loop if you haven't already,
> and see if you can get a better idea what's going on.
>
>> sj
>>
>> Set Variable: "x" = 2
>> Set Variable: "ypos" = GetProperty ("/dot1",_y)
>> Loop While (x < 10)
>> Duplicate Movie Clip ("/dot1", "dot"&x, 1)
> It *might* be a problem to name the duplicate movie clip as the same name as
> the original (I don't know for sure, but you might consider naming the
> original something else). Also I believe you need a / on the new name as
> well, since you would want it to be set on the main timeline yes? (although
> I don't think that would cause the code not to loop). So you'd want
> Duplicate Movie Clip ("/dot1", "/dot"&x, 1). You might also run traces on
> "/dot1" and "dot"&x to make sure it's finding them properly.
>
>> Set Property ("dot"&x, Y Position) = getProperty("/dot"&(x-1)) + 20
>> Set Variable: "x" = x + 1
>> End Loop
>
> hth, some anyway
> Laura
>
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and The Flash Film Festival
> "The World�s Premier Flash Solutions Conference and Expo"
> March 27-29, Nob Hill Masonic Center, San Francisco, California
>
> -Register before Feb 25 and save $200!!-- www.flashforward2000.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]