Debug online movies: quick solution

Friday, June 17th, 2005

It was posted few minutes ago on FlashCoders mailinglist by Ivan Dembicki. Very nice and quick solution for debuging your movies. Even online movies.
Here is the code:

[as]
Key.addListener(this);
this.onKeyUp = function() {
if (Key.getCode() == Key.SPACE) {
System.setClipboard(_root.output);
_root.output = “”;
}
};
[/as]

Test data:

[as]
for (var i=0; i < 100; i++)
{
_root.output += "test " + random(100000) + "\n";
}

[/as]

Run movie, press SPACE, open NotePad, and paste text there.
Enjoy.

AddThis Feed Button

This is some text prior to the author information. You can change this text from the admin section of WP-Gravatar  I'm living in Bratislava, Slovakia. I'm Senior Flex, AIR Developer for my own company Flexets. Read more from this author


tagged under:

ABOUT THIS AUTHOR

I'm living in Bratislava, Slovakia. I'm Senior Flex, AIR Developer for my own company Flexets.

Get a Trackback link

6 Comments


  1. mL
    Visit Site
    June 17th, 2005

    Your for loop’s less than sign got substituted by Verdpress. Thx for the post!


  2. Franto
    Visit Site
    June 17th, 2005

    Thanks, i will try to fix it, but how? :))


  3. Administrator
    Visit Site
    June 17th, 2005

    must be there space between


  4. timG
    Visit Site
    June 20th, 2005

    Great idea!
    It might be an idea to use a context menu handler to call the pasting function. That would free up the space bar without loosing any screen real-estate (or bandwidth).


  5. stef
    Visit Site
    March 19th, 2006

    nice


  6. nitesh
    Visit Site
    June 6th, 2007

    iam creating a flash site in (for example iam creating four page home,about contact,work first iam in home page when i click on contact page the material of home page go first and then the the contact page will come can u send me this solution {i want to send u a swf file but sorry
    i don’t know how to} hopin for reply

Live Preview

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

This site is using OpenAvatar based on
Images is enhanced with WordPress Lightbox JS by Zeo