SWF Viwere Syntax

Hi,
I have some SWF files created using Captivate that we wish to
publish to an INTRAnet site. On this site we have the benefit of
knowing that ALL users have a local network drive available as the
mapped "I:" drive. We'd like to distribute the SWF files to each
local site where they would be installed in the I:\IFTraining
folder. Now, we should be able to reference these files in the
INTRAnet website. Unfortunately, I'm having problems with the
syntax:
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6, 0,29,0"
width="800" height="600" ID="Captivate1">
<param name="movie"
value="file:////i:/IFTraining/TDITransfers20061101.swf">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="loop" value="0">
<embed
src="file:////i:/IFTraining/TDITransfers20061101.swf" width="800"
height="600" loop="0" quality="high"
pluginspage="https://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" menu="false"></embed>
</object>
How should I correctly refer to the SWF files? I've tried a
bunch of changes in syntax with no luck.
Thanks for the help.

make it in relation to the calling html page...
most likely its just
<param name="movie" value="TDITransfers20061101.swf">
<embed src="TDITransfers20061101.swf" ....>
the other possibility is just:
IFTraining/TDITransfers20061101.swf

Similar Messages

  • SWF Viewer Syntax

    Hi,
    I have some SWF files created using Captivate that we wish to
    publish to an INTRAnet site. On this site we have the benefit of
    knowing that ALL users have a local network drive available as the
    mapped "I:" drive. We'd like to distribute the SWF files to each
    local site where they would be installed in the I:\IFTraining
    folder. Now, we should be able to reference these files in the
    INTRAnet website. Unfortunately, I'm having problems with the
    syntax:
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6, 0,29,0"
    width="800" height="600" ID="Captivate1">
    <param name="movie"
    value="file:////i:/IFTraining/TDITransfers20061101.swf">
    <param name="quality" value="high">
    <param name="menu" value="false">
    <param name="loop" value="0">
    <embed
    src="file:////i:/IFTraining/TDITransfers20061101.swf" width="800"
    height="600" loop="0" quality="high"
    pluginspage="https://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash" menu="false"></embed>
    </object>
    How should I correctly refer to the SWF files? I've tried a
    bunch of changes in syntax with no luck.
    Thanks for the help.

    make it in relation to the calling html page...
    most likely its just
    <param name="movie" value="TDITransfers20061101.swf">
    <embed src="TDITransfers20061101.swf" ....>
    the other possibility is just:
    IFTraining/TDITransfers20061101.swf

  • Card Deck Shuffle

    Hey, everyone,
    I was looking for a way to shuffle a deck of cards last week and I was provided with some code to do so. I decided a straight shuffle would work better with my project than randomizing coordinates (as I was doing). I'm trying to implement the code, and I think I'm pretty close, but I'm running into a few snags. I'm using Shuffle.as as my document class, and another external class called Card.as to control the flipping and drag action of my cards. At the moment, I'm getting this message when I try to run the swf:
    1084: Syntax error: expecting leftbrace before Deck.
    I think this is indicative of an error somewhere else in my code, but I'm not sure where. Do you see anything upon first glance? Thanks in advance for your help; I really appreciate it!
    Peter
    Shuffle.as Code:
    package
    import flash.display.MovieClip;
    import flash.events.MouseEvent;
    import Card;
    import Boarder;
    import BlueBoard;
    import RedBoard;
    import Snow;
    public class Card Deck
      private var _card:Card;
      private var _boarder:Boarder;
      private var _blueBoard:BlueBoard;
      private var _redBoard:RedBoard;
      private var _snow:Snow;
            private var Contents:Array;
            private var RandomNum:Number;
      private var _cards:Array;
            public function CardDeck()
                 //Contents = new Array();
       _cards = new Array();
            public function set Cont(_parmConts)
                this.Contents = _parmConts;
            public function get Cont()
                return this.Contents;
            public function AddCard(_card):void {
                Contents.push(_card);
            //start shuffle
            public function Shuffle() {
                var tempArray:Array = new Array();
                var myCount = Contents.length;
                for (var i = 0; i < myCount; i++) {
                    var rand  = Math.floor(Math.random()*Contents.length );
                    var Mytest = Contents[rand];
                    Contents.splice(rand, 1);
                    tempArray.push(Mytest);
                for (var j = 0; j < myCount; j++) {
                    Contents[j] = tempArray[j];
            //End shuffle
            private var CardPicked;
            public function DrawCard() {
                CardPicked = Contents.shift();
                //RemoveTopCard();
                return CardPicked;
            public function RemoveTopCard() {
                Contents.shift();
            public function DeckCount() {
                return Contents.length;
            public function ShowTopCard()
                return Contents[0];
            public function ShowCards(Num)
                var TempArray:Array = new Array(Num)
                for (var i = 0 ; i< Num;i++){
                    TempArray[i] = Contents[i];
                return TempArray;
            public function RemoveCard(CardName)
                var myCount = Contents.length;
                var RemovedOne = false;
                for (var i = 0; i < myCount; i++) {
                    trace("LoopCount: " + i );
                    if(RemovedOne == false)
                        var Mytest = Contents[i];
                        if(Mytest.CardName == CardName)
                            //remove this element
                            trace("REMOVE THIS CARD");
                            Contents.splice(i,1);
                            RemovedOne = true;
    Card.as Code:
    package
    import flash.display.MovieClip;
    import flash.events.MouseEvent;
    public class Card extends MovieClip
      private var _type:*;
      public function Card()
       this.buttonMode = true;
       this.addEventListener(MouseEvent.CLICK, onClick);
       this.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
       this.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
      private function onClick(event:MouseEvent):void
       this.play();
       this.removeEventListener(MouseEvent.CLICK, onClick)
      private function mouseDownHandler(event:MouseEvent):void
       var thisMC:MovieClip = event.currentTarget as MovieClip;
       thisMC.startDrag(false);
       thisMC.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
      private function mouseUpHandler(event:MouseEvent):void
       var thisMC:MovieClip = event.currentTarget as MovieClip;
       thisMC.stopDrag();
       thisMC.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
      private function mouseMoveHandler(event:MouseEvent):void
       event.updateAfterEvent();
      public function setType(type:*):void
       _type = type;
       loader_mc.addChild(_type);

    Thanks, Ned. I have to remember to eliminate spaces in those!
    I did that, and I'm now receiving this message:
    "5000: The class 'Shuffle' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type."
    I've moved the shuffle class around a bit, but it doesn't seem to work. Have you seen this sort of thing before?
    Peter

  • Syntax Error with SWF files on SH903i

    I'm using Flash Pro 8 and thought I'd try out creating a very
    simple SWF to test on the phone. Using the basic templates for
    Flash 1.0/1 and Actionscript 1... I made a simple bouncing circle,
    but I keep getting a "syntax error" when I try to download it into
    my phone via the phone web browser. Is there something I'm missing?
    It seems very straight-forward, but is there something I'm
    missing?

    I figured it out. I had to access the file directly.
    Oddly.

  • What is the correct Syntax to export to SWF using VBScript

    I am trying to export to swf using Indesign Server but i'm struggling to find the correct syntax using VBScript
    can someone point me in the correct direction or maybe give me this info?
    Thanks in advance
    Tom

    Malcolm,
    Just string the keywords in a row, and let 'er rip.
    The Store used to have a more sophisticated search capability known as Power Search, which allowed fielded entry.  But it seems to have disappeared a few releases ago.

  • Opening a .swf in a separate window

    Can anyone tell me the correct syntax to use when trying to
    have an .swf open from a button in the main swf? The button already
    has some animation and rollover features and I just wnated to add
    that on the mouse release (or down) I want to launch the other swf.
    Here's the script but I'm getting this error:
    **Error** Symbol=button 2, layer=Layer 3, frame=1:Line 8: '{'
    expected
    loadMovie(DynaPurge.swf);
    Total ActionScript Errors: 1 Reported Errors: 1
    Here's the script on the button, the first part has always
    worked, it's the launching of the swf that's driving me nuts.
    on (rollOver) {
    gotoAndPlay(2);
    on (rollOut) {
    gotoAndPlay(6);
    on (press)
    loadMovie(DynaPurge.swf);
    }

    Datredigital wrote:
    > Can anyone tell me the correct syntax to use when trying
    to have an .swf open
    > from a button in the main swf? The button already has
    some animation and
    > rollover features and I just wnated to add that on the
    mouse release (or down)
    > I want to launch the other swf. Here's the script but
    I'm getting this error:
    >
    > **Error** Symbol=button 2, layer=Layer 3, frame=1:Line
    8: '{' expected
    > loadMovie(DynaPurge.swf);
    >
    > Total ActionScript Errors: 1 Reported Errors: 1
    >
    > Here's the script on the button, the first part has
    always worked, it's the
    > launching of the swf that's driving me nuts.
    >
    > on (rollOver) {
    > gotoAndPlay(2);
    > }
    > on (rollOut) {
    > gotoAndPlay(6);
    > }
    > on (press)
    > loadMovie(DynaPurge.swf);
    > }
    LoadMovie action require second parameter. If you load
    content in target movie clip, it needs the
    clip name. LoadMovieNum require level number as second
    parameter.
    Your action is missing the target name and the file itself
    needs to be in quotes "", otherwise
    it become an expression.
    It should be either one of these:
    loadMovie("fileName.swf", "MC_holder");
    loadMovieNum("fileName.swf", 1);
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • What's wrong with my syntax?

    I'm getting an error with this. What's wrong with my syntax?
    Error: Scene 1, Layer 'actions', Frame 1, Line 21 1084: Syntax error: expecting rightparen before semicolon.
    // Line 21
    holder.load(new URLRequest("Interactive_StrategyMap.swf" + "?random=" + Math.random();));

    Hi Ned,
    I'm trying to force my preloader to load the .swf every time. I do not want it stored in cache (because I'm trying to solve the issue where the dynamic text doesn't load on refresh)
    So, I've added this math.random to the end of the string... but now the preloader .swf apparently can't see the .swf I want it to load because the path is Interactive_StrategyMap.swf?random=123 instead of Interactive_StrategyMap.swf
    The error I get is:
    completeHandler: Interactive_StrategyMap.swf?random=123
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
    My full code is:
    //THIS IS THE PRELOADER CONTAINER THAT LOADS THE INTERACTIVE
    //STRATEGY MAP (Interactive_StrategyMap.swf).
    // CREATE A NEW LOADER OBJECT TO HOLD THE LOADED CONTENT
    var holder:Loader = new Loader();
    var myString:String = "Interactive_StrategyMap.swf" + "?random=123" + Math.random();
    addChild(holder);
    // CREATE EVENT HANDLERS TO TRACK THE LOADING PROGRESS
    // AND TO TRACK THE COMPLETION OF THE LOADED CONTENT
    holder.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onLoading);
    holder.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
    function onComplete(e:Event):void {
    this.loadingClip.visible = false;
    function onLoading(e:ProgressEvent):void {
    var pcent:Number = e.target.bytesLoaded / e.target.bytesTotal * 100;
    loadingClip.loadingText.text = int(pcent) + "%";
    // LOAD THE EXTERNAL CONTENT
    holder.load(new URLRequest(myString));
    trace("completeHandler: " + myString);

  • How do I get the SWF file to send a variable to HTML file

    I am new to flash and trying to figure out how this is working. I have a task to upgrade a web site. I have a map of ND with some cities on it. I needed to add a new city to the SWF which did not seem to be hard (asuming I did it correct). The action on all the buttons for each city look like this except the name after the # is the city selected.
    on (release)
        getURL("locations_info.html#minot", "location_content");
    In HTML code snip that controls this looked like this :
                          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="627" height="400">
                            <param name="movie" value="flash/map.swf">
                            <param name="quality" value="high">
                            <embed src="flash/map.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="627" height="400"></embed>
                          </td>
                        </tr>
                        <tr>
                          <td align="left" valign="top"><IFRAME src="locations_info.html" name="location_content" width="627" height="190" scrolling="no" frameborder="0"></IFRAME></td>
                          </tr>
                      </table>                 
                      </td>
    snip from the locations_info.html file looks like:
      <tr>
        <td align="left" valign="top"><table width="687" border="0" cellspacing="0" cellpadding="10">
          <tr>
            <td align="left" valign="top"><p class="maintext12"> </p>
              <p class="maintext12"><strong><a name="minot"></a>Minot/Home Office</strong><br>
                408 20th Ave SW, Suite 101, Minot, N.D. 58701<br>
                Main line: (701) 852-5383<br>
                Toll Free: (800) 735-4955<br>
                Fax: (701) 852-6272<br>
                Office hours: Monday - Friday 8 a.m. to 5 p.m.</p>
              <p> </p>
    Can someone help me understand way when I run this from my system it should load and address information for the correct city from the locations_info.html file but it doesn't. Nothing shows up..
    Jeanne

    If all of the other getURL() directives in the movie use the same syntax for the named anchor link then that part should be OK. In the html document, locations_info, again, if all of the named anchors look like the one that you listed, then you may just need to clear your cache to get the new anchor to work.
    The a name="XXX" anchor is being depricated in some browsers. You can use id="XXX", or both, instead. Although if one works, they should all work.

  • Photo Stack swf works in IE but not Firefox

    Would anyone know why the photo stack flash gallery won't work in Firefox? IE works fine. I'm fairly sure its just a bit of syntax i'm missing, or a compatibility issue.
    I am using a .swf file which imports images in using an xm
    l file and then displays them as a stack of photos which can then be rotated and looked through.
    This is the code i'm using to embed it on the page.
    =====================
    <object id="flashmovie" type="application/x-shockwave-flash" data="/menu_items/gallery_swf/gallery.swf" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="550" height="400" >
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="/menu_items/gallery_swf/gallery.swf" />
    <param name="FLASHVARS" value="path=/san/www/somewhere.com/htdocs/home/ProspectiveStudents/InternationalStudents/ afolder/afolderphotos/">
    <embed src="/menu_items/gallery_swf/gallery.swf" width="550" height="400" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
    </object>
    =======================
    And this is the Actionscript code within the swf, as I think it may be causing the issue
    ================
    MovieClip.prototype.addProperty("onLoad", function () {
    return __onLoadHandler__[this];
    }, function (f) {
    if (__onLoadHandler__ == undefined) {
      _global.__onLoadHandler__ = {};
    __onLoadHandler__[this] = f;
    Math.easeInQuad = function(t, b, c, d) {
    return c*(t /= d)*t+b;
    Math.easeOutQuad = function(t, b, c, d) {
    return -c*(t /= d)*(t-2)+b;
    Stage.scaleMode = "noScale";
    myXML = new XML();
    myXML.ignoreWhite = true;
    myXML.onLoad = function() {
    nodes = myXML.childNodes;
    // find first image
    if (topimage.length) {
      for (var i = 0; i<nodes.length; i++) {
       if (nodes[i].attributes.src == topimage) {
        var insert = nodes.slice(0, i);
        nodes.splice(0, i);
        nodes = nodes.concat(insert);
    _root.gotoAndStop(2);
    if (_url.indexOf("http")>-1) {
    myXML.load("http://somewhere.com/menu_items/gallery_swf/gallery.php?querystring=" + path);
    } else {
    myXML.load("gallery.xml");
    stop();
    ===========================
    I export it as Flashplayer ver 6, and actionscript ver 1.0. Changing versions didn't make it work.

    Apologies - I did not mean to post this twice - having
    problems with my PC!

  • Issues embedding swf in pdf document?

    I have created a small application to illustrate Snell's law as a flash file.
    The idea is to integrate it in a online educational book and I have already done so with several simple animations.
    This was to be my first application with user input other than start/stop buttons.
    The application works fine in a browser or as a stand-alone flash file but when I embed it in the pdf file it doesn't execute properly, nothing happens when buttons are pushed to calculate the equations.
    This is my first question here so I don't know how to add my application or an example of it embedded in a pdf document but I guess including them from a filehosting site could work?
    The swf file:
    http://www.filehosting.org/file/details/408159/Snells_Law.swf
    The PDF file:
    http://www.filehosting.org/file/details/408160/test.pdf
    I used CS6 Flash professional to create the SWF file.
    thanks in advance
    edit: also including the original fla-file: http://www.filehosting.org/file/details/408478/Snells_Law_3.fla
    By moving a piece of code up through the lines I have found that after line 377, nothing gets executed. Any help would be greatly appreciated.

    I see no syntax errors and your code works well so there shouldn't be any issue embedding it. In Acrobat XI I get a preview of the plugin required to view the SWF and I must activate the plugin (very common on windows) by clicking on it. Once I do the SWF embedded in your document works for me, although it doesn't overlap the preview which is stretched to the size of the page whereas the plugin container is the size of the original document. So it works fine for me when viewing as a PDF and if you resize it down to its original document size it should overlap the preview properly. Plugin containers often require permission/activation (a mouse click), that's normal.
    I was able to target 10.1/10.2 as the SWF export target rather than FP11. You may want to try downgrading your publish preferences to that which should reduce the overhead of the plugin container. Outside that I see no reason you should have an issue embedding this. I don't have a full copy of master at home to create the PDF to test (openoffice isn't really capable of it) so you'll have to test that yourself but the PDF you linked works for me.

  • XML File Mapping Syntax

    Xcelsius 2008
    I have an XML file sitting in the same dir as the .xlf file.  Path to the XML is:
    servername\d$\Xcelsius\XML\PatSat4.xml
    Entry in Data Manager as  both a hard-coded path above and pointing to a cell containing the path.
    Preview SWF functions as expected, editing the XML will refresh with the refresh button.
    Exporting to a standalone SWF file sitting in the same dir fails with Error # 2032 meaning it doesn't see the XML file.
    Tried several combinations of  forward vs back-slash.
    Preceding with file://, file:
    , file:
    without success.
    Using only filename PatSat4.xml doesn't work.
    Thing is: works in preview mode, not as export.
    Anybody know either the proper syntax or the trick?
    TIA

    This is an ADOBE issue based on their security methodology/policy.  Similar to the issue when xml files are coming from a server/across domains.
    You may find more info on error messages at
    http://livedocs.adobe.com/flex/3/html/help.html?content=rsl_10.html
    To resolve the issue, go to
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
    and flag the folders (or parent folders) holding the xml files as "trusted".  You will need to do this for every (physical) machine you or your customers are working with. The xml files need not be in the same folder as the xlf or swf file.
    Hope this helps

  • How to attach a Callto Link to a swf-file?

    Hi,
    I'm currently working on an animated skype button (swf-file) which I included into my website and I'd like to attach the following command to it:
    Callto://myskypeid
    It would be perfect, if - when hovering on it - it shows that it contains an active link (showing the "hand") and when clicking on it, it calls the user's skype app. to phone me on skype
    So, in the adobe tutorials I found the following code for inserting a "hyperlink" to a button.
    import flash.events.MouseEvent;
    function gotoAdobeSite(event:MouseEvent):void
       var adobeURL:URLRequest = new URLRequest("http://www.adobe.com/");
       navigateToURL(adobeURL);
    linkButton.addEventListener(MouseEvent.CLICK, gotoAdobeSite);
    I customised the code:
    import flash.events.MouseEvent;
    function openskype(event:MouseEvent):void
       var Skype:URLRequest = new URLRequest("Callto://myskypeId");
       navigateToURL(Skype);
    linkButton.addEventListener(MouseEvent.CLICK, openskype);
    But the problem is that there occur "linkbutton not defined property or method" errors when running the code.
    My swf or rsp. my fla file contains 10 movieclips which run one after another on the timescale, all in different layouts so that the colour changes during the "run".
    I tried it with the first movieclip - layer1 - and named its instance "linkButton".
    Didnt work.
    Then I tried to insert another layer and attached another picture with alpha=0, converted it into a button and gave its Instance the name "LinkButton", but also didnt work.
    Can someone please help me here? I suppose its just a "small" mistake and I couldn't be "so far away" from succeeding...
    That would be great! Thanks for the help in advance!!

    Hi Ned and all the others,
    ok ...the problem isn't really fixed so far.
    But the first step is done! :-) with the following code:
    import flash.events.MouseEvent;
    function openskype(event:MouseEvent):void
       var Skype:URLRequest = new URLRequest("Callto://myskypeId");
       navigateToURL(Skype);
    linkButton.addEventListener(MouseEvent.CLICK, openskype);
    I replaced the "Callto://myskypeId" with "skype:myskypeId?call" as the first syntax shows a wrong Skypname resp. the name will be shown with a "/" in the end.
    But now i'm faced with the problem, that
    1st: there's no "hand" shown, when hovering the button on the website.
    2nd: I have to doubleclick on it to open the skype application.
    3rd: after i doubleclicked on the button there opens up always an additional blank page shown in the browser. And now I try to fix that - I tried it with navigateToURL(Skype, "_self"); or "_parent" and so on...but didnt work.
    Meanwhile I think the because of not all of the pictures - MCs - are attached to the instance of "linkButton" that there's the missing "hand" when hovering with the mouse the button. On testing i found out that some of the pics are still bitmaps although i converted them all in the beginning to MCs (??dont know what i did there...).
    Think the "missing hand" problem will be fixed more easily.
    The bigger problem is, how to avoid the additional blank page in the browser when clicking on the swf on the website?
    It seems to me, that on the one hand, I'd like to have an "active" link on that swf (or button) that shows the "hand" in the mousepointer - but on the other hand, it's not really a website which I'd like to open up then but just an application. So maybe here's the main problem.
    Alternatively I thought about replacing the sequence with the URL request in the code by something rather appropriate for lauching applications e.g. FS Command or something like that. (read that somewhere).
    If someone knows/had similar problems/could help me again - or at least to the next step that would be perfect!
    Thanks again, Ned for your helping advice (I learned something!!!) - maybe you could help me with the above probs?
    Best regards
    steff

  • A SWF Tag of type 75 contains 10 bytes of unread data at the end of the tag at byte offset 1762

    When building with Flash builder 4.7 I get two warnings I can't seem to track down.
    Those are
    "A SWF Tag of type 75 contains 10 bytes of unread data at the end of the tag at byte offset 1762" The other
    "A SWF Tag of type 75 contains 5464 bytes of unread data at the end of the tag at byte offset 797163"
    No file is pointed out or anything else to help.
    Any ideas what to look for, why this is a warning, possible implications & what to do?

    This is one output after running a variation of the script, but I get this   <!-- unknown tag=63 length=16 --> on all of the libraries
    Here is a link to the swc for further inspection https://dl.dropbox.com/u/154782/GoCoUtil.swc
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Parsing swf file:/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.345990/AIRSDK/bin/GoCoUtil.swc.swf -->
    <swf xmlns="http://macromedia/2003/swfx" version="14" framerate="24.0" size="10000x7500" compressed="true" >
      <!-- framecount=1 length=12927 -->
      <FileAttributes useDirectBlit="false" useGPU="false" hasMetadata="true" actionScript3="true" suppressCrossDomainCaching="false" swfRelativeUrls="false" useNetwork="true"/>
      <Metadata>
            <![CDATA[<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'><rdf:Description rdf:about='' xmlns:dc='http://purl.org/dc/elements/1.1'><dc:format>application/x-shockwave-flash</dc:format><dc:title>Adobe Flex 4 Application</dc:title><dc:description>http://www.adobe.com/products/flex</dc:description><dc:publisher>unknown</dc:publisher><dc:creator>unknown</dc:creator><dc:l anguage>EN</dc:language><dc:date>Sep 20, 2012</dc:date></rdf:Description></rdf:RDF>
    ]]>
      </Metadata>
      <EnableDebugger2 password="NO-PASSWORD" reserved="0x1975"/>
      <!-- unknown tag=63 length=16 -->
      <ScriptLimits scriptRecursionLimit="1000" scriptTimeLimit="60"/>
      <SetBackgroundColor color="#FFFFFF"/>
      <ProductInfo product="FLEX" edition="NONE" version="4.6" build="23201" compileDate="9/20/12 12:41 PM"/>
      <DoABC name="com/gogogic/common/util/interfaces/IParsableList"/>
      <DoABC name="_5655ee2c6f5749799717c751ad05c55879a42026a02d38e5e206aab452dbcc6f_flash_display_Spr ite"/>
      <DoABC name="com/gogogic/common/util/ShallowCloner"/>
      <DoABC name="com/gogogic/common/util/GoCoDataUtil"/>
      <DoABC name="com/gogogic/common/util/PropertyParseError"/>
      <DoABC name="com/gogogic/common/util/interfaces/IDataChange"/>
      <DoABC name="com/gogogic/common/util/vo/DataChangeVO"/>
      <DoABC name="com/gogogic/common/util/GoCoUtilVersion"/>
      <DoABC name="com/gogogic/common/util/event/DataChangeEvent"/>
      <DoABC name="com/gogogic/common/util/PropertyParser"/>
      <SymbolClass>
        <Symbol idref="0" className="_5655ee2c6f5749799717c751ad05c55879a42026a02d38e5e206aab452dbcc6f_flash_displa y_Sprite" />
      </SymbolClass>
      <ShowFrame/>
    </swf>

  • SWF files not loading onto page in Catalyst output.

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

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

  • Strange behaviour of .swf movies - AS2/AS3

    Hello from Italy,
         this is my first post and I think I need some help from the experts...
         I am putting together an interactive Flash movie which is made of several different small movies. For the sake of clarity, I'll call them A.swf, B.swf, ..., Z.swf. The movies are launched from each other depending on certain buttons I've implemented.
         The first one, A.swf, is actually a sort of "main menu": it grants access to all the other movies and it is also the point of return from them when a certain button is pressed.
         Important: All the movies are scripted in AS3, except for the last one which, for a number of reasons, is scripted in AS2.
         The return from any (but the last) movie to the first, say B.swf to A.swf, is implemented like this:
    function eventResponseSole(event:MouseEvent):void {
    var myLoader:Loader = new Loader();
    addChild(myLoader);
    var url:URLRequest = new URLRequest("A.swf");
    myLoader.load(url);
    sole_btn.addEventListener(MouseEvent.CLICK, eventResponseSole);
         This is, of course, AS3.
         The last movie, which is scripted in AS2, returns to A.swf like this:
    luna_btn.onRelease = function() {
    loadMovie("A.swf", _root);
         The strange behaviour is this: if I launch Z.swf and navigate with the proper button up to A.swf, everything works. But if I launch A.swf, navigate to Z.swf and attempt to return, this doesn't work. There are no problems, instead, moving up and down between movies scripted in AS3, that is with the first bit of code I've pasted. My guess is that the syntax in AS2 is correct, but something stops A.swf from "launching itself" when the control is transferred to Z.swf, but the movie is launched in the original window. Is this diagnosis reasonable? And if so, would someone kindly provide a way out of this? Re-doing Z.swf in AS3 is not an option, I'm afraid, it will have to stay as it is. I also have to add I've tried some solutions by setting _lockroot, but this doesn't seem to work.
         Many thanks in advance!
         Marco Olivotto

    Mixing AS2 into AS3 is not without stipulations... and I am no expert on translating those stipulations, but here is what the Flash documentation says regarding the matter... the third paragraph may be significant to your case:
    - ActionScript 3.0 code can load a SWF file written in ActionScript 1.0 or 2.0, but it cannot access the SWF file's variables and functions.
    - SWF files written in ActionScript 1.0 or 2.0 cannot load SWF files written in ActionScript 3.0. This means that SWF files authored in Flash 8 or Flex Builder 1.5 or earlier versions cannot load ActionScript 3.0 SWF files.
    The only exception to this rule is that an ActionScript 2.0 SWF file can replace itself with an ActionScript 3.0 SWF file, as long as the ActionScript 2.0 SWF file hasn't previously loaded anything into any of its levels. An ActionScript 2.0 SWF file can do this through a call to loadMovieNum(), passing a value of 0 to the level parameter.

Maybe you are looking for

  • Sales Analysis by Item: Show all items

    I am trying to look for a way to get a report that will show me the Sales Analysis by item, but show me all the items even if the item wasn't sold to any Business partner. Example: I have the following items and sales for today: Item A, invoice $100

  • Can't find link to download E3000 firmware

    I'm sorry to bother you guys with what should be something so easy for me to do on my own, but for the life of me I can't find it in the Linksys Support site.  I installed DD-WRT firmware on my E3000, but I want to go back to the original Linksys fir

  • Driver program for (request for quotation) /SMB40/MMRFQ_A smart form

    Dear friends, I found a standard smartform for request for quotation ie /SMB40/MMRFQ_A..but i am unable to find a driver program for this standard form.. Also checked in TNAPR table and nace t code for driver program. pls tell me the driver prog for

  • Create ASM Disk Groups cannot see Disk Path to select during installation

    Hello Guys, I am setting up 2 node RAC on 11gR2 and Linux. I have configured all the pre-installation steps that are required to run Grid Setup as per my understanding. I have configure SAN partitions using multipath. I can see my SAN volume when i q

  • Getting a scrollpanel to actually scroll

    Hi, what I am trying to do is print out a list dynamically in a panel, but i want the panel to scroll once it "prints" outside the viewable area. I've made a little test example which is the same principle as my actual code: import java.util.LinkedLi