Do you know ActionScript? dispatchEvent help needed

I have a .swf file that loads in a .as class file. What I
want to do is the following
The class file dispatches an event called "loadEvtStatus"
When inside of the class, i can trip a function for the event
Problem. How do i listen for the event on the swf
file?

It sounds li8ke you need to show the import options when you place your art and select Transparent Background. That option ought to stick until changed.

Similar Messages

  • Actionscript 2 help needed on rotating movieclip

    I need help with the "stopping" of a movieclip rotation.  I think this would be easy for you Flash gurus but impossible for me.
    Here is the description.  The code below shows a movieclip rotating after mouse click but i want it to stop in place after 60 degrees.  Basically I need it to rotate 60 degrees after every mouse click and stop.  The "trace" function is there so i know something will happen when it rotates a certain degree.  Right now it rotates continually after the mouse click.
    mc.onRelease=function(){
         mc.onEnterFrame=function(){
              mc._rotation=mc._rotation+=10;
              if(mc._rotation==60){
              trace("HIT");
    As a bonus i would like the rotation of every 60 degrees to ease in and out.  Thank you in advance for any help you can give me.

    When the _rotation value reaches the 60 degree mark, you need to delete the onEnterFrame delete mc.onEnterFrame;.
    There is only one position where the _rotation value will == 60, so if the intention is to stop it at every 60 degrees, then you'll need to change the conditional to be...
    if(mc._rotation%60==0){
    So....
    mc.onRelease = function(){
         mc.onEnterFrame = function(){
              mc._rotation = mc._rotation+=10;
              if(mc._rotation%60==0){
                 trace(mc._rotation);
                 delete mc.onEnterFrame;
    If you want to have easing, I suggest looking into using Actionscript tweening.  With steps of 10 there's little room to ease.

  • Hey !! do you know how to install developer 6i for linux redhat7.1?

    Currently I am working on a Windows environment. I downloaded developer 6i for linux and I read the documentation and I did the preinstallation tasks. But when I started the installation an error ocurred saying that some folders did not exist. This is not logig to me, because I am installing and therefore no folder should exist. Do I need to install something before in solve that problem???
    For GOD, Christ and all saints do you know how to help me....
    Thank you anyway!!
    null

    I found the best way to handle using the program between networked computers is to use extension arguments.
    Simply.
    Install the program as administrator BUT do not let it start when installed.
    Then edit the properties of the desktop icon so that it has properties so that you run firefox with command line arguments (www.kb.mozillazine.org/command_line_arguments)
    Thus if your desktop icon on each Pc is firefox.exe -profile "h:\firefox\profile"
    Firefox when started with this desktop icon will always use the profile on the server drive H
    Once this is completed you can run the program and it will create the profile in the selected drive location.
    if you delete the profile it will create another in the same location.
    This also works for Mozilla Thunderbird.
    Hope this helps anyone that had the same problem as me.
    Berni

  • You Are Rad If You Know How To Do This...

    Hello My Fellow Flashophiles
    So, I will bow down to you if you know how to help me with
    this one.
    I have a MovieClip in my Flash file which emulates a
    signature being drawn by animating a mask that covers over a bit
    more of the underlying bitmap (of the actual, static signature)
    frame by frame. I'm interested in allowing the color of the static
    signature in the bitmap to be set dynamically. Here's the
    pseudocode I've come up with so far:
    - Access the bitmap in the MovieClip
    - Replace (somehow) every black pixel in the bitmap (the
    signature is black, the background white) with a pixel that is the
    chosen color
    - addChild the MovieClip to the main timeline
    I am also considering separating the bitmap from the
    MovieClip and just setting the MovieClip as its mask
    dynamically....
    Any ideas on any part of this? You're rad!
    Thanks,
    Graham

    Oh! Cbeech is the winner once again... I'm really starting to
    owe you, friend. Thanks once again for your invaluable help...
    So, yes, I decided it would be best to strip the bitmap out
    of the mc. Instead, I load it programmatically, apply the threshold
    method (I
    knew there had to be such a function! -- thanks, Beech!),
    then set the animation as the mask programmatically. Note to
    Cbeech: the colors for both the bground and the signature are
    selected via the sampling method you helped me with before.
    Here's the outcome:
    http://www.catherinemix.com/cmix8.html
    A lot of work for modest results, but I suppose that's the
    name of the game. I'm not complaining, tho. My understanding grows
    geometrically, and it's fun!
    Be Well,
    Graham

  • I play Zuma Blitz on FB; Ever since I upgraded to Firefox 4 I can't play the game the darn frog pauses before shooting and it's a mess; you know it's what I enjoy doing and it needs to be fixed can you help me with this??? Thanks

    Question
    I play Zuma Blitz on FB; Ever since I upgraded to Firefox 4 I can't play the game the darn frog pauses before shooting and it's a mess; you know it's what I enjoy doing and it needs to be fixed can you help me with this??? I am super frustrated ith the situationThanks

    Upgrading to firefox 5 and updating my plug-ins helped a bit. Frog is less 'sticky' now, but it's not solved the problem. Java needs to be up to speed or the frog goes into stasis....

  • HT4623 I installed the new IOS 7 and now it asks me to inform a password, but I really do not know what password I need to inform. Could you help me:

    I installed the new IOS 7 and now it asks me to inform a password, but I really do not know what password I need to inform. Could you help me:

    if you mean it asks you to add a passcode to the device, you may say no.  It really tries to encourage you to put a code on, by asking twice.....

  • Help needed I updated my ipad2 with iOS5 but few of my dashbaords are not working now can any one let me know how to downgrade the OS

    Help needed I updated my ipad2 with iOS5 but few of my dashbaords (HTML5) are not working now ,can any one let me know how to downgrade the OS as we have a meeting coming up .. its urgent

    Downgrading the iOS is not supported. If you are using Safari this try clearing its cache via Settings > Safari.
    If that doesn't work then try closing Safari completely and then re-open it : from the home screen (i.e. not with Safari 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Safari app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    A third option is a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Do you know how to use Flash? can you help?

    hi all,
    Do you know how to use Flash?
    I have been trying for months to find someone who can use
    flash, who can help me, with no luck.
    I need my links on my website updating, just a couple of them
    need the text changing as i need
    to change the name/title of some pages. I have tried to do it
    myself (using a trial version of flash,
    as i dont have flash). the site was made using dreamweaver.
    the files are .FLA
    and before anyone says 'get the person who made the site to
    do it'....He wont, ive tried.
    when i tried to change them myself i cocked them up and now
    they dont work at all, see my
    website and you will see; www.stevenallenphotography.co.uk
    so, if you can use flash please can you help me? all i need
    doing is the file updating with some
    of the link titles/names changing, i.e. one link is
    'exhibitions' which needs changing to 'published work',
    please get in touch if you can help.
    thanks,
    steven.

    I used divx in my site once its really very nice! but i use it in different host not .mac...try this divx web player with video selector code --------<object id="ie_plugin" classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616"
    width="640" height="480"
    codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab">
    <embed id="np_plugin" type="video/divx"
    width="640" height="480"
    pluginspage="http://go.divx.com/plugin/download/">
    </embed>
    </object>
    <script type="text/javascript">
    // This code detects which browser we are
    // running into (IE or others) and assigns
    // the correct element (object or embed) to
    // the "plugin" variable, that we will use.
    var plugin;
    if(navigator.userAgent.indexOf('MSIE') != -1)
    plugin = document.getElementById('ie_plugin');
    else
    plugin = document.getElementById('np_plugin');
    // This is a local JS function used by our form
    // element to call the plugin functions using
    // the "plugin" variable that we defined above
    function openNewMovie()
    var url = document.forms['videoSelector'].movie.value;
    if(url != '')
    plugin.Open(url);
    </script><form name="videoSelector">
    Choose a video to play:
    <select name="movie" onChange="javascript:openNewMovie();">
    <option value="" selected>Video Selector
    <option value="http://www.yourdomain.com/folderdivx/name.divx">title1 divx
    <option value="http://www.yourdomain.com/folderdivx/name.divx">title2 divx
    </select>
    </form> ---------------------
    Hope this help!

  • Do YOU know how to make a decent bassline? please help

    still can't figure out how to make a clean bassline on garageband.
    i use synthbass, tried multiband compressor, filter, EQ, etc but can't make it loud without a very noticeable distortion/unwanted vibration.
    if YOU know how to do this please reply with as much information as you can give
    thank YOU for your help

    Well, it's difficult since maybe no one else is having the same experience?? The synth bass sounds as it should to me.
    The bass choices are limited it seems. Maybe you need a JamPack or something else. See if you can find some bass on one of HT's links here:
    http://www.bulletsandbones.com/GB/PlugInsSoundFonts.html
    If you can't get enough volume out of the track maybe try duplicating the track and copying the region over to it so it's doubled.
    Have you tried the AUGraphicEQ or the Visual EQ?
    Or maybe someone with specific synth bass experience will troll by and have another suggestion.
    i dont have any midi instruments, i write all my melodies and beats purely through GBs interface!
    I believe those are MIDI instruments. Are you saying you don't have a keyboard controller you just use they musical typing or onscreen keyboards? Try MIDIkeys: http://www.manyetas.com/creed/midikeys.html (it won't help with sound, though)

  • How much Actionscript do I need to know to create basic Flash projects?

    Hello everyone,
    I have recently started learning Flash CS3.
    This is what I'm trying to do.
    1. Create Animated Banners for websites
    2. Create Flash Slide shows, Buttons and Image scroller
    (Scroll Thumbnails)
    3. Flash websites (In the Future)
    I am not interested in creating Games, movie animations or
    anything other then what I named above.
    So my confusion is, how much Actionscript do I need to learn?
    How do I start to learn Actionscript?
    I have been reading many post regarding similar situations
    but I just need to know which direction to take.
    The deal is, I am more into learning ASP.NET 3.5, PHP,
    Javascript.
    But need just a little touch of flash.
    I could use these pre-configured Scripts and software that
    can create Flash banners and slide shows but I would like to learn
    to do these on my own.
    Where do I start?
    Please be patient with my ignorance.
    AI

    I think you will find some useful information/tutorials here:
    http://tv.adobe.com/#pd+Flash

  • Hi help needed. Just updated my I phone 4 for first time since I bought it (I know, I know). Lost everything. What I really want back is my notes. Any ideas. Please. Somewhat desperate!!!!

    Help needed. Just updated my I phone 4 and lost all my notes, and no I didn't put them in the I cloud. Please help. Need those notes!

    You could always check to make sure itunes is updated to 10.7 but im sure gdgmacdude is
    right.
    thanks
    gdgmacdude
    Hey dude
    are there anymore hardware failure errors u know of
    im kinda a novice apple man and could use all the help i can get
    capp

  • I changed my apple id email because I needed a more recent email and forgot my old password, now I need to sign out of my old Apple Id and don't know how. Help???

    I changed my apple Id email because I needed a more recent email and forgot my old password, now I need to sign out of my old Apple Id and don't know how. Help???

    Make sure you are signed into iMessage and FaceTime with your current ID.  If they are signed into the old ID, go to Settings>Messages>Send & Receive and Settings>FaceTime, tap the ID, sign out, then sign back in with your current ID.
    Then temporarily recreate the old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  (You should not have to verify the old email account so it doesn’t matter if you no longer have access to it.)  Now go to Settings>iCloud, turn off Find My iDevice and enter your current password when prompted (even though it prompts you for the password for your old ID).  Then go to Settings>iCloud, tap Sign Out (or Delete Account if you are not running iOS 8) and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address back to the way it was.  Now you can go to Settings>iCloud and sign back in with your current iCloud ID and password (your data will download back to your device).

  • Ok Apple users...Is there a way to delete e-mails on my Mac and not have to delete the same e-mails on my iPhone, and iPad...and vise-versa. I have the Cloud, and thought that everything would sync all of the time. If you know of a setting I need to adjus

    Ok Apple users...Is there a way to delete e-mails on my Mac and not have to delete the same e-mails on my iPhone, and iPad...and vise-versa. I have the Cloud, and thought that everything would sync all of the time. If you know of a setting I need to adjust, please let me know.

    Are you referring to @mac.com, @me.com or @icloud.com emails? Or some other email providers emails?
    If the former, it should do that automatically. If the latter, no. iCloud does not (nor is it supposed to) sync non-Apple provided emails.

  • Help needed. I have a 3TB external hard drive partitioned into 1TB's. I used one partition as backup for the main computer hard drive. But now it is greyed out as shown in the disk utility and its name changed, i dont know how that happened, i tried verif

    Help needed. I have a 3TB external hard drive partitioned into 1TB's. I used one partition as backup for the main computer hard drive. But now it is greyed out as shown in the disk utility and its name changed, i dont know how that happened, i tried verifying and repairing it but had no luck. I also tried mounting and unmounting it but still no solution. Anyone to help please?

    Looks bad. I would strongly advise backing up the stuff on the other two partitions as soon as possible in case the rest of the drive goes wrong.
    Beyond that, Disk Utility has limited abilities to repair disks, DiskWarrior uses a different approach and might, emphasis might be more successful. It has certainly done the job for me in the past when Disk Utility could not.
    See http://www.alsoft.com/diskwarrior/

  • I just purchase a brand new mac computer and I need to purchase new adobe CS software. Do you know if Adobe CS5 Design Premium-MAc is compatible with new mac computers with the updated software?

    I just purchase a brand new mac computer and I need to purchase new adobe CS software for work. Do you know if Adobe CS5 Design Premium-Mac is compatible with new mac computers with the updated Yosemite software? *No previous adobe CS software versions are on this computer

    There are known technical issues with any older version on Yosemite, even CS6. Some can be worked out, others may not be relevant to you, some will remain unsolved.
    Mylenium

Maybe you are looking for