Script crashes IDE and Flash Player but works in browsers

I'm building a game program and I've got a script that loads
an external swf, and then duplicates the clip for the user to play.
It worked until a few days ago when I reinstalled my OS (Mac OS
10.4.11) to fix an unrelated problem. The strange thing is that I
had reinstalled the browser plugin to fix a related problem. Now
the code works in the browser, but crashes the IDE and the Flash
Player every time. I called Adobe Support but they were no help
since it's "project related." I've reinstalled CS3 and Flash
itself, but nothing helps.
Here's the code that crashes:
// INITIALIZE LOADER AND ADD TO STAGE
var myLoader:Loader = new Loader;
addChild (myLoader);
myLoader.contentLoaderInfo.addEventListener (Event.COMPLETE,
isLoaded);
// DUPLICATE CLIP WHEN LOADED
function isLoaded (event:Event):void {
event.target.content.width = 100;
event.target.content.height= 200;
// THIS IS THE LINE THAT CRASHES
var copyClass:Class =
Object(event.target.content).constructor;
var newThing:DisplayObject = new (copyClass);
addChild (newThing);
newThing.x +=50;
myLoader.load (new
URLRequest('coloring/coloring1.swf'));

See this cool mp3 xml player with visualization, playlist and
skins. Fully customisable. Vector.
http://flashden.net/item/mp3-xml-strongplayerstrong-with-visualization-and-skins-vectorise d/11851

Similar Messages

  • Shockwave and Flash Player installed works fine but it says damaged in the dependency tab.

    I have Windows Vista Home Premium 32 bit. When I go to
    downloaded programs in windows where your active x programs are.
    The icons on the leftt of shockwave player are white. I right click
    on the shockwave player and click on properties and in the
    dependency tab has nothing in the file name. Over to the right size
    bites says damaged. On the download programs itself where the
    shockwave player is the status says installed and the bite size
    says 4 KB it did not it did not say damage only in the dependency
    tab. My shockwave programs and games work fine. On the dependency
    it has this message,This page lists the 1 file (s) amd 0 java
    packages upon which shockwave active x controls depends on. I tried
    uninstalling and reinstalling about 5 times and the samething came
    up. If it has to run on the main package java the samething is
    there too. There too it is installed and the bites are okay the
    only place it says damage is in the dependency tab. I unstalled
    that and reinstalled it the same number of times and the samething
    appeared. Flash player the same way. How do I fix this problem? In
    dowloaded programs I also have another shockwave active x control
    with the same version and 2 java of the same version. Also after I
    uninstall shockwave player I go to manage add ons and delete the
    one that is still there and in the downloaded programs it has
    unknown with a bunch of letters. There is no way to delete that
    when you right click it you only see properties.

    Try clearing the Cache in Firefox.
    Tools-> Clear Recent History -> [v] Cache
    or
    Tools->Options->Advanced->Network -> Offline storage -> [Clear Now]
    Youtube may have made some changes recently. Clear the Youtube cookie and refresh page if above does not do it.

  • Flash and Flash Player stopped working

    My wife was working on the dotphoto.com website that used Flash.  She did something that made it so that when we try to play a Show (dotphoto/s name for a slideshow) we just get a black screen.  She did this on her MAC desktop machine (G5 iMac with OS 105.8).  I tried to play the Show on my  MAc Book Pro (Intel) with OS 10.5.8 and I now have the same problem on my machine.
    The desktop machine only has Flash Player. The labtop has Flash CS3 Pro.  I also realized that now when i download a .flv file from youtube  to my laptop, it no longer will play in Flash, although i can play it in Quicktime with Perian plugin.  I have downloaded Flash Player CS5 and I still can't play the .flv files, that used to play fine.
    Any idea what could have gone wrong.  Is there a  preference or cache file that I could delete to see if it resets the software. Is there a way that I can download a  clean version of Flash 9.0 and load it over the one that is already installed in order to reset it?
    Help!
    Thanks,
    PianomanDave

    I have the very same problem. Ever since upgrading to 24.0 I can no longer view YouTube videos on Firefox. I have no trouble with other browsers (IE and Chrome) and I can view the Flash home page. I've tried the suggestions and they do not work. Please fix!!

  • IE9 and Flash Player NOT Working

    Since upgrading to IE 9 I can no longer view any FLASH in webpages.  The Flash Player occasionally flickers on the screen offering to ALLOW or DENY (but disappears before you can click).  IF I am lucky enuf to click on the FULL SCREEN option, I can view the video in full screen mode... unable to view anything in the browser.  I am finding complaints all over your discussion boards and all over the Internet when I GOOGLE for a fix.  Each FIX seems to be totally personalized.  I see thread after thread telling the party to initiate their own thread.
    HELP!!!
    This totally sucks... it seems to be UNIVERSAL.  Why isn't it being addressed across the board... vs one at a time-itis?  I have the most recent Flash Player downloaded (tonight).

    Using Windows Home Premium and IE9
    Some flash videos on websites work and some don't.
    For example, on this site many flash videos work but several don't ... http://www.moosepeterson.com/blog/. Doesn't really make sense that some do and some don't! However, all flash videos work on this site using Chrome and on my old XP system using Internet Explorer. So, the problem has to be with IE9.

  • Downloaded Microsoft Security Essentials and Flash Player Quit Working

    Hi, i am running Win 7 (64bit), and recently got MSE as my only antivirus. Once i downloaded it, flash player files in youtube and other sites (even pictures you can click and zoom on) refuse to load and just lock the browser. This is happening in IE and FireFox. I am running flash player 10.3.181.22. I do not get an error message, just a frozen browser. I have restarted browser, computer, and router and still am getting the issue. Any help on this issue would be great!

    Hi, in addition to what Pat has suggested, what Anti-Virus program(s) did you have prior to MSE? Did you have a clean Uninstall of those? If you only removed them from the Programs & Features, some of them don't Uninstall all from the various files. Most Anti-Virus programs now have Removal Tools to use in addition.
    You might try power cycling the Router and see if that helps.
    Also check and make sure the Flash Player Shockwave Flash Object is Enabled in your IE manage addons. Also the Shockwave Flash plugin for FF plugins.
    eidnolb

  • Upgraded to CS3 and Flash no longer works in browsers

    Since upgrading to CS3 my Flash no longer works in my top
    table. Exact same files worked fine in CS and CS2 and whatever it
    was before CS. Any Flash that is in the top table on any of my
    pages doesn't appear.
    Now it doesn't appear in IE or Firefox. Can see it fine if I
    "preview in browser" but when uploaded to site can't view at all.
    Any solutions? Please reply to [email protected]
    Thanks.

    Ok got this working. Went into my code and deleted everything
    from the javascript tag to the closing script tag (see below).
    Reinserted my SWF file and it works like a charm.
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0','wid th','396','height','80','src','images/gold-logo','loop','false','quality','high','pluginsp age','http://www.macromedia.com/go/getflashplayer','movie','images/gold-logo'
    ); //end AC code
    </script><noscript><object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
    width="396" height="80">
    <param name="movie" value="images/gold-logo.swf">
    <param name="quality" value="high"><param
    name="LOOP" value="false">
    <embed src="images/gold-logo.swf" width="396" height="80"
    loop="false" quality="high" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash"></embed></object></noscript>

  • Can't mount dmg files, Applications button in sidebar automatically closes Finder, and Flash won't work in browsers

    Although these problems don't seem to be related, they all started occurring at the exact same time. To reiterate
    1) Any time I try to mount a .dmg file, the setup window automatically closes
    2) Any time I go into Finder and click on "Applications" button in the sidebar, the Finder window automatically closes
    3) Flash player does not work in any browser
    I have tried repairing permissions and this doesn't work.
    Can anyone help?

    Have you repaired the Disk. You must boot into the Recovery HD to repair the disk. See http://support.apple.com/kb/HT4718 and http://support.apple.com/kb/HT1782

  • Audio not working in imovie and Quictime Player, but working under DivX

    I can play my movies in DivX with sound, but they are soundless in imovie and also with Quicktime Player. Any suggestions?

    Try making a new iMovie Project and import as small a part of the file again.
    If it has audio in QuickTime it should now work in iMovie.

  • My comp crashes, and freezes all the time and flash player keeps quitting on me........

     y does i keep getting oh snap , and flash player stop working its so annoying help me fix it and. no no changes nothing  the problem has been persistent since i first bouth the computer.....plz help plzzzzzzz
    This question was solved.
    View Solution.

    These suggestions from Daniel were posted in the notebook section but I think they apply to you as well:
    http://h30434.www3.hp.com/t5/Notebook-Display-and-Video/The-solution-to-most-problems-with-the-Flash...
    Reminder: Please select the "Accept as Solution" button on the post that best answers your question. Also, you may click on the white star in the "Kudos" button for any helpful post to give that person a quick thanks. These feedback tools help keep our community active, so you receive better answers faster.

  • Games I have been playing for months suddenly told me to update my Flash Player, but . . .

    A few days ago, games I have been successfully playing for months on Club Pogo suddenly tells me my Flash Player needs to be updated to the most current version.  But upon clicking the link and being brought to the Install Abobe Flash Player page, it tells me I already have the most current version for my operating system installed. 
    I've tired uninstalling and reinstalling it and I've checked for software updates for both Safari and Flash Player, but nothing seems to be working.
    I am quite frustrated and I have no idea what to do next.  Any help would be greatly appreciated.

    Nothing you can do; your OS version does not support any newer Flash Player versions.

  • Hello I use Mac pro with OSX 10.9.9 I am trying to download flash player but I keep getting this "Install Adobe Flashplayer" is Damaged and can't be opened anyone got any ideas please

    Hello I use a macbook pro with OSX 10.9.5. I am trying to download Flash player but keep getting this message "Install Adobe Flashplayer" is damaged and can't be opened.You should eject the disk image.Any ideas please?

    You should make sure you do a complete uninstall of the flash player first and then install the latest FP14 version from this link - Use http://download.macromedia.com/pub/flashplayer/current/support/install_flash_player_osx.dm g
    In order to do a complete uninstall - Uninstall Flash Player | Mac OS

  • Trying to download Adobe Flash Player but it will not accept my Mac password. Any ideas?

    Trying to download Adobe Flash Player but it will not accept my Mac password. Any ideas?

    Yipper45 wrote:
    Trying to download Adobe Flash Player but it will not accept my Mac password. Any ideas?
    Where are you trying to get Flash Player from? Downloading is different from installing but many malicious websites offer to supply Flash Player as a means of installing malicious software and gathering personal information (e.g., passwords). You should get Adobe Flash only from Adobe and this link lets you download the full installer (Mac OS X (Intel) DMG) and run it locally. At that point OS X will ask for your password and if you've been using it successfully for other purposes (e.g., changing some items in System Preferences), it should work there too. Note that once Flash Player is installed, a Preference panel is installed too, and in it you can authorize Adobe to update Flash automatically.

  • My Flash player sometimes works and sometimes does not

    I have an issue with my flash player on one specific website. Here is the link:
    http://www.joj.sk/sudna-sien/sudna-sien-archiv.html
    Sometimes I can play videos from archive and sometimes can´t. I use Windows 7.
    I thought it is a problem of the server where are the videos stored. But on my secom computer (Windows Vista) the videos works fine, so server problerm I can exclude.
    I use the same version of the flash player on the both computers. It is 10.2.152.32 . Las time when it did not work, I installed the newest version of the Flash player, but it did not work too. So I installed back the older vesion 10.2.152.32.
    On Youtube i never had this problem. It works fine.
    I have no idea where can be the problem. Is there any setting for flasplayer or cache or cokkies or something else, or maybe firewall?  Please help.  Thanks. 

    romiadam wrote:
    Sometimes I can play videos from archive and sometimes can´t.
    Sorry, I don't understand "can't"; can you explaint?
    P.S. all videos on that site play fine for me with Flash Player 11.1.102.55.

  • I am trying to use sites on the internet which require Adobe Flash Player, but when I click on the free download, it says that Apple does not support this application, so I cannot use it.  This stops me viewing quite a few interesting things.  Any ideas?

    I am trying to use sites on the internet which require Adobe Flash Player, and when I click for a free download it says that "it is not available for your device because of restrictions that Apple has put in place".  Any suggestions on how to overcome this?

    Flash is not, and probably never will be, supported on the iPad : http://www.apple.com/hotnews/thoughts-on-flash/ . Plus it would be up to Adobe to make a version of their flash player that works on iOS devices, something which they have never managed to do and which they have now given up on trying to do.
    Browser apps such as Skyfire, iSwifter and Puffin 'work' on some sites, but judging by their reviews not all sites. Also some websites, especially news sites, have their own apps in the App Store, so your could try checking there for your sites (and there is the built-in YouTube app).

  • I am trying to download a flash player but my computer is asking for a tchnical password and I do no

    I am trying to download a flashplayer and my computer is asking for the technical password for the computer and I do not know it. How can I work around that?

    There IS NO password required to "download" Flash Player, but...
    You CANNOT install software without your system administrator password, and that's with ANY software, not just Flash Player or Reader.

Maybe you are looking for

  • SSO registration fails.

    While registering the application in 10.1.2.0.2 OID, I get the following error. *** Log File = $INST_TOP/logs/appl/rgf/TXK/txkSetS SOReg_Thu_Apr_10_04_40_53_2008.xml Beginning input parameter validation for Oracle Home Instance registration. Input pa

  • Report format

    hi friends, I have a report creating a test file. I am also writing the text file. Below is the code and I am successfully getting it.   LOOP AT it_outfile.   write : / it_outfile.                                            ENDLOOP. the results in th

  • Outlook 2007 & Exchange 2007 - Out of office assistant not working

    Hi, when using outlook 2007 and the users mailbox is on an Exchange 2007 server the out of office assistant doesn't work. When you start the out of office assistant the following message is displayed: 'Your Out of Office settings cannot be displayed,

  • Why does it have to be this difficult? JES installation and a reboot

    Hi, I downloaded JES for Windows, and I went through the default installation and configuration process. Everything works fine. I can use the Access Manager screens to create users and I got one of the example programs working that allows me to test

  • About navigate between ie pages in web dynpro for abap

    hi, all   I want navigate between views, but the view in two ie page.   How can i do it?   Thanks for your help!