Warning: An ActionScript 1.0/2.0 SWF file has loaded an ActionScript 3.0 SWF; code in the ActionScri

hi,
I am using classLoader to load the multiple swf and using that getclass method i am accessing its document class. it is working fine in local system. when i upload the same files in server,i am getting the below error
Warning: An ActionScript 1.0/2.0 SWF file has loaded an ActionScript 3.0 SWF; code in the ActionScript 3.0 SWF will not run.
any help pls

what's your url?

Similar Messages

  • Is it possible to play a swf file over html, but still be able to click on the html site below?

    I have a website built in html, with normal clickable content - a few buttons scattered around the centre.
    An absolute positioned div sits on top of the site and plays a swf file which moves out of view and stops. I have set everything to transparent and the user can see the site below as it is revealed.
    But once the swf file has moved off screen, none of the content is clickable (as I suppose the flash object is still there).
    I've no idea if this is normal, or if there is a work around so that the user can reach the html content below after the anim has moved out of the way... ?

    I'm sorry I wasn't very clear. When I just try to open the SWF file by double clicking it, it opens in FireFox and it is resized to fit the screen.  When I open the html file that flash provides it looks great, it is the perfect dimensions.  There is probably no way to make the swf file limit it's size when it is opened by itself, I just wanted to hear someone say it.

  • SWF Files Not Loading

    I created a master fla and swf files to load into the master
    file externally. Everything loads into the master file just fine
    when I view it in flash or flash player. However I need to add a
    background to it along with a couple other things that I only now
    how to do in dreamweaver. Dreamweaver will load the master flash
    swf but it wont load the external swfs. Please help if you can.
    Thanks.

    I am not sure I completely understand what you are trying to
    do. Can you give us a link to the page in question?

  • Problem with music in swf file when loading site to server

    Hello,
    I am a newbie to Flash and have an swf file I created for a
    website,
    http://www.kanzamancleveland.com.
    I have a button there that turns the music on/off when the site
    loads. I also put some music into the swf file, but instead of
    putting it directly in the swf file, I am calling it from the
    actionscript code in the swf file. I want it to stream when the
    site loads and start loading/playing after the site loads. The code
    is embedded in the on/off button. Now this code works when the swf
    file is on my local hard-drive, but when I put it on the server
    with the rest of the website, it doesn't work. Any ideas?
    Here is the code:
    import fl.motion.Keyframe;
    import flash.display.MovieClip;
    import flash.media.Sound;
    import flash.media.SoundChannel;
    import flash.net.URLRequest;
    import flash.events.Event;
    import flash.events.MouseEvent;
    var _sound:Sound;
    var _channel:SoundChannel;
    var _playing:Boolean = false;
    var _position:int;
    var request:URLRequest = new URLRequest("lowsaaloony.mp3");
    var buffer:SoundLoaderContext = new SoundLoaderContext(5000);
    _sound = new Sound( );
    _sound.load(request, buffer);
    _channel = _sound.play( );
    _playing = true;
    offbtn.addEventListener(MouseEvent.MOUSE_UP, onPlayPause);
    function onPlayPause(event:MouseEvent):void {
    if (_playing) {
    _position = _channel.position;
    _channel.stop( );
    } else {
    _channel = _sound.play(_position);
    _playing = !_playing;
    gotoAndPlay(2);
    stop();
    I put the code together going from various Flash help
    websites, and it works when everything is on my local hd, but again
    as I mentioned before, when I put it up on the server, the music
    doesn't play. I contacted the hosting company and they said that
    they do allow streaming music on a website using Flash. Any help on
    what I am doing wrong, or what else I need to do would be highly
    appreciated. Thank you.
    Jay

    Hi. It looks like your code is not finding the mp3. At least,
    I can reproduce your error code by removing the mp3 from the
    directory, or renaming it.
    Btw, if you test with FF instead of IE, you'd see the error:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2032:
    Stream Error.
    at KZFlash_fla::Sound_2/KZFlash_fla::frame1()
    Hope that helps.

  • How can I get a swf file to load...

    Not sure if this is the place to ask this but I have a swf file embeded in a web page design.
    Now here’s the issue, the client wants to add more photos to it making it even larger.
    I would prefer not to make it larger but create 2 or 3 swf files that would randomly load when the webpage is refreshed or reloaded.
    Is there a way to code a random swf loading in HTML?
    Would I use javascript? I googled and found nothing on the subject.
    Thank you

    If you know JavaScript (ECMA Script) then you might be able to get it done applying a for loop and a random function
    to the for loop if you know how to get a page-loaded request into JavaScript.
    But an easier solution, if you know ActionScript 3.0, and if your SWF's don't need to be recoded and can load into a "container" SWF would be to create a master FLA file that loads your SWF's in a random fashion using Math.random() as a multiplier, though you won't see much variation if you only have 2-3 SWF's to load--if you had more than that then you would begin to benefit from the random function's capabilities.  In ActionScript 3.0 use the load() method along with addChild() to load the SWF and add it to the stage.  You will be able to search for specifics on how to code the FLA properly by using Flash's Adobe Help tool and also using an internet search.
    -markerline
    P.S. Once you have the master FLA coded you can Publish it to an SWF and an HTML and if the container/master SWF needs to be in a page with other content you can simply copy and paste the object and embed tags for the container SWF from the published HTML into any place on your master HTML that you need it to reside.  You can then use CSS to control placement of the SWF object if it is in a div tag.

  • Help needed in accessing the url from which a swf file has been loaded

    Hi All,
    Can anyone help me out in finding the url of the swf file
    from which it has been loaded? The purpose of the url is, I am
    loading some flv files using relative path. I just want to achieve
    the same by appending the relative path to the parent swf url from
    where the parent was loaded.
    I am a newbie to AS3, So please don t mind if this is a silly
    question.
    Can anyone help me on this.
    Thanks in advance,
    Prabakaran Srinivasan.

    Hi,
    Thanks for the reply. I think the option you gave is only
    applicable when the AS3 class comes in the DisplayObject hierarchy.
    I want this information in an AS3 class which does not extend any
    of the Sprite or its super class hierarchy. Can you let me know the
    possibility of fetching the value from such a class which i
    specified???
    Thanks,
    Prabakaran Srinivasan.

  • .swf file won't play on any in house computer except the one it was rendered on

    So, I work in a company that does some animation. I handle the website and uploading our stuff to it. The animator upstairs makes the stuff. He rendered out the file as a .swf, a html and a flv. He says he did it the same as he always does it, which is fairly often and he is definitely competent. The file plays in the browser on his computer (a mac).
    He transfered the file to several of us to test where the problem is. On mine (mac), two coworkers (also macs), and a pc the files do nothing when opened in a browser, blank white screen. The icons for the files are also just a blank page. We can all play the other .swf files from the website, both on the site and downloaded to our comps.
    Flash player has been updated on them all. He has re-rendered them with different file names. We are transferring them over our network.
    We need to get this animation on the web and I have no idea whats up with these files. Anyone got any ideas?

    upload the embedding html and the swf and loaded files to a server and post the url.

  • Swf file has stopped playing in 'live' browser only

    Hello everyone,
    Hope you can help with this, whilst working on my site one of the swf files stopped playing when viewed in the browser (live). The file plays ok from Dreamweaver from both local view and remote view. Went onto web server cpanel and played the swf file ok from there as well. Have checked the code and all seems fine, I wasn't even working with that file when it went wrong, all I done was replaced a png picture with a swf file on a different part of the page, this new swf plays fine along with all other swf files on my site. I have uploaded and syncronised both the page and swf files again but still no joy.
    I really am stumped for an answer, any help would be greatly appreciated.
    Thanks in advance,
    Stuart

    Here's the link, but after 3 hours of not playing it started to play by itself after I added a favicon (which still isn't working) to the index page.
    That is really strange and a bit worrying as it seems to have a mind of it's own. It also happened once before on another page when I was adding content to the site. I was able to kickstart that one by uploading the page again from local.
    The swf file which wasn't playing is midway down page showing drawings.
    http://www.joinerycadsolutions.com/St_Johns.html
    At least it's working now although I feel scared to touch the site in case I loose it/another again.
    Thanks for the reply.
    Stuart

  • Swf files not loading properly

    Hello, I'm new to Flash and recently downloaded the trial to make a few things to add to my website. Nothing too complex, I made a slideshow of images and turned some images into buttons. Either way, after I publish the files and import the swf files into Dreamweaver, I always get a flash player error when I try to look at the content on my website. It will tell me that I need to update my flash player to 11.2. I've downloaded 11.2 multiple times, reinstalled flash player, and made sure that I do indeed have the correct version of flash player on this computer. Just to ensure that it wasn't a problem with my laptop, I checked with a different computer as well and it had the same problem.
    Is this a problem because I'm trying to create content with the trial version? Or am I just doing something wrong? After I create whatever I'm making in Flash, I save it, publish it, and import the .swf file into Dreamweaver.

    As far as the trial version being the source of the problem goes, it is not likely because the trialversion is a fully functional version without restrictions on use. 
    What might be part of the problem could be allowing Dreamweaver to embed the Flash content into the web page rather than using the code that Flash will generate for embedding. 
    What you should do is publish an html page via Flash (set it up in the Publish Settings) and test that html page to see if you have the same issue.  If not, copy the code from that page and use it in place of whatever Dreamweaver created for it.

  • Swf file not loading over Https(SSL) on Internet Explorer...

    hi ,
    I have a .swf file used in html file and i try to browse using "https(SSL)".it will loads fine in Firefox, but in Internet Explorer wont able to load. When right-clicking it says "movie not loaded".
    even i googling for the same and i got below option but i am still not able to get flash on html page. it will working fine in Internet Explorer,FireFox etc when we use"http".
    1) add headers like "Cache-Control: must-revalidate" or "Cache-Control: max-age=0" or "Cache-Control: no-store" etc
    2) use CrossDomain.xml
    we also able to load swf in https on Internet Explorer but for that we have to do below settings in Internet Explorer browser.
    1) Go to Tools --> Click on Internet Option --> click on Advanced tab --> Now in security section checked mark on "Do not save encrypted pages to disk".
    but above way is not a proper way to resolve the https issue
    Thanks.

    found this within the Adobe forums, seems to solve your issue.
    I would make sure to use the crossdomain file as well.

  • SWF files not loading onto page in Catalyst output.

    Hello,
    This is a new one that I have not yet seen.  I have a large assortment of SWF files set up in Scroll Panes and they are not loading up when I check the project using Firefox or Safari.  The site is here:
    www.electronic-lifestyle.com
    Go into any page linked from the top row and then hit a sub page.  When you see a scroll bar come up on the right side of the film strip yet nothing inside the film strip you will see the issue.
    This is really serious and could screw up my entire project so any advice would be really helpful.  I need to figure out why the SWF files are not loading in on the browser with the files from the server when they work just fine using the local deploy files.  Everything works just fine from the machine but when I try to get it to download from the server nothing.
    All of the SWF files are built in Flash CS5 using AS3 and contain some simple links and commands.  Some of the SWF files are coming up just fine, it is just the latest batch of files I have uploaded that are giving me the problem, but only off the server.  The same files work just fine in local mode.
    Thanks in advance,
    Brett

    Chris,
    This is not an apples to apples comparison but I think it will Illustrate the differences.  This is a sample of code from Catalyst that works:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:s="library://ns.adobe.com/flex/spark" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:fclib="com.adobe.flashcatalyst.components.*" xmlns:d="http://ns.adobe.com/fxg/2008/dt">
        <fx:Script>
            <![CDATA[
                protected function mac_btn_clickHandler():void
                    navigateToURL( new URLRequest( encodeURI("http://www.mcintoshlabs.com")), "_blank");
                protected function integra_btn_clickHandler():void
                    navigateToURL( new URLRequest( encodeURI("http://www.integrahometheaters.com")), "_blank");
            ]]>
        </fx:Script>
        <fclib:SWFController loadForCompatibility="true" source="assets/images/ElectronicMain2c.swf" x="0"/>
        <s:Button skinClass="components.Button1" x="0" y="1328" d:userLabel="Mac_btn" click="mac_btn_clickHandler()"/>
        <s:Button skinClass="components.Button1" label="Button" x="0" y="1768" d:userLabel="Integra_btn" click="integra_btn_clickHandler()"/>
    </s:Group>
    This is an example of the AS3 code that was confounding the SWF load on the example I gave:
    button_1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage);
    function fl_ClickToGoToWebPage(event:MouseEvent):void
        navigateToURL(new URLRequest("http://www.mcintoshlabs.com"), "_blank");
    button_2.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage_2);
    function fl_ClickToGoToWebPage_2(event:MouseEvent):void
        navigateToURL(new URLRequest("http://www.integrahometheater.com/"), "_blank");
    Now these are from the same page, the first of which is online right now here:
    www.electronic-lifestyle.com/AS/Main.html
    This particular code is used on the Electronics page.  When I look at the two side by side it seems there are some syntax differences but I do not know enough about AS3 to tell what the important differences are.
    Thanks for looking,
    Brett

  • Can get my .swf files to load using the place option

    For our website www.divineunity1.com we have several videos we want our customers and patrions to be able to watch once they visit the website. We ultimately had to use the embedd funtionin flash because we can't get the video to show up using the file-> place method  suggested here on Adobe. I contacted live chat and was told that we needed to "make changes to the code which you are using toinsert in muse and use some javascript" but we don't k now how to do this. Can someone guide us through the process or link us to a tutorial of how to do this so that we are able to add flash video players to our site. Thank
    Eliana Hebrew

    Currently, Muse only supports importing SWF files, not FLV. Nor do we support placing MOV, MPEG or other video formats yet. Embedding video in SWF is a possible solution. How is SWF import into Muse not working for you? 
    You can also embed video from streaming services like YouTube and Vimeo. For more information see this thread:
    http://forums.adobe.com/thread/1004462
    As for modifying the raw HTML and JS to attach video players, this is possible if you have web programming skills to bring to bear, but the changes you make to your site will not come back (round-trip) into Muse, so this is not advisable.

  • How can I have a Flash SWF file to load a HTML page?

    I'm looking for a way to have Flash (CS5) to load and display a very simple HTML web page. Basically, the SWF file would be a standalone document sent by e-mail (or people would post on their web pages), and this SWF would display the content of another web page (consisting mostly in a live video on a black background)
    How can I have Flash CS5 to do that??
    Thank you!
    -sv

    Yeah maybe I wasn't clear enough... Here's the big picture.
    I run a live TV station, broadcasting 24/7 on the web via a Flash application (a projector basically). The video feed is streaming on my site, as well as on numerous web sites across the net. A Flash projector is also available as a standalone application, people download and use it to watch the movies without opening a web page.
    I am currently changing the broadcast method, from Flash stream to HTTP stream. But since my TV is already posted and linked in many places, I want to change the Flash object on my server with a new one, that has a HTTP stream instead of the Flash stream. It seems that HTTP stream cannot be embedded in a SWF, but it can be displayed on a HTML web page. The solution I came up with is to have a HTML page to load in the Flash player. All I would need to do is to have that HTML page to display the HTTP stream.
    So from there, most of my audience would not need to change anything to watch my streaming TV, while those who downloaded the old Flash projector would need to download a new one.

  • Flash swf file not loading on webpage

    Hi there,
    I have put an swf onto my web page and everything works fine when i test it in my browser through dreamweaver.
    When i go online to my website:  http://www.organicgrowshop.co.uk/     it doesn't load
    I have uploaded the two script files to my webhost. I have the latest version of flash on my comp. I can get an FLV file to load ok in its place.
    What am i doing wrong??
    Any help is much appreciated!
    Thanks,
    Matt

    Hi there,
    Thanks very much for taking the time to help me!
    Sorry, i have been messing around trying to get different things to work with no luck.
    I did have the script files and the swf uploaded directly to my root folder, this didnt work so i tried making a scripts subfolder in my root folder to put the scripts in. This hasnt worked either.
    The files are definitely in my root folder. Can you take a look again for me?
    I dont understand why i can get it to work with an FLV file but not with the SWF file?
    Thanks again,
    Matt

  • My Flash Swf file dont load

    Ok do i made a Flash Swf, when i view in on adobe flash it works fine, but i need to upload it so i can use it on my site problem is when i do nothing loads, images, text. Its just a black box where the content should be but it just says Loading.

    Was there an answer to this issue ever? I have this problem in Captivate after importing an swf. The swf shows up fine in editing mode on the slide... but when I preview or publish (even locally), it stops playing prematurely and jumps to the next slide.
    No content management system is involved in my case, and this is local, not online.
    Please help!!!

Maybe you are looking for

  • How do I add a venmo button to my website?

    I am trying to add the Venmo button to my wedding site.  I've followed directions from the venmo website, which includes the code.  I've tried to add by adding to metdata in page properties, and by selecting Insert HTML.  Please help!

  • How to set a Swing component as Modal on a SWT Component?

    How to set a Swing component as Modal on a SWT Componen?.I mean, I have a SWt Component window and from that window I am displaying a SWING Component Modal window. The problem is my swing window is not working as Modal always. When I opened the swing

  • Installation failure - destination folder

    I can not install the Acrobat XI Pro download - I am being told that a version of Acrobat already exists in the destination folder.

  • Passing values to servlet

    HI All I am developing a project using html and servlets. from my html page(regis.html) i am trying to pass the values which are entered by the user to the servlet (Admin_Regis.java) which is in the another package called Admin. The way i am doing is

  • Under-powered SpamAssassin, razor misfires?

    My system (with a very high-performing SpamAssassin configuration) bit the dust a couple months back, and when I rebuilt the thing I jumped up a couple revs of SpamAssassin (now I'm running 3.1.1). The thing is, a ton of spam (mostly having to do wit