Flash CS4 loader class content not displaying in browser

Hello,
I'm very new at Dreamweaver and actionscript so any help would be greatly appreciated!
I'm on a PC and created a simple gallery in flash cs4 to load images on a button click.  The images are being loaded with a loader class.  When I test the gallery in flash the images load correctly.  However, I inserted the .swf into Dreamweaver and when I uploaded the page onto the server, the buttons and the animation worked correctly, but none of the images were being displayed.  I tested it in both Firefox and IE and it did not work in either browser.
I thought maybe the files were in the incorrect location, but everything is in the same file, including the .swf and the images.  I'm also using TweenMax and all those files are also together with the .swf.
I also ensured that I had the latest version of the Flash player, but it still is not working.
Thank you!

Thank you for the quick response!  I am not actually using XML - I am loading the images from a folder.  Here is my code:
function clicker(e:MouseEvent):void
var myMC:MovieClip = e.currentTarget as MovieClip;
switch(myMC.name){
  case"_button1":
   loader.load(new URLRequest("imgs/image01.jpg"));
   break;
  case"_button2":
   loader.load(new URLRequest("imgs/image02.jpg"));
   break;
//loader class
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE,placeimage,false,0,true);
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,errorhandler,false,0,true) ;
loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,preload,false,0,true);
this.addChild(loader);
//handler for the loader
function errorhandler(e:IOErrorEvent):void
trace(e);
function preload(e:ProgressEvent):void
trace(e.bytesLoaded);
The imgs folder is in the same folder as my .swf and has been uploaded.  Could there be something wrong with the links?

Similar Messages

  • TOC Topic content not displayed in WYSIWYG Editor

    I use RoboHelp X5. When I click a topic in the TOC pane I
    expect to see its contents displayed in the WYSIWYG Editor. Instead
    the WYSIWYG pane is grey and the TrueCode pane is blank with a
    cursor flashing on the upper left corner!
    I searched for some similar issue on this forum and could not
    find it. However, I did gather that I could use another editor by
    right clicking a topic when in the Project tab and selecting one of
    5-6 editors. I tried RoboHelp TrueCode and was amazed and relieved
    to see the code and content for the topic displayed in the TrueCode
    pane...so I went a step further and tried the WYSIWYG editor and
    wonder of wonders, the topic content was displayed.
    Can someone please tell me what is going on? Should I
    reinstall RoboHelp X5? Why does the topic content not display when
    I click the topic from the TOC tab?

    Welcome to the forum.
    There have been posts about this but maybe your forum search
    history is not set to go back far enough.
    Rather than right click and selecting RH True Code, at the
    bottom of the editing pane there is a true code tab which will
    quickly enable you to see your code is still safe. That said, if
    you then click WYSIWYG, you don't get the view restored, usually.
    Maybe your way has an advantage.
    It's one of those things that happens now and again. I don't
    think reinstalling will help. I have had it happen several times in
    a day and then you go months with it working just fine.
    I don't believe anyone has ever lost any data. At worst you
    just have to close RH and reopen it.
    For what it is worth, I haven't seen this happen in RH7.

  • ImageIcon loaded to JTable not displaying

    Hi!
    I have a JTable with my own table model based on a Vector of "MyRowType" class, wich has three components:
    String name;
    ImageIcon image;
    String comment;
    I fill the table with all that components and then i save the vector who is holding the information. What happens, is that when I load the vector I've saved, everything is displayed, in the table, the right way, but not the imageIcon.
    I know the saving and the loading of the file is correct, and I know the image is in the vector. All the needed classes implement Serializable.
    Can anyone tell me what do I have to do to make the image display?

    Hi!
    The problem is solved! Didn't use any of the suggestions.
    Because:
    -JTable has a default renderer for image Icons;
    -The images were displaying in the table correctly when I inserted the rows;
    -The problem was when I saved the vector and then loaded it from a file;
    -Images were loading correctly but not displaying;
    What I did was:
    for (int i = 0; i<myVector.size(); i++) {
    MyRowType row = (MyRowType)(myVector.elementAt(i));
    myRowType.setImage(new ImageIcon(etapa.getImage().getImage()));
    Witch means:
    -After I load the vector from file;
    -I recreate all the imageIcons in each row of the vector.
    This way it works!
    If there is a better way of doing this, please let me know, else if i've got no other answer in the next five days, I'm going to give the Dukes to gregory.smith that I think, it gave the best answer, although I didn't use it.

  • Load:Class filename not found portal

    In the webgui /portal a link is provided.
    when you click the link , which is mapped with the transaction
    code of the ABAP program. gets displayed.
    THis program is used to download PO into the File
    server.
    so File output path is given.
    The user uses F4 help to select the directory / filename as well
    In the bottom we are getting a messge
    load: class FileName not found
    and load: class Directory Select not found
    I use cl_gui_frontend_services=> directory_browse
    and kd_get_filename_on_f4.
    wat might be the problem for this?
    Give me your valuable suggestions
    This is urgent.

    Hello,
    Can you tell us if you resolve your issue and how?
    Thanks

  • Page loads but will not display

    I have an IP address that allows me to view my cctv cameras.It works fine with Internet Explorer,but when i enter the same address in to my safari browser the page seems to load but will not display anything.
    I assume its some thing do with my internet security settings but do not now where to find them to allow this site. Can any one help please.
    Thanks

    Try temporarily turning off your firewall via SystemPreferences>Security>Firewall. If the site then works you can turn the firewall back on and specifically allow Safari.

  • MSS Report Export to excel - ERROR - load: class query not found

    Hi All,
    I am navigating and getting error as follows:
    Manger Services ->My reports -> Report Selection -> HIS Reports -> General -> Employee Details -> add some people and click start report -> report shows -> click local file -> save as spreadsheet get ERROR - load: class query not found in the status bar or IE and IE then locks up
    Please reply if any one has some clue.
    Thanks & Regards,
    Vishal

    Hey Vishal,
    This issue gave us a  very hard time. The query was HRIS manager. when you add some attributes to be exported to excel and then select export. It hangs there. or hangs at the step where you select save as spreadsheet, OR after it where it runs a query to export.
    I came to know that Java JRE is used in the last step. So for solving this issue, go to java.com, on the first screen there will be big link to install java(i guess JRE). install it and then try exporting your query. I am sure it will work.
    Just notice that after doing installation of Java you will get coffee cup in you system tray.
    Thanks.
    Ankur.
    P.S. Points if works.

  • Adobe Reader X 10.1.1: PDF does not display in browser

    Hello,
    If I click on a link to a PDF-file, this PDF-file does not display in browser eventhough I have checked "Display PDF in browser" (Preferences ==> Internet ==> Web Browser Options) but instead Adobe Reader X opens the PDF-file outside browser. What is wrong?
    Thank you for your help.

    I solved the problem. I used Internet Explorer, 64-bit. If I use Internet Explorer 32-bit the PDF-file displays in browser. If I use Internet Explorer 64-bit Adobe Reader X opens the PDF-file outside browser.

  • Flash work in preview but not in the browser!?

    Hi there:)
    I have a .swf file in a table in Dreamweaver. When I preview it in place and in Safari, it plays. When I upload eveything, it is not in any browser on the server.. any ideas?
    Thanks!
    V

    Hi John!
    Yes, sorry about that.. here it is.
    http://farmingtonfarm.com/appraisal.html
    Thanks for your help!!
    v
    Date: Thu, 8 Apr 2010 18:52:05 -0600
    From: [email protected]
    To: [email protected]
    Subject: flash work in preview but not in the browser!?
    Can't really help without a link to the site. Can you provide one?
    >

  • Does using the Embed in Flash CS4 load all Embed content first?

    I'm using the Embed in a Flash CS4 AS3 game.  the code looks like this:
    [Embed(source="stuff.swf", symbol="a_mc")]
    This is great, cause I can load large sounds and swf files at runtime and not have to sit there and wait for the swf to compile while developing and testing.  But I've noticed that my swf loads all these embed files on the first frame, and loads them first so the user doesn't see my preloader until almost everything is loaded. 
    I have to have all my assets, including the preloader, in one swf.  Most game sites want everything in one swf. 
    Is there a way to force the embedded content to load in a later frame?
    Thanks!

    PS
    It doesn't even load the stage color, the swf sit there all white until all the embedded content is loaded, then it shows the stage color.  This is not desirable behavior.

  • Chromium flash content not displaying

    I recently noticed that flash content does not seem to be loading on chromium. I have pepper installed. Youtube videos seem to be loading fine(could be html5 I guess).But flash content on other sites is not loading. It just shows a blank white area(like this : http://string-db.org/newstring_cgi/show … ection.pl). Usually, a network graph should load. When I right click on the blank area, a drop-down menu for flash appears that says 'movie not loaded'. I have enabled flash player in about:plugins. Any suggesstions?

    I understood that it is installed from your previous messages, but if you type 'chrome://flash' in address bar, do you see something like
    Flash plugin 13.0.0.214 /usr/lib/PepperFlash/libpepflashplayer.so
    there?
    If so, chromium should know that pepper flash is installed and use it for swf content, but it doesn't work for some other reason.
    edit. I also noticed from your /etc/chromium/default that you're not usin the latest version of chromium-pepper-flash so upgrading it could help.
    Last edited by ooo (2014-05-30 17:17:06)

  • Iframe contents not displaying in FF Windows 7 or Mac

    I've read almost all posts about frames not displaying in FF, however, I have an odd issue. While I am able to get the iframe to display, NOT ALL of its contents is displaying. It's odd. A sample page is below, click on the virtual tour tab and you will see what I mean. All the code does show up. This also happens for another page with similar type of code. This works fine in Chrome/IE both PC and Mac. Any help would be appreciated.
    Thanks
    http://www.kdnovelties.com/educational/terrance-the-giraffe/personalized_293.html

    The content is there, but is hidden with display:none style rule, so it looks that if there is script running to show this content then it doesn't finish properly.
    <pre><nowiki><div id="virtualbook" class="kdnbook" style="height: 465px; width: 680px; display: none; margin: auto;"></div></nowiki></pre>
    Removing the display:none makes the book appear for me.
    The Web Console also shows an error with the MP3 file:
    <pre><nowiki>HTTP "Content-Type" of "audio/mpeg" is not supported. Load of media resource http://26ebe445280acec2e3b0-023df79dc48add581f4e26895345aac6.r54.cf1.rackcdn.com/page-flip.mp3 failed.</nowiki></pre>

  • Jpeg image loaded with Loader- loadBytes() does not display when app is deployed on remote server

    I am loading a JPEG  image from the server, using the Loader->loadBytes() and that works when the app is deployed under my local Tomcat server.  When I deploy it on other servers the image is not displayed,  instead of the image I see II*
    On the server side I have java, Spring, BlazeDs and I use RemoteObject on the client.
    The code that loads the image looks like below:
    private function imageLoadResultHandler(event:ResultEvent):void {
        var result:ArrayCollection = event.result as ArrayCollection
        var bytes : ByteArray = result.getItemAt(0) as ByteArray;
        _loader = new Loader();
        _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderCompleteHandler);
        _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loaderFaultHandler);
        _loader.loadBytes(bytes);
    private function loaderCompleteHandler(event:Event):void {
        var loaderInfo:LoaderInfo = event.currentTarget as LoaderInfo;
        var img:Image = new Image();
        img.source = loaderInfo.content;
        myPanel.addChild(img);
    <mx:RemoteObject id="ro" destination="imageLoadService">
         <mx:method name="loadImage" result="imageLoadResultHandler(event)" fault="faultHandler(event)" />
    </mx:RemoteObject>
    Any help with this problem is much appreciated.
    Thank you,
    Lumi Velicanu

    Hi Dmitri,
    Thank you for the prompt reply, your question about the jpeg content was a helpful pointer.
    I solved the problem, it had nothing to do with flex, it was all on the java side. The image was obtained from converting a TIFF to a JPEG, the conversion was failing and the flex loader was receiveing a tiff and it did not know how to display it.
    The java problem was kind of interesting, I'll post it here as an FYI in case anybody cares :
    On my server the first writer returned by ImageIO was an instance of JPEGImageWriter and on the other servers was CLibJPEGImageWriter. And it happens that  only JPEGImageWrite can write the type of TIFF that we are having.
    The fix was to iterate through all the writers and pick the instace of JPEGImageWrite, instead of the first one found.
    Lumi

  • Content not displayed on webcenter spaces page tiIl I login to UCM server.

    Hi Yannick,
    I have created an html file which loads the flash file and checked in to the UCM server. I have added a content presenter on the page runtime and selected the html file as the content.
    Now when I load the page, I couldnot see the content. The content gets displayed on the page once I login to the UCM server and refresh the webcenter page.
    Please suggest the solution. I am working with Avitek Demo VM. I have stored the file in the public_images folder.
    Thanks,
    SK

    You need to assign application (spaces) role "Administrator" to your user for Admin link to see (by default weblogic user is assigned to this role)
    To add it
    Login to Fusion Middleware Control -> WebCenter -> WebCenter Spaces -> Right Click on WebCenter -> Security -> Application Role
    Add your user to role “Administrator”
    Atul Kumar
    http://onlineAppsDBA.com

  • Problem with Loader Components, can not display my forms properly

    Here is the problem (my God, my customer waiting for his web
    site:( ... ) I have a form made in CoffeeCup Flash Form Builder
    (Nice one...).Now this form with fields like name, sec name age,
    etc I want it to apear into my main screen when I press the button
    "Reservation" and then the customer could fill the fields and sent
    it to my mail. I tryed with the Loader Component, I mean when I
    press the button then starts "playing" the form.swf. BUT the Loader
    can not display the form properly specialy thinks like drop down
    menus in the form, or check boxes....It just show me the
    form....The Flash Form Builder gives me 4 files like: form.swf,
    form.html, form.php and form.xml. Any solution on how my customers
    complete this form with no problems?
    THANK YOU A LOT!

    Dear,
    You have to following these step to run form on firefox,
    Run the following file,
    1) C:\DevSuiteHome_1\jinit\jinit.exe
    2) jvm.dll copy this file to the following path,
    C:\Program Files\Oracle\JInitiator 1.3.1.22\bin\hotspot
    3) And firefox connection settiong with 'No-Proxy'
    The above setting it will help full you to run your form on firefox.
    Thank you,

  • Business Workplace Inbox : Mail Content Not Displayed

    Friends,
    We have a problem in displaying contents of the mail(SAP Inbox) in one of the PC's. When we reply w/refernce to that message the content is displayed properly. And also the same mail content is displayed properly in another PC's for the same user.
    We thought this is a GUI problem and re-installed SAP GUI(all components) but still the issue exists.
    Any other settings are required to be done to solve this problem? Can anyone please help us solving the issue?
    Note: we are using SO_DOCUMENT_SEND_API1 for creating the mail notification and the content is passed as 'RAW'.
    Thank you very much for your help and suggestions.
    Cheers,
    MS
    Message was edited by: Srinivasa Maram

    Srinivas,
    1) Is the problem only with the message being sent through custom code using SO_DOCUMENT_SEND_API1? What happens if you send a message using SAPOffice?
    2) Are the patch levels of the GUI same on both machines? Are you sure both PCs are configured exactly the same? Especially wrt to Windows & IE patches. I vaguely remember there were some issues a while ago with some IE patches. Normally in most client environments the desktops upgrades are controlled centrally and users do not have admin rights. Make sure the user has not done upgrades/installs on the PC in question. If that were the case the PC may needs to be reimaged.
    BTW - What version  are you on R/3 and SAPGUI?
    Regards,
    Ramki Maley

Maybe you are looking for