PDA

View Full Version : "onstop" in B2?


girardjf
01-23-2003, 05:06 PM
Is this event functional in this release?

I am attempting to use it and i get the ccompilation warning:

"onstop" not allowed at this point; ignored"

"not allowed at this point" could mean at that point in the script or unsupported. Which one is it?

I am using it the same way 'oninit" might be used, in the context off a view, like below.

<view name="winContent" resource="img/Home_LogoAni.swf" onstop="parent.chngResource('img/Home_Sect01.swf')"/>

Should this work or am i just cracked out?

Thanks,

-j

antun
01-23-2003, 06:36 PM
Hey Justin

I just did a quick test:


<canvas width="240" height="240" debug="true">
<view resource="test.swf" onstop="debug.write('Stopped!')" />
</canvas>


And I got the same error. It's a bug in B2. It's fixed in the upcoming release.

onstop is for when any view that has a multi-frame resource comes to the end.

-Antun

girardjf
01-23-2003, 06:46 PM
THANK YOU!!!!

so just for multiframe resources yeah?

one problem begets another!

i'm just glad to know that. Thanks so much for taking the time to respond. i know you guys are busy. Sorry to be buggging you so much.

-j

antun
01-25-2003, 10:31 AM
Have a look here:-

http://www.laszlosystems.com/developers/community/forums/showthread.php?postid=138#post138

-Antun