Flash CS5 preloading before frame 1

Hi all
Im having a nightmare with a preloader in as3 and cs5. No matter what happens, flash displays its own preloader (ie 5 little circles at centre stage) and loads the whole flash file before it gets to frame 1. does anyone know how to stop flash doing this so i can use my own preloader. Im hoping that its an easy fix
Kind Regards Dave

Thanks for the quick response, one thing I dont understand though, if I remove all functions with duplicate names, what do I replace them with? or what do I do to get the same results? All I want to do is get 3 contact forms up and running, what other function names could be used? Please help, thanks...

Similar Messages

  • Adobe Flash CS5 Preloader Taking Too Long

    Using Adobe Flash CS5.
    Created a 1mb (.swf) presentation (images, transitions, voice-over, etc).
    Used the Preloader for SWF template from Flash CS5 library.
    Copied the code into its own layer called "AS3" into frame 1.
    Copied the little text box with instance name percent_txt into frame 1.
    Everything else starts in frame 2.
    The profiler still reads about 300kb in the first frame and it takes until about 50% (about 20 seconds at 56kb dl) until the simple image I put on frame 1 appears.
    I read on this forum something about "exporting about 1mb of assets in your first frame", but I don't understand what that means...

    Ok, I found the Flash Settings...
    In Publish Settings, Flash Tab... next to the Script: ActionScript 3.0, I clicked the "settings" button and changed the "Export classes in frame:" option to "2"
    What I still don't understand is why the preloader doesn't show until about 450kb of my 900kb file is downloaded!
    I don't have anything else in frame 1, yet it's still got that spike at about 500kb. How do I get rid of that so my preloader starts showing almost immediately?

  • Flash CS5 movie with 2167 frames doesn't render properly when published

    I have a flash animation (.fla) that I am creating in flash professional CS5.
    I have not finished development but have hit a snag with completing it, because when the movie has 2166 frames or less, it publishes to swf correctly, but when I add additional frames (2167 or more), upon publishing to swf my 3D animations and text do not display in the published swf file.
    I know in the older versions of flash there is a frame limit of 16000 frames, but is there an even smaller frame limit in flash CS5 of 2166 frames or less? Perhaps this limitation is only apparent when using the new features like 3D animation?
    Adobe, is there a bug fix for this? Any suggestions?
    Thanks

    Here's the workaround I used to fix this if anyone experiences a similar problem:
    Problem:
    When publishing from flash CS5 with actionscript 3.0 to swf, publishing takes a long time and 3D tweens and text do not display in the published movie.
    Workaround:
    File > Publish Settings
    Select the Flash tab
    In the script dropdown, change the option from Actionscript 3.0 to Actionscript 2.0
    If you have any 3D tweens, a warning will appear - "3D tweens can only be supported in ActionScript 3.0 or higher. 3D properties will be permanently removed from all tweened objects if the current publish settings are changed. There is no undo for this operation."
    Click Ok
    If you have any TLF text, another warning will appear "TLF text can only be supported in ActionScript 3.0 or higher. TLF text will be permanently converted to classic text if the current publish settings are changed. There is no undo for this operation. Undo history will be cleared."
    Click Ok
    Any text that was converted to Classic text may have changed in layout & position
    review and fix all your text
    Save the file.
    Publish to swf and test
    File > Publish Settings
    Select the Flash tab
    In the script dropdown, change the option from Actionscript 2.0 back to Actionscript 3.0
    Add your 3D tweens back in
    Publish to swf and test
    If anyone has a better solution I'm still interested to hear it, as my workaround doesn't allow you to use TLF text.

  • New to Flash CS5. Need some assistance.

    Hey,
    I want to learn flash cs5 and before that I had some queries:
    Some of my friends who are java programmers told me I need to know programming in order to learn flash. (Action scripting) I honestly don`t know any programming, so is it possible for me to learn flash? I will be using flash to make simple animation, like moving a car, smoke, clouds etc.
    So I am good with photoshop/after effects and have a good design skills.
    Any assistance would be appreciated.

    Thanks for the reply.
    So as I told I have zero knowledge of programming, still I will be able to do animations in flash? Also as I told I am good with maya/photoshop/after effects.
    So if programming is not needed to learn flash, what are the advantages of using flash if we already know actionscript?

  • Question about flash CS5 working with TLF TextField & self document preloader

    Hello everybod,
    I am working on a project that document type of it is Flash CS5. I have an Document class that attached to my fla file.
    in it i create a self document preloader like this :
    Class Document :
    package Codes
         import flash.display.Sprite;
         import flash.display.StageAlign;
         import flash.display.StageScaleMode;
         import flash.events.ProgressEvent;
         import flash.events.Event;
         public class MainDoc extends Sprite
              public function MainDoc ()
                   // stage setting
                   stage.showDefaultContextMenu = false;
                   stage.align = StageAlign.TOP_LEFT;
                   stage.scaleMode = StageScaleMode.NO_SCALE;
                   // stage methods
                   this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler);
                   this.loaderInfo.addEventListener(Event.COMPLETE, completeHandler);
              private function progressHandler (e:ProgressEvent):void
              private function completeHandler (e:Event):void
    it works true. but when i insert a TLF TextField, i get an error like this
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
         at Codes::MainDoc()
    Please help me. i dont know what should i do & where is the problem.
    I am waiting for a replay.
    Thanx every body.
    Mehran Hadidi
    [email protected]

    Hi Alan,
    Thanks for the very speedy response!!
    That worked, cheers.
    Just for the record, if you are having a problem accessing your FlashVars (and you are using a TLFTextField in Flash CS5) and you are using external classes (i.e. you have a document class and not timeline code) you need to listen for the ADDED_TO_STAGE event before trying to access them.
    For example ...
    package
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.display.LoaderInfo;
        public class Main extends Sprite
            public function Main():void
                if (stage) init();
                else addEventListener(Event.ADDED_TO_STAGE, init);
            private function init(evt:Event = null):void
                removeEventListener(Event.ADDED_TO_STAGE, init);
                var params:Object = loaderInfo.parameters;
                if (parent != null && parent.parent != null) {
                    params = parent.parent.loaderInfo.parameters;
                // You can now loop through the params to access your FlashVars
    I hope this gets fixed soon. It seems like a big oversight.
    Regards,
    Adrian

  • How link from html page to a specific frame in flash cs5 as3

    Hi!
    I'm kinda new around here. I am interested in knowing how to link from a specific html page to a specific frame in flash cs5 as3.
    I have a website that I originally began to design in flash but later started developing new pages for it in html. The flash part of it has several pages on different frames and I have created links from the flash part to the other html pages, but, I can only link the html pages back to the main flash home page, and not the other pages in the flash part of the website.
    I have read that in cs3 it was possible using the flashvars skip variable, but I don't know how to do it. I have not yet seen any working examples and I could not find any instructions / tutorials online for cs5.
    Can someone help here?

    add a query string, to the swf's embedding html, with variable/value indicating the frame you want to display in your swf.  add a javascript function to return the query string (or entire url), call the javascript function from flash using the externalinterface class.  and finally add code to your swf to parse the returned url or query string, parse it and then direct your timeline to the appropriate frame.

  • Flash CS5.5 - not saving all frames in symbols?

    Hi,
    We have a problem where our Flash CS5.5  (mac) does not save all of the frames in a symbol? For example, we animate a walk in a symbol, the symbol is a 'grahpic'. We make a keyframe and reference frame 5 in the walk. Save the project. When we re-open the project there is no 'frame 5' - its blank and so the stage shows the symbol referencing nothing!
    If anyone can help that would be amazing, its been happening for months and we have yet to find anyone online who has the same problem,
    Thanks!
    Garth

    We're having the same issue on our project. My coworker is using Windows though, but it's selectively not saving all the frames in a graphic on his laptop. It has severely destroyed our progress on this project now and we're livid. I wish I could help, but I'm searching for a solution as well.
    He's been saving to his Dropbox account, we're going to see if that has anything to do with it, like it's syncing with an older version of the file somehow.

  • Flash cs5 and cs3 crash on publish, export, copy frames etc.

    Well hi, welcome to my nightmare
    i've been working for a loooongg hugeeee time on an animation, it probably lasts over 20m, has tons of music, movieclips and videos. It's divided into 5 or 6 scenes don't remember exactly. The fla weighs about 550mb (im not using everything in the library anyway, i guess i could trim out a lot) and i CANNOT PUBLISH. im about to go absolutely nuts. If i publish, "Flash stopped responding", hi desktop! I'm running windows 7 x64 ultimate, have a quad-core q6600 4GB RAM DDR2 @667MHz, and a nvidia gtx260, which probably doesn't matter.
    Okay, when i started to create the animation everything went smooth, as the fla got heavier and the animation more complex, i started to notice problems like "not enough memory to complete operation" and random crashes. I believe most of it has to do with flash having a poor memory management.
    Anyway, the thing is that i cannot publish at all. I tried breaking the animation down to 4 files, so as to make lighter files and maybe get it to publish separately, but in the 4th scene, which has an embedded movie in it, i find it impossible to copy the frames to paste them into a new file. I copy the frames, and flash cs3 just stays there, stuck and not going anywhere, i have to kill the process in order to get out, and flash cs5 doesn't copy the frames at all, it loads for some time and then if i right click, the paste frames option is in grey, like unavailable.
    So i'm stuck, i have all there and can't do anything with it!!!. I tried rendering the test scene for each scene but the same 4th scene has a problem! life hates me! the tweens inside the movie clips won't play on the swf... so i cant render test scenes to get separate swfs.
    If anyone has any idea, they'd be my hero!!! please i really need to publish this, it was a whole lot of work and im surely not just leaving the fla in my hard drive to fall into oblivion, not a chance
    pleeeeaseee help!!! thank you so much in advance!!!!!!
    fede

    Hi Morf,
    I can't reproduce your crash. Can you please send me the file up to the point where you saved? Please zip the file, change .zip extension to .zzz, email the attachment to my attention at [email protected]
    Thanks,
    Quynh
    Flash Pro, QE

  • Loading child SWFs with TLF content (from Flash CS5.5) generates reference errors in FB4.6

    I am currently producing e-learning content with our custom AS3-Framework.
    We normally create content files in Flash CS5.5 with dynamic text fields, which are set at runtime from our Framework (AS3 framework in FB4.6).
    Now we are in the progress of language versioning, and since one of the languages is Arabic we are changing the dynamic text fields to TLF fields.
    Then all my problems started.
    In Flash I have chosen to include the TLF engine and to export in frame 2.
    (see to: http://helpx.adobe.com/flash/kb/loading-child-swfs-tlf-content.html )
    I get this error:
    VerifyError: Error #1053: Illegal override of getEventMirror in flashx.textLayout.elements.FlowLeafElement.
                at flash.display::MovieClip/gotoAndPlay()
    I guess it is because our framework wants to gotoAndPlay before the TLF engine has been loaded.
    Can this be it?
    Any good suggestions on how to handle loading child SWFs with TLF content.

    Please refere to the following articles .. you may find some help.
    http://www.stevensacks.net/2010/05/28/flash-cs5-tlf-engine-causes-errors-with-loaded-swfs/
    http://www.adobe.com/devnet/flash/articles/preloading-tlf-rsl.html
    I also faced similar problem and posted a question at the following link, but, I still couldn't find the solution.
    http://forums.adobe.com/message/4367968#4367968

  • How to Installing AIR3 SDK in Adobe Flash CS5.5?

    Hi All,
    Can  anyone help me, with installing AIR3 SDK in Adobe Flash CS5.5?,
    I try to extract rename AIR3.0 to AIR2.6 and copy to the same location as AIR2.6 in "C:\Program Files\Adobe\Adobe Flash CS5.5" and
    try to extract and add AIR3.0  to the same location as AIR2.6 in "C:\Program Files\Adobe\Adobe Flash CS5.5"
    But it's not work, I don't see publish for runtime AIR3.0.
    Thanks,
    Porawee

    Ok dasessig, I will explain step by step with my solved for WIN version reference from original http://blog.prevail.co.nz/2011/06/21/overlaying-air2-7-in-flash-cs5/.
    * I have installed only Adobe Flash Professional CS5.5, not need CS5.0, I don't test in OSX version but i think it's same as WIN version.
       1.  Download and extract the latest AIR 3.0 SDK.  and extrack to AIR2.6.
            Note : I got this file "air3_rc1_sdk_win_090611.zip" and extrack files to "AIR2.6"
       2.  Download and install Adobe Flash CS5.5.
       3.  Closed Flash Professional CS5.5.
       4.  Place the folder in either of the following locations:
              WIN: C:\Program Files\Adobe\Adobe Flash CS5.5\
              OSX: Applications/Adobe Flash CS5.5/
            Note : It's will replace WIN: C:\Program Files\Adobe\Adobe Flash CS5.5\AIR2.6
       5.  Create new folder name "AIR3.0" in "Adobe Flash CS5.5/Common/Configuration/ActionScript 3.0/"
       6.  Browse to the Adobe\Adobe Flash CS5.5\AIR2.6\frameworks\libs\air\ and copy airglobal.swc.
       7.  Paste the SWC "airglobal.swc" file in Adobe Flash CS5.5/Common/Configuration/ActionScript 3.0/AIR3.0/.
       8.  Browse to Adobe Flash CS5.5/Common/Configuration/Players/ and copy "AdobeAIR2_6.xml" and paste to new copy file.
       9.  Rename new copy file "AdobeAIR2_6.xml" to "AdobeAIR3_0.xml".
            Note : Make sure you rename new copy file NOT original file "AdobeAIR2_6.xml"
      10.  Open and Edit "AdobeAIR3_0.xml" to match below xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <players>
      <player id="AdobeAIR3_0" version="13" asversion="3" minasversion="3">
        <name>AIR 3.0</name>
        <publishobject2 id="Air2_5" version="2.6" intversion="2.6"></publishobject2>
        <path platform="WIN">Air2_5.dll</path>
        <path platform="MAC">Air2_5.bundle</path>
        <playerDefinitionPath as2="$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(UserConfig)/Classes/FP7" as3="$(AppConfig)/ActionScript 3.0/AIR3.0/airglobal.swc" />
        <!-- This item is used to indicate that some UI integrated within Flash should be enabled for this player.
    -->
        <feature name="multiScreenPublish" supported="false" />   
        <feature name="mobileDebug" supported="true" />
        <feature name="apolloPublish" supported="true" />
        <feature name="apolloTestMovie" supported="force"/>
        <feature name="apolloDebugMovie" supported="true"/>
        <feature name="apolloPackaging" supported="true"/>
        <feature name="publish_localPlaybackSecurity" supported="false" />
        <feature name="publish_hardwareAcceleration"     supported="true" />
        <feature name="useDefineFont4ForDeviceText"          supported="true" />
        <feature name="useDefineFont4ForEmbeddedFonts"       supported="true" />
        <feature name="textLayoutFramework"       supported="true" />
        <encodingPresets>
            <preset uuid="0c95a8ba-8b71-44d5-b269-8fd1cf89a6ed"  name="F4V - Same As Source (Flash 9.2 and Higher)" ext="f4v" default="true"/>
        </encodingPresets>
      </player>
    </players>
    11.  Run Adobe Flash CS5.5 > File > New... > ActionScrip 3.0
      12.  Now you have new file "Untitled-1.fla" then add below code to frame 1.
            import flash.desktop.NativeApplication;
            trace(NativeApplication.nativeApplication.runtimeVersion);
      13.  goto menu File > Publish Setting...   select target Player : AIR 3.0
      14.  Test with menu Control > Test Movie > in AIR Debug Launcher (Desktop)
      15.  Finally, you should have output in panel like this :
             [SWF] Untitled-1.swf - 2148 bytes after decompression
             3.0.0.3880
      Note : AIR3.0 for iOS and Android is below, you should followed step 1-10 before.
      AIR3.0 for iOS : open and edit "AiriPhone.xml" in "C:\Program Files\Adobe\Adobe Flash CS5.5\Common\Configuration\Players"
    < ?xml version="1.0" encoding="UTF-8"?>
    <players>
    <player id="PFI1_0" version="13" asversion="3" minasversion="3">
        <name>AIR for iOS</name>
    <publishobject2 id="Air2_5" version="3.0" intversion="3.0"></publishobject2>
    <path platform="WIN">Air2_5.dll</path>
    <path platform="MAC">Air2_5.bundle</path>
    <playerdefinitionpath as2="$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(UserConfig)/Classes/FP7" as3="$(AppConfig)/ActionScript 3.0/AIR3.0/airglobal.swc" />
        <!-- This item is used to indicate that some UI integrated within Flash should be enabled for this player.
    -->
        <feature name="multiScreenPublish" supported="false" />
        <feature name="mobileDebug" supported="true" />
        <feature name="apolloPublish" supported="true" />
        <feature name="apolloTestMovie" supported="force"/>
        <feature name="apolloDebugMovie" supported="true"/>
        <feature name="apolloPackaging" supported="true"/>
        <feature name="publish_localPlaybackSecurity" supported="false" />
        <feature name="publish_hardwareAcceleration"      supported="true" />
        <feature name="useDefineFont4ForDeviceText"          supported="true" />
        <feature name="useDefineFont4ForEmbeddedFonts"       supported="true" />
        <feature name="textLayoutFramework"       supported="true" />
        <feature name="rslLinkageSuppressed"       supported="true" />
        <encodingpresets>
    <preset uuid="0c95a8ba-8b71-44d5-b269-8fd1cf89a6ed"  name="F4V - Same As Source (Flash 9.2 and Higher)" ext="f4v" default="true"/>
    </encodingpresets>
      </player>
    </players>
       AIR3.0 for Android : open and edit "Android.xml" in "C:\Program Files\Adobe\Adobe Flash CS5.5\Common\Configuration\Players"
    < ?xml version="1.0" encoding="UTF-8"?>
    <players>
    <player id="android_0" version="13" asversion="3" minasversion="3">
        <name>AIR for Android</name>
    <publishobject2 id="Air2_5_Android" version="3.0" intversion="3.0"></publishobject2>
    <path platform="WIN">Air2_5_Android.dll</path>
    <path platform="MAC">Air2_5_Android.bundle</path>
    <playerdefinitionpath as2="$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(UserConfig)/Classes/FP7" as3="$(AppConfig)/ActionScript 3.0/AIR3.0/airglobal.swc" />
        <!-- This item is used to indicate that some UI integrated within Flash should be enabled for this player.
    -->
        <feature name="multiScreenPublish" supported="false" />
        <feature name="mobileDebug" supported="true" />
        <feature name="apolloPublish" supported="true" />
        <feature name="apolloTestMovie" supported="force"/>
        <feature name="apolloDebugMovie" supported="true"/>
        <feature name="apolloPackaging" supported="true"/>
        <feature name="publish_localPlaybackSecurity" supported="false" />
        <feature name="publish_hardwareAcceleration"      supported="true" />
        <feature name="useDefineFont4ForDeviceText"          supported="true" />
        <feature name="useDefineFont4ForEmbeddedFonts"       supported="true" />
        <feature name="textLayoutFramework"       supported="true" />
        <feature name="rslLinkageSuppressed"       supported="true" />
        <encodingpresets>
    <preset uuid="0c95a8ba-8b71-44d5-b269-8fd1cf89a6ed"  name="F4V - Same As Source (Flash 9.2 and Higher)" ext="f4v" default="true"/>
    </encodingpresets>
      </player>
    </players>
    Hope it's should work for you.
    Thank,

  • Splash Screen for Android with Flash CS5.5

    How can I make a SplashScreen with Flash CS5.5 or just with AIR/AS3 codes. I need it while the App/Game is loading...
    I know that it's possible with Flex 4.5 as:
    <?xml version="1.0" encoding="utf-8"?>
    <s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                              xmlns:s="library://ns.adobe.com/flex/spark"
                              firstView="views.HomeView"
                              splashScreenImage="@Embed('splashscreen.png')" />
    http://workflowflash.com/98437/air-for-android-splash-screen-with-flex-4-5.php
    But I want to do it without Flex. So can I ?
    Thank you

    i'm not sure if this is necessary anymore, but i took the advise of another user here
    http://forums.adobe.com/thread/764981
    the key difference is, the user stated a preloading swf needed to embed the image in order to display before the whole apk is loaded.
    Seems to be working for me anyway

  • Flash CS5 problem - missing text

    We've got several Flash files created by a partner organization that we're trying to edit. The files are for an e-learning course and contain four or five "tabs," each with a multiple choice or true/false question, each option labeled A, B, C, etc.. The learner clicks through the tabs, answers each question using either radio buttons or click boxes, and clicks "submit" to check the answers. When they click submit they should get a line below that either says "Correct!" or, if they're wrong, "Answer:" followed by the letter of the correct option(s).
    What's happening instead is that about 75% of the time when you answer incorrectly nothing at all appears after "Answer:", or in a couple of cases where it was a multiple choice question with more than one correct option, it may only display one of the correct answers.
    Things that may or may not be relevant:
    We are working in Flash Pro CS5. These were created in an earlier version, probably CS3 or 4. The published SWF files we received from the original developer at our partner agency don't have this problem, but if we open the Flash files and republish them the error shows up, even if we make no changes to the files. We had a developer working on contract with us for a while using I think CS4 and he was able to republish them without a problem.
    Every time we run the debugger on the files we get a Font Mapping dialog box indicating that it contains a font (Universal Condensed) that is not available on our system. I always opt to map it to a font we do have but the next time I open the file I get the same message again.
    On any of the question tabs where happening, when I run debugger I get several messages like this in the output window: Target not found: Target="_parent.q1r5" Base="_level0.checkbuttons.q1r1" or Target not found: Target="_parent.q1r6" Base="_level0.checkbuttons.q1r2". I believe the "r5", "r6", etc. is referring to something that the original developer created to automate the creation of these animations. In Designer view, off to the side there are set up instructions, invisible when published, that apparently allow you to enter letters and numbers to create up to 6 questions in any of 8 styles, with up to 8 answers each.
    Again in the output window, I'm getting this message: "Fonts should be embedded for any text that may be edited at runtime, other than text with the "Use Device Fonts" setting. Use the Text > Font Embedding command to embed fonts.". I've embedded both fonts that I believe are used in the animation but it doesn't seem to change anything.
    I was also getting errors like this in the compiler window: Symbol=radio button, layer=Layer 2, frame=1, Line 1  Case-insensitive identifier 'button' will obscure built-in object 'Button'. I am able to click over to the "Actions-Frame" window and the first line there reads either button = "off" or button = "on". If I change button to Button this message is cleared but it doesn't seem to impact the other problem.
    I've spent what is officially now a stupid amount of time trying to figure this out, and I'm starting from search a knowledge deficit that my usual Google research skills are failing me. None of us on staff have any formal Flash training, but two of us have taught ourselves enough to successfully make minor changes to all but this one type of file, and there are several of them like this. I have a vague idea that it has something to do with embedding fonts and dynamic text fields, but none of the suggestions I've seen so far works and I'm at a loss. Would appreciate ideas anyone might have about where to look before I pull out any more hair.

    Hi,
    We have a problem with our action script and seems to be using cookies of clients computers.
    We have a action script as under ..........----------
    function my_function38()
        var _loc1 = my_xml.firstChild.childNodes;
        totalNodes = _loc1.length;
        cityname_mc.fl_name_mc.fl_name.text = my_xml.firstChild.childNodes[cnt].attributes.name;
        rate_mc.rate_anim_mc.fl_rate.text = my_xml.firstChild.childNodes[cnt].attributes.rate;
        fl_month.text = my_xml.firstChild.childNodes[cnt].attributes.month;
    // End of the function
    my_Date = new Date();
    my_xml = new XML();
    my_xml.load("DEL.xml?uniqueID=" + getTimer());
    my_xml.onLoad = my_function38;
    my_xml.ignoreWhite = 1;
    if (!cnt)
        var cnt = 0;
    } // end if
    ++cnt;
    if (cnt >= totalNodes)
        cnt = 0;
        gotoAndPlay(1);
    else
        gotoAndPlay(1);
      Xml Data as under
    <?xml version="1.0" encoding= "UTF-8" ?>
    <cities>
      <city name="Delhi" rate="£365" month=""file location"></city>
    </cities>
    What is happening is we are storing many swf files and xml files for different cities on server location 1 with same code but are just changing the xml file to be picked.
    I.e
    DELHI.XML    DELHI.SWF
    BANGKOK.XML  BANGKOK.SWF
    SYDNEY.XML SYDNEY.SWF
    All are in one folder and we are just changing the xml path in fla files and loading the new swf.
    Then we are giving out swf urls to an advertising company which is in turn picking up swf files from sever location 1 and displaying the same on their website.
    The problem is each time we access the swf file on there site the data doesnot display properly. It is picking up the wrong xml data. When we check the fla the path for xml is ok. What we think is it is saving swf or xml in cookies of user computer. Is there anyway to prevent it from happening.
    We Are using Adobe Flash CS5.
    Thanks
    kam.p

  • SQLite Database and TLF Text in Flash CS5

    I encountered the following problem when working with the built-in sqlite database and using TLF TextFields in Flash CS5
    When I tried to use TLF TextFields alone, I don't face any probelem,
    but when I start using a database connectivity code, the TLF TextFields placed on the stage are not shown, but instead, the SWF file is showing the built-in preloader with five dots looping.
    I tried changing the default Linkage in ActionScript 3 Settings to Merge Mode, but in this case nothing is shown, not the textfields, neither the preloader.
    I think the problem is related to loading the TLF Text Engine, but I couldn't figure out what to do.
    The following is my code placed in first frame:
    ==========================================
    import flash.data.SQLConnection;
    import flash.events.SQLErrorEvent;
    import flash.events.SQLEvent;
    import flash.filesystem.File;
    var conn:SQLConnection = new SQLConnection();
    conn.addEventListener(SQLEvent.OPEN, openHandler);
    conn.addEventListener(SQLErrorEvent.ERROR, errorHandler);
    // The database file is in the application directory
    var folder:File = File.applicationDirectory;
    var dbFile:File = folder.resolvePath("DBSample.db");
    conn.openAsync(dbFile);
    function openHandler(event:SQLEvent):void
        trace("the database was created successfully");
    function errorHandler(event:SQLErrorEvent):void
        trace("Error message:", event.error.message);
        trace("Details:", event.error.details);
    stop();
    ==========================================
    and I am using one TLF TextField on the stage for later use.
    Publish Settings>> Player: AIR 2.6
    and not to forget, when I test the file using Contol Panel >> Test in Air Debug Launcher (Desktop), the file is working correctly.
    but when I open the generated SWF file, the problem appears.
    I hope that I find some help
    Thanks.

    http://www.flashandmath.com/flashcs5/rsltip/

  • Passing a variable from Captivate 5 to Flash CS5/ActionScript 3

    I don't get it. Why is it so difficult to pass a variable from Captivate 5 to AS3/Flash CS5. I must be making it harder than it really is. I cannot figure it out.  Can anyone help?
    I have a variable (gpDone = 1) defined in Captivate 5 (it's a guided practice) on the last frame which will indicate that the learner has completed the guided practice file.
    Now I want to pass that variable back to Flash/AS3 so I can evaluate whether I should show the Continue button so they can continue. They have to complete the guided practice before they can continue. If it is equal to 1, the Continue button will display. If it is not equal to 1, the Continue button will not display, but a message will display telling them they have to complete the guided practice in order to continue in the course.
    Do I need to edit the Flash html? Or just put code in the Flash timeline or the associated AS file?
    Help would be greatly appreciated. Thanks in advance.
    CAH

    Having the same problem...getting variable values FROM captivate to my inserted .swf (not widgets).
    I can set the value from the .swf to the captivate using Object(parent.parent.parent.parent).captivateVariable but not the other way around.
    Very frustrating.
    I hope someone answers your query.

  • Cannot find text in Flash CS5

    I can't search for text in Flash CS5.
    I've created a new project, added some actionscript in the first frame ("stop();")
    When trying to search for this string (CTRL-F > Find and Replace) I get no results.
    Search in: Current Document
    For: Text
    Text: stop
    Replace with (blank)
    Checked items:
    Text fields contents
    Frames/Layers/Parameterss
    Strings in ActionScript
    ActionSript
    Nothing (ever) shows up in the results. Does anyone have any advice? Thanks!

    3 years later... I'm having the same luck with the "Find and Replace" tool.
    The only way I had any success using this tool was to drag all the MCs from the library to the stage before using "Find and Replace".
    I could not figure out how to find and replace text within a mc that was in the library only and not on the stage.
    Note: I also had to specify to search in "Current Document" as it would not work in the "Current Scene".

Maybe you are looking for