Remove blank frame in swf file?

Hi. I made a simple swf file in flash lite 1.1 with clock. But when i open it after publishing, it has that ''blank frame'', which is refreshing constantly and flikrers between my image and white background. Does anyone know how to remove it, and/or how to insert my image into the stage without being that blank frame visible? I use macromedia flash 8... In case someone wants to look at it, heres the code i used to create the clock, and my swf:                                                                                                                                                                                                                                                                                                

Ok, i'll try to explain. When you open Macromedia Flash, it automatically creates white stage/document. But i dont need it, so i import my own image to the stage, then i make that clock and publish swf file. Then when i open swf it blinks between white frame and my image. So im pretty sure this white frame is that white stage, created at the beginning. I just dont know how to get rid of that whit stage before i open my image, or maybe i just import my image in the wrong way, i dont know. And, no, it doesnt affect the clock, its working fine, except that it never shows the right font (if i create clock with lets say Verdana, when i open swf its always Arial). About code, i found tutorial by google, that tutorial gives me that code. I have no idea how its made and whats wrong with it, im just a beginner and trying to learn all that stuff. I attached swf in my first post. Thank You.

Similar Messages

  • Remove / unload external swf file(s) from the main flash file and load a new swf file and garbage collection from memory.

    I can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?
    This is the error message(s) I am receiving: "TypeError: Error #2007: Parameter child must be non-null.
    at flash.display::DisplayObjectContainer/removeChild()
    at index_fla::MainTimeline/Down3()"
    import nl.demonsters.debugger.MonsterDebugger;
    var d:MonsterDebugger=new MonsterDebugger(this);
    stage.scaleMode=StageScaleMode.NO_SCALE;
    stage.align=StageAlign.TOP_LEFT;
    stage.addEventListener(Event.RESIZE, resizeHandler);
    // loader is the loader for portfolio page swf
    var loader:Loader;
    var loader2:Loader;
    var loader3:Loader;
    var loader1:Loader;
    //  resize content
    function resizeHandler(event:Event):void {
        // resizes portfolio page to center
    loader.x = (stage.stageWidth - loader.width) * .5;
    loader.y = (stage.stageHeight - loader.height) * .5;
    // resizes about page to center
    loader3.x = (stage.stageWidth - 482) * .5 - 260;
    loader3.y = (stage.stageHeight - 492) * .5 - 140;
    /*loader2.x = (stage.stageWidth - 658.65) * .5;
    loader2.y = (stage.stageHeight - 551.45) * .5;*/
    addEventListener(Event.ENTER_FRAME, onEnterFrame,false, 0, true);
    function onEnterFrame(ev:Event):void {
    var requesterb:URLRequest=new URLRequest("carouselLoader.swf");
    loader = null;
    loader = new Loader();
    loader.name ="carousel1"
    //adds gallery.swf to stage at begining of movie
    loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader.load(requesterb);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader);
    loader.x = (stage.stageWidth - 739) * .5;
    loader.y = (stage.stageHeight - 500) * .5;
    // stop gallery.swf from duplication over and over again on enter frame
    removeEventListener(Event.ENTER_FRAME, onEnterFrame);
    //PORTFOLIO BUTTON
    //adds eventlistner so that gallery.swf can be loaded
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    function Down(event:MouseEvent):void {
    // re adds listener for contact.swf and about.swf
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    //unloads gallery.swf from enter frame if users presses portfolio button in nav
    var requester:URLRequest=new URLRequest("carouselLoader.swf");
        loader = null;
    loader = new Loader();
    loader.name ="carousel"
    loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader);
    loader.x = (stage.stageWidth - 739) * .5;
    loader.y = (stage.stageHeight - 500) * .5;
    removeChild( getChildByName("about") );
    removeChild( getChildByName("carousel1") );
    // remove eventlistner and prevents duplication of gallery.swf
    MovieClip(root).nav.portfolio.removeEventListener(MouseEvent.MOUSE_DOWN, Down);
    //INFORMATION BUTTON
    //adds eventlistner so that info.swf can be loaded
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    function Down1(event:MouseEvent):void {
    //this re-adds the EventListener for portfolio so that end user can view again if they wish.
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    var requester:URLRequest=new URLRequest("contactLoader.swf");
    loader2 = null;
    loader2 = new Loader();
    loader2.name ="contact"
    loader2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader2.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader2);
    loader2.x = (stage.stageWidth - 658.65) * .5;
    loader2.y = (stage.stageHeight - 551.45) * .5;
    // remove eventlistner and prevents duplication of info.swf
    MovieClip(root).nav.info.removeEventListener(MouseEvent.MOUSE_DOWN, Down1);
    //ABOUT BUTTON
    //adds eventlistner so that info.swf can be loaded
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    function Down3(event:MouseEvent):void {
    //this re-adds the EventListener for portfolio so that end user can view again if they wish.
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    var requester:URLRequest=new URLRequest("aboutLoader.swf");
    loader3 = null;
    loader3 = new Loader();
    loader3.name ="about"
    loader3.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader3.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader3);
    loader3.x = (stage.stageWidth - 482) * .5 - 260;
    loader3.y = (stage.stageHeight - 492) * .5 - 140;
    removeChild( getChildByName("carousel") );
    removeChild( getChildByName("carousel1") );
    // remove eventlistner and prevents duplication of info.swf
    MovieClip(root).nav.about.removeEventListener(MouseEvent.MOUSE_DOWN, Down3);
    stop();

    Andrei1,
    Thank you for the helpful advice. I made the changes as you suggested but I am receiving a #1009 error message even though my site is working the way I wan it to work. I would still like to fix the errors so that my site runs and error free. This is the error I am receiving:
    "TypeError: Error #1009: Cannot access a property or method of a null object reference."
    I'm sure this is not the best method to unload loaders and I am guessing this is why I am receiving the following error message.
         loader.unload();
         loader2.unload();
         loader3.unload();
    I also tried creating a function to unload the loader but received the same error message and my portfolio swf was not showing at all.
         function killLoad():void{
         try { loader.close(); loader2.close; loader3.close;} catch (e:*) {}
         loader.unload(); loader2.unload(); loader3.unload();
    I have a question regarding suggestion you made to set Mouse Event to "null". What does this do setting the MouseEvent do exactly?  Also, since I've set the MouseEvent to null do I also have to set the loader to null? e.g.
    ---- Here is my updated code ----
    // variable for external loaders
    var loader:Loader;
    var loader1:Loader;
    var loader2:Loader;
    var loader3:Loader;
    // makes borders resize with browser size
    function resizeHandler(event:Event):void {
    // resizes portfolio page to center
         loader.x = (stage.stageWidth - loader.width) * .5;
         loader.y = (stage.stageHeight - loader.height) * .5;
    // resizes about page to center
         loader3.x = (stage.stageWidth - 482) * .5 - 260;
         loader3.y = (stage.stageHeight - 492) * .5 - 140;
    //adds gallery.swf to stage at begining of moviie
         Down();
    //PORTFOLIO BUTTON
    //adds eventlistner so that gallery.swf can be loaded
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    function Down(event:MouseEvent = null):void {
    // re adds listener for contact.swf and about.swf
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    //unloads gallery.swf from enter frame if users presses portfolio button in nav
         var requester:URLRequest=new URLRequest("carouselLoader.swf");
         loader = new Loader();
         loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader.load(requester);
         } catch (error:SecurityError) {
         trace(error);
         this.addChild(loader);
         loader.x = (stage.stageWidth - 739) * .5;
         loader.y = (stage.stageHeight - 500) * .5;
    // sure this is not the best way to do this - but it is unload external swfs
         loader.unload();
         loader2.unload();
         loader3.unload();
    // remove eventlistner and prevents duplication of gallery.swf
         MovieClip(root).nav.portfolio.removeEventListener(MouseEvent.MOUSE_DOWN, Down);
    //INFORMATION BUTTON
         //adds eventlistner so that info.swf can be loaded
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         function Down1(event:MouseEvent = null):void {
         //this re-adds the EventListener for portfolio so that end user can view again if they wish.
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
         var requester:URLRequest=new URLRequest("contactLoader.swf");
         loader2 = null;
         loader2 = new Loader();
         loader2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);    
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader2.load(requester);
    }      catch (error:SecurityError) {
         trace(error);
         addChild(loader2);
         loader2.x = (stage.stageWidth - 658.65) * .5;
         loader2.y = (stage.stageHeight - 551.45) * .5;
    loader.unload();
    loader2.unload();
    loader3.unload();
         // remove eventlistner and prevents duplication of info.swf
         MovieClip(root).nav.info.removeEventListener(MouseEvent.MOUSE_DOWN, Down1);
    //ABOUT BUTTON
         //adds eventlistner so that info.swf can be loaded
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
         function Down3(event:MouseEvent = null):void {
         //this re-adds the EventListener for portfolio so that end user can view again if they wish.
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         var requester:URLRequest=new URLRequest("aboutLoader.swf");
         loader3 = null;
         loader3 = new Loader();
         loader3.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader3.load(requester);
    }      catch (error:SecurityError) {
         trace(error);
         addChild(loader3);
         loader3.x = (stage.stageWidth - 482) * .5 - 260;
         loader3.y = (stage.stageHeight - 492) * .5 - 140;
         loader.unload();
         loader2.unload();
         loader3.unload();
         // remove eventlistner and prevents duplication of info.swf
         MovieClip(root).nav.about.removeEventListener(MouseEvent.MOUSE_DOWN, Down3);
         stop();

  • Swf file not displayed in Published Presentation

    Hello,
    Could anyone help me please.
    I have a created a swf file (using Captivate v4, published with Actionscript version 2 selected) and have added it into my Powerpoint (v2002) presentation using the Insert Flash option on the Adobe Presenter (v7) menu. At this point all seems to be ok. When I go into Slideshow mode it looks and works fantastically. The problem is after I have published it. I run the presentation and the slide where I inserted the swf file is completely blank. Nothing appears. I noticed on one of the other discussion threads it was mentioned to remove the skin from swf file, which I have tried.
    Can anyone tell me what I may be doing wrong?
    Thanks

    I recently encountered something similar to this. I have an inserted AS2 Flash built animation. Simple stuff. It wouldn't play after publishing. It would play in PowerPoint preview however. Strangely, if I played it in preview the last frame was visible when published.
    I use MS Office 2007. Initially, the original presentation was a .pptx file. When I saved it as a .ppt file and published, the animation played just fine.
    The problem began after Flash Player 10.1 was released. I don't know if that actually had anything to do with the issue.

  • SWF File not working after upload to server, but works on local system

    HELP PLEASE.....I have created a Fla and exported a swf file
    from Flash 8 and Export (Flash 6). I can preview the page in
    Dreamweaver just fine, but when i upload it and the html file, it
    isn't showing up. It leaves a blank spot on the page. It is just a
    simple banner with graphic clips and motion tween text, with image
    bgd. All images are jpg.
    I have tried:
    1. Using a full link to the swf file.
    2. Removed drop-shodows in swf file
    3. convert to Flash mx 2004 file
    4. Exported to higher Flash version to see if the flash
    player was an issue.
    5. Exported with no dashes in name
    6. Added Scr file into Dreamweaver
    7. Made a new test file to see if it was something in the
    current html doc, same result.
    8. Tried viewing on a pc, same result. Created on mac.
    Here is the test page if anyone wants to take a look.
    THANKS FOR ANY ADVISE.
    Test
    Page Link

    The link you provided is to the SWF file, not to an HTML
    file, so no one can test your HTML file.
    Have you checked the code for the embedding of the SWF file
    in your HTML file? I don't use Dreamweaver much, but I do know that
    if you start assembling a Dreamweaver file without first saving the
    HTML, embedded graphics and other items are inserted as direct
    links to the files on your computer, rather than as relative paths.
    There is one other possible issue: I note that your swf is
    called CWABanner.swf. Depending on your FTP settings, it is
    possible that your server is forcing all file names to lower case
    (a common practice). Which means the file on your server will be
    cwabanner.swf. Again, depending on how the web server is set up, if
    it is case sensitive, it will treat CWABanner and cwabanner as
    separate files. So if the HTML calls CWABanner.swf, but the FTP
    upload has forced a rename to lower case to cwabanner.swf, the HTML
    file will not find it. Check this out, or to be absolutely certain,
    rename everything to lower case: the file name itself and the
    reference in the HTML file.

  • Adobe air swf file error in browser

    my fla file setting
    version: adobe air 1.0 actionscript 3.0
    i able to compile without problem and when i load the swf file in browser, if my actionscript included this line "import flash.filesystem.File". My flash just show up "blank" . no error in flashlog. if i removed this line, my swf file able to run. what is wrong?
    p/s: i embeded the air app as swf and open with browser

    You can't load SWFs published for AIR in a browser. The Flash plug-in does not recognize the extra AIR APIs like File.
    AIR SWFs can only be used as part of an AIR application.

  • Can I convert a DVD video to Quicktime, and edit the frames in .jpg files?

    I received a DVD of my wedding. It plays well as a movie on my Windows laptop, running Windows 8.1.
    I would like to remove differents frames, as .jpg files, to send people.
    Can this be done by converting the DVD movie into Quicktime, removing the desired frames, and saving as .jpg files?

    gotalmud wrote:
    Unfortunately, one can not create a screen dump of a frame from a program like Windows' Snipping Tool. Rather, the frame appear blank (black).
    Is there any program that can create an editable image file, like most screen dumps, from a movie frame?
    Yes: iMovie
    You need to convert the VOB files in the TS-Folder of the DVD back to DV which iMovie is designed to handle. For that you need mpegStreamclip:
    http://www.squared5.com/svideo/mpeg-streamclip-mac.html
    which is free, but you must also have the  Apple mpeg2 plugin :
    http://store.apple.com/us/product/D2187Z/A/quicktime-mpeg-2-playback-component-f or-mac-os-x
    (unless you are running Lion in which case see below))
    which is a mere $20.
    Another possibility is to use DVDxDV:
    http://www.dvdxdv.com/NewFolderLookSite/Products/DVDxDV.overview.htm
    which costs $25.
    For the benefit of others who may read this thread:
    Obviously the foregoing only applies to DVDs you have made yourself, or other home-made DVDs that have been given to you. It will NOT work on copy-protected commercial DVDs, which in any case would be illegal.
    And from the TOU of these forums:
    Keep within the Law
    No material may be submitted that is intended to promote or commit an illegal act.
    Do not submit software or descriptions of processes that break or otherwise ‘work around’ digital rights management software or hardware. This includes conversations about ‘ripping’ DVDs or working around FairPlay software used on the iTunes Store.
    If you are running Lion or later:
    From the MPEG Streamclip homepage
    The installer of the MPEG-2 Playback Component may refuse to install the component in Lion. Apple states the component is unnecessary in Lion onwards, however MPEG Streamclip still needs it. See this:
    http://support.apple.com/kb/HT3381
    To install the component in Lion, please download MPEG Streamclip 1.9.3b7 beta above; inside the disk image you will find the Utility MPEG2 Component Lion: use it to install the MPEG-2 Playback Component in Lion. The original installer's disk image (QuickTimeMPEG2.dmg) is required.
    The current versions of MPEG Streamclip cannot take advantage of the built-in MPEG-2 functionality of Lion. For MPEG-2 files you still need to install the QuickTime MPEG-2 Playback Component, which is not preinstalled in Lion. (The same applies to Mountain Lion even though that has it preinstalled.) You don't have to install QuickTime 7.

  • Exporting non-looping (single frame) swf file

    I am using a third-party application to create a "page-flipping" version of a book. For quality reasons, I want to export the pages of the document as swf files. When I import the resulting swf files to the application, they flicker at the default frame rate of 24 fps. When I open the swf file in Flash Player, if I hit the "play" button, it flickers as well. If I use the "next frame" and "previous frame" commands, it's apparent that the file has two frames, one with the page content, the other with a blank (white) appearance.
    Is there a way to export the pages as *SINGLE* frame swf files?
    In desperation I've tried to export the pages as .fla files and generate the swf files from Flash, but the layouts are significantly corrupted when I open the fla files in Flash.
    FYI, I'm using InDesign CS6.

    Amy, you tease...go on, what's planned for the next release then?
    Nah, I know you won't tell.
    Michael/Sebastian,
    There are a number of workarounds that are more or less usable. You can place a print button on the page where the chart is located. A user can print to printer or to pdf if she has that functionality. The only issue there is that the whole dashboard screen prints. Depending how just how much you have on a screen that you don't want printed, you may have to reorganise the charts on to their own tabs, for example, which is what I do. I use the whole tab for the chart itself, probably leave a logo on top and bottom and then the whole page prints with my logos and the chart.
    Less elegant but always good value for money: flash image capture. I don't like that and it requires a utility clients side.
    Hope this helps.
    Chris
    Go on Amy...

  • How to load and unload more than one external swf files in different frames?

    I do not have much experience on Adobe Flash or Action Script 3, but I know the basics.
    I am Arabic language teacher, and I design an application to teach Arabic, I just would like to learn how to load and unload more than one external swf files in different frames.
    Thanks

    Look into using the Loader class to load the swf files.  If you want to have it happen in different frames then you can put the code into the different frames.

  • Remove external swf file

    I have loaded an external swf file which plays a flv file by default as swf is loaded. Now the problem is how do i remove the swf file from memory. my code :
        var myLoader:Loader = new Loader();                    
        var url:URLRequest = new URLRequest("ExternalSWF.swf"); 
        myLoader.load(url);                                    
        detailMovieClip.movieHolder.addChild(myLoader);
    I have tried many combinations of removeChild, unload and unloadAndStop but none works. I figure its all about not referencing correctly.

    Hi Jah,
    i understood your problem,i faced this problem many time but couldn't find correct solution.
    I'm using now Event.REMOVED_FROM_STAGE. this method dispatch to parent swf for when the External swf removed from stage.
    The sample example code below for the way of remove externalswf events:
    parent swf actionscript code:
    import flash.events.MouseEvent;
    var myLoader:Loader = new Loader();                   
    var url:URLRequest = new URLRequest("ExternalSWF.swf");
    myLoader.load(url);                                   
    b_mc.addChild(myLoader);
    a_mc.addEventListener(MouseEvent.CLICK,onClick);
    function onClick(event:MouseEvent):void
        a_mc.removeEventListener(MouseEvent.CLICK,onClick);
        myLoader.unload();
        b_mc.removeChild(myLoader);
        myLoader=null;
    ExternalSWF.swf actionscript code:
    import flash.events.Event;
    var num:Number=0;
    addEventListener(Event.ENTER_FRAME,onRun);
    addEventListener(Event.REMOVED_FROM_STAGE,onRemoveFromParent);
    // remove all local events here//
    function onRemoveFromParent(event:Event):void
        trace("remove");
        removeEventListener(Event.ENTER_FRAME,onRun);
    function onRun(event:Event):void
        num++;
        trace(num);
    Thanks/

  • Using Actionscript 3, how do I code a button in a parent file to load at a specific frame in another swf file?

    Using Actionscript 3, how do I code a button in a parent file to load another swf file at a specific frame?

    You can either place the loading code in the desired frame of the parent file, or continuously monitor the currentFrame proiperty of the parent file and do the loading when the value matches the desired frame number.

  • How to correctly load an external swf file into iosAir app? I'm getting blank screen.

    So this code works flawlesly on Air for Android, it even works fine when I test the movie in Flash, but once I export it, I'm getting a blank screen. I made an swf with a square and withotu any code, and flash still fails to load it. It's weird cause everything works fine when I use the interpreter debugging option, but when I switch to standard debugging the blank screen appears on my ipad. I've read somewhere that it's caused by the way flash saves the link to external files. Thus after the file is compiled Flash fails to find the prefiously added files, which results in a blank screen. There's clearly something wrong with how the process of compiling the application.
    Tried this:
    var Xpos:Number = 0;
    var Ypos:Number = 0;
    var loader:Loader = new Loader();
    var link:URLRequest = new URLRequest("Untitled-1.swf");
    loader.load(link);
    addChild(loader);
    And this:
    var ldr:Loader = new Loader();
    ldr.load(new URLRequest("Untitled-1.swf"));
    ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, loaded, false, 0, true);
    function loaded(event:Event):void {
    addChild(event.target.content);
    But nothing works. I'm still getting a blank screen. Is there any way to add the swf file manually into the descriptor file cause flash most likely messes it up? I don't really want to use through command line.

    Read this article, especially the bit about loadercontext and currentdomain:
    http://blogs.adobe.com/airodynamics/2012/11/09/packaging-and-loading-multiple-swfs-in-air- apps-on-ios/

  • Percent of SWF file played based on frames

    I have a Flash file created with 585 frames. I'd like to show
    the percentage played of the SWF file as it's playing based on
    frames and not based on bytes loaded. I don't really need it to
    play a preloader, I simply want to give the viewer an idea of how
    far along they are as the SWF file is played.
    Thanks for helping.

    You just need to put a textfield on the Stage with the text
    tool, and select 'dynamic' in the properties panel and give the
    field an 'instance name' (I used percent_txt in the code below for
    the instance name). select a font and size, etc. then embed the
    font by selecting the 'embed' button and select 'numbers' and
    'puncuation' (unless you wantto use other characters in the field).
    that sets up a dynamic field, which is a field that you can 'put'
    text into using script and change it when you want by assigning new
    text to it.
    and for the code, let's see ... use something like:

  • White blank before SWF file loads on website

    Hello, I am now able to embed SWF files created in Keynote '08 for use as banner or header images on various client websites. I found the perfect code from : http://www.iwebunlimited.com . Now my issue is I am redoing some existing websites that currently have a flash/SWF banner that needs to be reworked as well. On their old website they have a swf banner that loads immediately when landing on the site, where as when i redo the site using iWeb and the new reworked swf banner from Keynote '08 I get a blank white box where the flash file is loading. Is there another part of the code I might be missing that will load the file immediately or am I going to be stuck with a white space in the middle of my custom colour backgrounds?
    Here is the current code that I am using in a practice page:
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0, 0" width="500" height="400" align="middle"> <param name="movie" value="http://www.fullcirclemedia.ca/SWF/Localswfer.swf"> <param name="allowScriptAccess" value="always"> <embed type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" width="500" height="400" align="middle"
    src="http://www.fullcirclemedia.ca/SWF/Localswfer.swf" allowScriptAccess="always"></embed>
    </object>
    You can view its placement at: http://www.fullcirclemedia.ca/LocalsTest/Blank.html

    That makes sense. The older version is only 1.4 and loops. I wonder why the swf files created in Keynote are larger files than the same dimension swf created in another program. I can't see how I can cut down on the file size of this in Keynote. I have another movie on another site that I have had for years but it was made on a PC with Coffeecup software. I will have to dig and find another Macable program that gives me the same kind of result in a much smaller file or just use my old PC and its Coffeecup I am familiar with to create these.
    See the older flash movie at: www.alberniproject.org which is conciderably longer than the one I am asking about in this post. Thanks Toad.

  • How to remove swf file after some time?

    Hi all,
    I am working in flex 3.5 . i have loaded one swf file in mxml, i want to make invisible after some sec's. for that what i have to do. pleae anyone help me.....

    SetTimeout?

  • Swf files appearing in preview (D8) but not n browser after uploading - frustrated!

    Hello,
    I have worked with Flash and Dreamweaver on the side for a
    number of years. We all know that after the recent changes, the way
    it handles object and embed tags has changed to favor Java
    actionscripts instead.
    This code I am about to paste was created using Dreamweaver
    8.02, with transitional (x) html. Now mind you, this is not the
    prettiest piece of code you've ever seen. I now am learning to use
    CSS layouts instead of layers/tables, with php and flash
    integrated. This one example is not the only time I have had this
    problem however.
    I made a silly flash banner (its actually a placeholder for a
    better one I have to develop) for testing purposes and sizing. It
    appears fine in Firefox, and IE6 in the preview mode via
    Dreamweaver. When I upload it all to the site, the flash banner
    does not appear.
    I have tried copying the FLA and SWF files to the root folder
    (the fla, swf, and html files generated are all present), and tried
    a number of variations in the code and parameters to no avail. The
    darn thing just won't appear now. Similarly older pages I have
    created that Dreamweaver now prompts you to "fix the object tag
    that may not work in IE7...etc" have the same issue. If I select
    "go ahead and fix them for me", they are visible in production, but
    gone after uploading.
    Now to remove the possibility that this was a layering or
    parent tag issue of visibility, I created a blank HTML page and
    "insert/media/flash" and stuck the banner in there, then uploaded
    it to my server. It doesn't appear.
    I need help. I have been scouring the web for a few days now
    to no avail and have become quite frustrated with what used to be a
    really easy integration of Flash and html.
    Here is the top chunk of code from the page in question: (the
    page is live with the missing banner here:
    http://www.aeonsolutions.net/shirtworks/Shrtwrks_Homepage.html)
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Shirtworks custom T shirts, silk screening,
    inkjet printing, embroidery, event, club, sport, organization,
    holiday, humor, clothing</title>
    <script src="Scripts/AC_RunActiveContent.js"
    type="text/javascript"></script>
    <style type="text/css">
    <!--
    #Layer1 {
    position:absolute;
    width:999px;
    height:690px;
    z-index:1;
    left: 4px;
    top: 3px;
    margin: 0 auto;
    overflow: hidden;
    background-image: url(Shrtwrks_bkgrnd5.jpg);
    visibility: visible;
    -->
    </style>
    <script type="text/javascript">
    <!--
    function MM_reloadPage(init) { //reloads the window if Nav4
    resized
    if (init==true) with (navigator) {if
    ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
    onresize=MM_reloadPage; }}
    else if (innerWidth!=document.MM_pgW ||
    innerHeight!=document.MM_pgH) location.reload();
    MM_reloadPage(true);
    function MM_swapImgRestore() { //v3.0
    var i,x,a=document.MM_sr;
    for(i=0;a&&i<a.length&&(x=a
    )&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
    Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
    i<a.length; i++)
    if (a.indexOf("#")!=0){ d.MM_p[j]=new Image;
    d.MM_p[j++].src=a
    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document;
    if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document;
    n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for
    (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++)
    x=MM_findObj(n,d.layers
    .document);
    if(!x && d.getElementById) x=d.getElementById(n);
    return x;
    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new
    Array; for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x;
    if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    <link href="CSS/shirtworks.css" rel="stylesheet"
    type="text/css" media="all" />
    <style type="text/css">
    <!--
    #Layer2 {
    position:absolute;
    width:128px;
    height:309px;
    z-index:2;
    left: 8px;
    top: 197px;
    visibility: visible;
    #Layer3 {
    position:absolute;
    width:804px;
    height:457px;
    z-index:3;
    left: 179px;
    top: 215px;
    visibility: visible;
    #Layer4 {
    position:absolute;
    width:1000px;
    height:27px;
    z-index:4;
    left: 4px;
    top: 697px;
    visibility: visible;
    #Layer5 {
    position:absolute;
    width:528px;
    height:150px;
    z-index:5;
    left: 214px;
    top: 11px;
    visibility: visible;
    -->
    </style>
    </head>
    <body
    onload="MM_preloadImages('MenuText/HomePage_over.jpg','MenuText/Artwork_over.jpg','MenuTe xt/Apparel_over.jpg','MenuText/Embroidery_over.jpg','MenuText/Custom_over.jpg','MenuText/D irections_over.jpg','MenuText/AboutUs_over.jpg','MenuText/Contact_over.jpg')">
    <div id="Layer5">
    <table width="533" height="141" border="0">
    <tr>
    <td><script type="text/javascript">
    AC_FL_RunContent( 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','dat a','Banner1.html','width','525','height','143','hspace','0','vspace','0','align','middle', 'border','0','title','Banner1','src','Banner1','pluginspage','http://www.macromedia.com/go /getflashplayer','scale','noborder','movie','Banner1'
    ); //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=7,0,19,0"
    data="Banner1.html" width="525" height="143" hspace="0" vspace="0"
    align="middle" border="0" title="Banner1">
    <param name="movie" value="Banner1.swf" />
    <param name="SCALE" value="noborder" />
    <embed src="Banner1.swf" width="525" height="143"
    hspace="0" vspace="0" align="middle" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash"
    scale="noborder"></embed>
    </object></noscript></td>
    </tr>
    </table>
    Understanding this change is fundamental in my developing
    process as a designer, and will save my sanity. I appreciate any
    help.
    Mike

    Did you upload this folder?
    <script src="Scripts/AC_RunActiveContent.js"
    type="text/javascript"></script>
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "MalikyeMoon" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hello,
    >
    > I have worked with Flash and Dreamweaver on the side for
    a number of
    > years.
    > We all know that after the recent changes, the way it
    handles object and
    > embed
    > tags has changed to favor Java actionscripts instead.
    >
    > This code I am about to paste was created using
    Dreamweaver 8.02, with
    > transitional (x) html. Now mind you, this is not the
    prettiest piece of
    > code
    > you've ever seen. I now am learning to use CSS layouts
    instead of
    > layers/tables, with php and flash integrated. This one
    example is not the
    > only
    > time I have had this problem however.
    >
    > I made a silly flash banner (its actually a placeholder
    for a better one I
    > have to develop) for testing purposes and sizing. It
    appears fine in
    > Firefox,
    > and IE6 in the preview mode via Dreamweaver. When I
    upload it all to the
    > site,
    > the flash banner does not appear.
    >
    > I have tried copying the FLA and SWF files to the root
    folder (the fla,
    > swf,
    > and html files generated are all present), and tried a
    number of
    > variations in
    > the code and parameters to no avail. The darn thing just
    won't appear
    > now.
    > Similarly older pages I have created that Dreamweaver
    now prompts you to
    > "fix
    > the object tag that may not work in IE7...etc" have the
    same issue. If I
    > select "go ahead and fix them for me", they are visible
    in production, but
    > gone
    > after uploading.
    >
    > Now to remove the possibility that this was a layering
    or parent tag issue
    > of
    > visibility, I created a blank HTML page and
    "insert/media/flash" and stuck
    > the
    > banner in there, then uploaded it to my server. It
    doesn't appear.
    >
    > I need help. I have been scouring the web for a few days
    now to no avail
    > and
    > have become quite frustrated with what used to be a
    really easy
    > integration of
    > Flash and html.
    >
    > Here is the top chunk of code from the page in question:
    (the page is
    > live
    > with the missing banner here:
    >
    http://www.aeonsolutions.net/shirtworks/Shrtwrks_Homepage.html)
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    > <title>Shirtworks custom T shirts, silk screening,
    inkjet printing,
    > embroidery, event, club, sport, organization, holiday,
    humor,
    > clothing</title>
    > <script src="Scripts/AC_RunActiveContent.js"
    > type="text/javascript"></script>
    > <style type="text/css">
    > <!--
    > #Layer1 {
    > position:absolute;
    > width:999px;
    > height:690px;
    > z-index:1;
    > left: 4px;
    > top: 3px;
    > margin: 0 auto;
    > overflow: hidden;
    > background-image: url(Shrtwrks_bkgrnd5.jpg);
    > visibility: visible;
    > }
    > -->
    > </style>
    > <script type="text/javascript">
    > <!--
    > function MM_reloadPage(init) { //reloads the window if
    Nav4 resized
    > if (init==true) with (navigator) {if
    >
    ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    > document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
    > onresize=MM_reloadPage; }}
    > else if (innerWidth!=document.MM_pgW ||
    innerHeight!=document.MM_pgH)
    > location.reload();
    > }
    > MM_reloadPage(true);
    >
    > function MM_swapImgRestore() { //v3.0
    > var i,x,a=document.MM_sr;
    for(i=0;a&&i<a.length&&(x=a
    )&&x.oSrc;i++)
    > x.src=x.oSrc;
    > }
    >
    > function MM_preloadImages() { //v3.0
    > var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
    Array();
    > var i,j=d.MM_p.length,a=MM_preloadImages.arguments;
    for(i=0;
    > i<a.length;
    > i++)
    > if (a.indexOf("#")!=0){ d.MM_p[j]=new Image;
    > d.MM_p[j++].src=a
    > }
    >
    > function MM_findObj(n, d) { //v4.01
    > var p,i,x; if(!d) d=document;
    >
    if((p=n.indexOf("?"))>0&&parent.frames.length) {
    > d=parent.frames[n.substring(p+1)].document;
    n=n.substring(0,p);}
    > if(!(x=d[n])&&d.all) x=d.all[n]; for
    (i=0;!x&&i<d.forms.length;i++)
    > x=d.forms[n];
    >
    for(i=0;!x&&d.layers&&i<d.layers.length;i++)
    > x=MM_findObj(n,d.layers
    .document);
    > if(!x && d.getElementById)
    x=d.getElementById(n); return x;
    > }
    >
    > function MM_swapImage() { //v3.0
    > var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new
    Array;
    > for(i=0;i<(a.length-2);i+=3)
    > if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x;
    if(!x.oSrc)
    > x.oSrc=x.src; x.src=a[i+2];}
    > }
    > //-->
    > </script>
    > <link href="CSS/shirtworks.css" rel="stylesheet"
    type="text/css"
    > media="all" />
    > <style type="text/css">
    > <!--
    > #Layer2 {
    > position:absolute;
    > width:128px;
    > height:309px;
    > z-index:2;
    > left: 8px;
    > top: 197px;
    > visibility: visible;
    > }
    > #Layer3 {
    > position:absolute;
    > width:804px;
    > height:457px;
    > z-index:3;
    > left: 179px;
    > top: 215px;
    > visibility: visible;
    > }
    > #Layer4 {
    > position:absolute;
    > width:1000px;
    > height:27px;
    > z-index:4;
    > left: 4px;
    > top: 697px;
    > visibility: visible;
    > }
    > #Layer5 {
    > position:absolute;
    > width:528px;
    > height:150px;
    > z-index:5;
    > left: 214px;
    > top: 11px;
    > visibility: visible;
    > }
    > -->
    > </style>
    >
    > </head>
    >
    > <body
    >
    onload="MM_preloadImages('MenuText/HomePage_over.jpg','MenuText/Artwork_over.jpg
    >
    ','MenuText/Apparel_over.jpg','MenuText/Embroidery_over.jpg','MenuText/Custom_ov
    >
    er.jpg','MenuText/Directions_over.jpg','MenuText/AboutUs_over.jpg','MenuText/Con
    > tact_over.jpg')">
    > <div id="Layer5">
    > <table width="533" height="141" border="0">
    > <tr>
    > <td><script type="text/javascript">
    > AC_FL_RunContent(
    > 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
    >
    version=7,0,19,0','data','Banner1.html','width','525','height','143','hspace','0
    >
    ','vspace','0','align','middle','border','0','title','Banner1','src','Banner1','
    > pluginspage','
    http://www.macromedia.com/go/getflashplayer','scale','noborder','m
    > ovie','Banner1' ); //end AC code
    > </script><noscript><object
    > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=7,0,19,0" data="Banner1.html" width="525"
    height="143" hspace="0"
    > vspace="0" align="middle" border="0" title="Banner1">
    > <param name="movie" value="Banner1.swf" />
    > <param name="SCALE" value="noborder" />
    > <embed src="Banner1.swf" width="525" height="143"
    hspace="0"
    > vspace="0" align="middle"
    > pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    > type="application/x-shockwave-flash"
    scale="noborder"></embed>
    > </object></noscript></td>
    > </tr>
    > </table>
    >
    > Understanding this change is fundamental in my
    developing process as a
    > designer, and will save my sanity. I appreciate any
    help.
    >
    > Mike
    >

Maybe you are looking for