Using Flash 8 swf in Flex2

Is it possible to load a swf created using Flash8 into a
Flex2 app and reference component properties (like a textInput box)
within that swf file? If so, how would I go about doing this. I'm
able to load the swf using <mx:SWFLoader>, but I can't
reference any properties inside that movieclip. Any suggestions
would be most appreciated.
Thanks,
-Nelson

In the traditional sense, "compiled" meant that a program
written in a high-level language was converted entirely into a
computer's "native" language. This is usually some kind of assembly
language whose operations the CPU can execute directly (more or
less). If a program was "interpreted", it meant that the high-level
language was turned into assembly/machine code as it was run.
So in this sense, a program running purely in a VM is
interpreted as far as the hardware is concerned. However, modern
VMs have introduced the idea of "just-in-time" (JIT) compiling
where all or parts of a program's bytecode is compiled into native
machine code before it is executed. Java has had this for a while
and, as far as I know, the folks at Adobe introduced this with
Flash Player 8.5/9. In this sense, it can be said that AS2 was
interpreted while AS3 is compiled. However, I don't know how
"thorough" the JIT compiling is, so it may be half/half for an AS3
program.

Similar Messages

  • Using Flash SWF works great on live view and preview in Safari but does run after upload.

    Help needed.
    I have creatd a SWF file using Flash. Saved to root directory of the website.
    Inserted into a AP tag area.
    Plays Ok in Live view
    Plays OK in Safari preview
    Uploads OK
    Checked file present OK
    Upload Scripts folder
    Will not play when go to website page left with white area where swf should be playing.
    Ideas greatly received.
    Using Dreamweaver 5.5
    Cheers
    Bikeboysim
    www.parrotti.com

    Glad you got it all working! Good job!
    Just a note (for yourself and anyone else using Flash) on the rumor that all Flash files must be in the root folder... simply not true. In my opinion, as with any other type of files on your site, I'd suggest putting them in organized folders.... all the images in one folder... then subfolder for diff categories of images, flv video files in another folder, maybe keep all the .swf files in another, the xml data files in another, etc. Flash asset files can be just as organized as any other type of files.
    From an old article.... for review:
    Pathing issues
    Almost always when it works on the local machine and not the server, it's a pathing problem.
    You can put your Flash related files in whatever folders you want, they do NOT have to be in the root, they do NOT all have to be in the same folder. But if you have a problem and if sticking them all in the root folder works, then you know that the issue was a pathing problem.
    Just remember that paths used in the .swf become relative to the Web page on which the .swf is placed, NOT it’s physical location.  So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root folder, you are in effect, removing that .swf from flash/data and putting it in root. So if the .swf is loading any related files (xml, images, video, etc), the path used inside the .swf to load the .xml file has to be relative to it's new location in root and then back down into flash/data. This is true even though when testing the .swf by itself, it can be inside flash/data and work just fine, since relative to it's location, the path is just fine, they are in the same folder. But if that same path is used when the .swf is placed on a page two folder levels up, the relative path has changed, the old "same folder" path will not work.
    In fact if you are placing the .swf on a web page in a different folder than the .swf is stored in, and that .swf calls external assets, then direct clicking and opening of the .swf in it’s folder should NOT work! That’s because the paths to the external assets should be relative to the Web page and not the physical location of the .swf.
    So just be sure that you use addresses relative to the final Web page locations (not physical file locations) and you can put the Flash related files in what ever folders you want.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    Best wishes,
    Adninjastrator

  • Problems in using Flash swf in captivate 5

    Hi,
    I am using captivate 5 and in that for a project I created some flash animation in flash cs4 and using the swf output file in captivate.
    So the problem is this:
    When I publish the project and try playing the project(exe/html output), those flash swf animations are not playing properly or not at all playing.
    There are around 40-50 slides in captivate and around 90% of those files contain flash swf animation. Some of the animations are playing and some are not.
    In flash cs4 the action script version is 3 and also I tried publishing the project in both flash player 9 and 10 but still some animations are not playing. Its random.
    Any fix for that? Its urgent.
    Thanks in advance.

    There's a known issue with the way Captivate 5 loads SWFs.  If the animation is not all on the main timeline level of the SWF, but the animation has been placed inside a symbol, Captivate triggers the animations to play when the SWF is loaded right at the beginning of the movie instead of making them play only on the slide where the SWF should play.  This means that by the time your movie gets to the slide in question, the animation has already finished playing, and it looks to you like it won't play, when in fact it already HAS played.
    This issue only affects SWFs with animation inside symbols, which is unfortunately the way most Flash animation designers are taught to create them.  It can be fixed via some AS3 code inside the SWF, but this is only possible if you have access to the FLA files used to create the SWF, and you know how to use Flash.
    There is more information in this thread: http://forums.adobe.com/message/3551526#3551526

  • Using a swf generated by Flex from a Flash component

    I know you can include and control a swf generated by Flash
    within a Flex component. But can you do the inverse? Can you use a
    swf generated by Flex within a Flash project/component?
    We plan to develop a "core" module that would be used in a
    lot of other Flash and Flex components we'll develop in the future.
    This core would be a package of classes that could be easily
    re-used by the components. There would be nothing visual in it,
    only standard classes.
    Even if this core would not contain any visual components, we
    would like to develop it using Flex since we prefere Flex Builder
    to the Flash editor to code and debug.
    But I'm not sure if:
    1) A core module like this, developped in Flex, could be used
    by our Flash components or only by other Flex components?
    2) If we use Flex to generated this core, will the resulting
    .swf be bigger than if we would have used Flash to develop it?
    Since there will be no Flex visual components in it, maybe it will
    be as small? Is there a compiler parameter to tell Flex to only
    include the minimum things possible in the generated .swf?
    Any help or link about this would be really appreciated!
    Thanks you in advance!
    P.S. I apologize to those aware that this message was also
    posted on another Flex related forum, but I received no reply on
    it!

    try this. for me it has worked.
    import flash.net.URLRequest;
    import flash.utils.Timer;
    var loader:Loader = new Loader();
    var timer:Timer;
    var myclip:MovieClip;
    //load the Flex Component
    loader.load(new URLRequest("IS.swf"));
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    loaderDone);
    addChild(loader);
    function loaderDone(e:Event) {
    timer = new Timer(100);
    timer.addEventListener(TimerEvent.TIMER, handleTimer)
    timer.start();
    function handleTimer(event:TimerEvent):void {
    //cast the loader.content into MovieClip to access
    currentFrame.
    myclip = loader.content as MovieClip;
    if (myclip.currentFrame == 2)
    however, i need to access properties of IS.mxml..
    any data member would work..
    or if i could dispatch an event in IS.mxml and catch it in
    flash through IS.swf, it would work.
    Pls somebody suggest.

  • Using Flash 8 swfs in Captivate

    Does anyone know of a backdoor method of making flash 8 swfs
    work when imported into Captivate? We are then publishing the
    Captivate movies and integrating them in a Flash 8 interface.
    Your feedback is greatly appreciated.
    Best Regards,
    J

    Hi J and welcome to our community
    There is no way (back door or otherwise) that I'm aware of to
    do this. Unless, of course, you mean to use Flash 8 and export the
    Flash in a version 6 format.
    Hopefully we will see Flash 8 files working just dandy in
    Captivate version 2.
    Cheers... Rick

  • .swf to .flv  using Flash 8 Video Encoder

    I have brought a .swf file in to Flash 8 Video Encoder to
    convert to a .flv file, after Queue is completed the .flv file
    doubles in size. I tried changing the "key frame placement" and
    "Date rate" to bring the file down but the .flv file doesn't go
    down that much. So what am I missing? I want a .swf 8,166 KB to be
    a .flv about half that size, is this possible? If so, am I using
    the wrong program?
    vicky

    well that's the thing - the metadata never traces out if the
    video was encoded with flash video encoder, but that code would
    work fine with video encoded with sorenson squeeze.
    think I have worked it out now though: in order to pause the
    video at start I am calling NetStream.seek(0) when I receive
    "NetStream.play.start".
    For some reason when I do this with flvs encoded using flash
    video encoder, it stops the onMetaData event from firing - but
    works fine with other flvs! weird... shall have to find another way
    of pausing the video at the start I guess.
    thanks for the reply though

  • We have developed a desktop application using Flash software and published the same for MAC environment. When we double click on the index.app file, the application is working perfectly in Mac 10.6.7 at our office. But if the same index.app file is double

    We have developed a desktop application using Flash software and published the same for MAC environment. When we double click on the index.app file, the application is working perfectly in Mac 10.6.7 at our office. But if the same index.app file is double clicked in Mac 10.6.7 at out clients location, its not opening. For your information the client is able to open this same application by double clicking on index.swf file. The main problem is that client is not able to open the application using index.app file at their office whereas we are able to do so at our office. Can anyone give some suggestions to sort this problem?

    The most common reason is different versions of Flash, or different versions of web browsers used.  Some users may elect to not have Flash installed at all because of the processor overhead of Flash.  If you are going to make an application for a client, check what operating system and browser versions they are using first.  Then determine if a stand alone application is required, or if they have the necessary plugins to run specific browser enhanced code.
    P.S. MAC is an acronym for Media Access Control.  Mac is the shorthand for Macintosh, the operating system and computers made by Apple Inc.

  • Flash .swf file not appearing in browser when publishing from iWeb 3.02

    I have been working on a site for the last couple of months that i created in iWeb 2.0 and had successfully had small flash movies that I embedded via html snippets from code provided by numerous sources and youtube videos demonstrating how to get flash movies into one's site.
    The url is
    www.almafoods.com
    Today i upgraded to 3.02 and had to make a change to the home page. The domain opened up fine with all the HTML code and .swf on the page exactly as I had it in version 2.0
    When I now publish to a folder, first of all it doesn't copy over the .swf file unless I create a link to the file, but even when I upload all the directories to my ISP's remote server, the movie isn't not showing up in the browser. The html code file and .swf file are in their correct directories on my ISP's remote server
    I'm baffled as to what is going on here as its the exact same domain that worked perfectly in 2.0 and this has peed me off no end
    Does anyone have any suggestions or encountered the same problem in 3.02?
    Any advice would be very much appreciated

    Your .swf files are in the same folder as the widget-markup files.
    Keep your custom files OUTSIDE the folder with the sitename iWeb creates.
    iWeb will overwrite everything when it needs to do that, wiping out your custom files.
    Put the files in a separate folder and determine the link to these files.
    Read this : Using the iWeb HTML Snippet
    Besides that, to display these tiny pictures I wouldn't use Flash.
    Read this : Create a Banner Slideshow
    And then look at this page : My House

  • How to video via email using flash media playback setup?

    How I can send video via email?  I send every week an email that contain a link to WMV file on our website.  I am trying to send the same thing using flash media player. Here the html generated via flash media playback setup and will not display in an email.  Any advise
    <object width="400" height="400"> <param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf"></param><param name="flashvars" value="src=http%3A%2F%2Fwww.4GodIsLove.com%2F%2FTV%2FFlash%2FLydua_Fares_Elhaana.flv"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"  width="400" height="400" flashvars="src=http%3A%2F%2Fwww.4GodIsLove.com%2F%2FTV%2FFlash%2FLydua_Fares_Elhaana.flv"></embed></object>

    salma_salma wrote:
    Thanks Janaki but how can I add a new application? I tried to do it using Flash Media Administration Console but it doesn't work
    Hi Salma,
    To add an application to FMS follow the below steps
    1. Create a folder "my_app" under "$InstallRoot\applications" directory.
    2. For simple server side code... add "main.asc" file inside "$InstallRoot\applications\my_app" directory which has the content like
    application.onConnect = function(clientObj){
         trace('onConnect function");
         return true;
    3. To add streams to the application, creates 'streams' folder inside "$InstallRoot\applications\my_app" directory, within that create '_definst_' folder and then place your FMS supported streams within the directory. So your streams for the 'my_app' application will be at "$InstallRoot\applications\my_app\streams\_definst_\mystream.flv".
    You can connect to this application using the url "rtmp://your_server_name/my_app". To play the stream mystream.flv using video player, use the url "rtmp://your_server_name/my_app/mystream.flv".
    Regards,
    Janaki L

  • Using Flash in DW extension - Security Settings

    I have a Flash SWF in my Dreamweaver extension, and I pass values between the SWF and DW using the DW API.
    However, to get it to work locally, I need to add the SWF file as a security exception, which is quite inconvenient to potential end-users.
    Is there a way to use Flash in my extension without requiring the end-user to update their security exceptions (or that provides an easy way to do so)?
    Thanks!

    Does anyone have any idea how this is done? The start page
    for Dreamweaver is also a Flash SWF file called welcome.swf, that
    in turn invokes various dw API calls. Trouble is, I have no idea
    what command they are using MMExecute, getURL, fscommand?

  • Flash SWF with Video file will not play in web page

    Hello Flash group,
    I have created a flash video file from a *.wmv file.
    myvideo.flv.
    I have used flash to build an swf file that plays the video
    (with a default skin).
    I have then imported the media file into an html page using
    Dreamweaver. I did not import the flv file, but the swf file with
    the "video" in it.
    The page plays find on my development server (where
    Flash,Dreamweaver, etc is installed).
    When I moved the html page, the flv file, the swf file and
    the skin to my production webserver (linux and apache)
    the flash files do not show up on the web page. The dev
    server is a windows XP running apache 2.2)
    Any ideas on what I need to do???
    thanks,
    eholz1

    It may cause by any of the reason below:
    - You have uploaded the flv file to the wrong directory
    - Your flv file path/name is incorrect. check all case
    sensitive etc.
    - Your web server doesn't support FLV MIME type.
    Another similar topic here:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15&catid=194&threadid =1263131&highlight_key=y&keyword1=MIME
    Hope it helps.

  • Flash swf that runs on every browser except in Firefox. Can anyone help me please?

    Hello.
    I have an flash swf in a site that runs on every browser except in Firefox. I get an warning telling me that the page requires a newer version of flash player but i already have the 10,0,32,18 and the swf was published for flash player 9.
    Can anyone help me please?

    The figures you mention only make sense on your intranet.  Are you still using the same wireless router.  The verizon one is somewhat limited as far as max wireless-n performace.  For one thing it only has a 2.4 radio.   I like many people who wanted wireless-n performance before they even added a wireless-n gigabit router, have my own handling my wireless-n network.

  • How to insert a Flash SWF into my page

    I am using GL6 on an Intel MAC running 10.5.6.  I have a Flash file I created using Flash CS3 and want to have it appear within my GL page.  However when I try to insert the file into the site window, I get the error message: myfile.swf could not be updated. Do you want to continue anyway?
    How do I get the SWF file into the page?
    Thanks.

    You can try to use my flash action original made to avoid the IE Eolas problem
    It wont give you a preview (flash only show in browser)
    It was made in GL5 and shud works in all newer versions
    http://www.jart.dk/jgom/golive/golive-actions/swfobject.html
    If neither GL's nativ or my action works it may be somthing with your flash

  • QuickTime/Flash (*.swf) - no sound

    QuickTime Pro 7.1.6, Flash Player 9UB
    New problem. Everything copacetic until in middle of class, *.swf file embedded in Keynote presentation had no sound. Visual ok, but no sound when playing *.swf files. Even if just open *.swf file in QT, visual ok, sound missing. Same files will play fine in other applications, but not in QT. Everything works on non-Intel computers.
    Must have sound as use flash files extensively (embedded in Keynote presentations) for classroom. Please help. Monday morning is coming up quick time.
    BTW have installed Perian 1.0 to no avail.
    drdillo

    Problem solved in wee hours last night. Had accidentally deleted <com.apple.quicktime.plugin.preferences.plist>. Hadn't discovered effect until middle of class, because hadn't rebooted until then.
    BTW, only time I use *.swf files is in Keynote. If the "Open with:" section of the Get Info panels is set to have all the flash files open in QT and then, in System Preferences/QT/Advanced, the "Enable Flash" property is checked everything works (now) fine.
    Thanks, folks. I'm set for Monday!
    drdillo

  • Can I use Flash classes in Flex?

    Hello,
    I need to know if all the flash classes can work in Flex,
    since some Actionscript which use flash classes works as expected
    in flash but NOT in Flex, so I need to understand or know which do
    works and which does not?
    ..and thanks for any response :)
    Regards,
    Jamal

    it is possible to import any UIComponent made in FLASH CS3 or
    even previous versions into Actionscript and use them. The process
    is more complex though.
    I'll try to explain:
    First make sure that when you created the UIComponent it
    actually exists as a class with in the flash movie, this is give it
    a LINKAGE NAME.
    Second compile this SWF or SWC and put it in the path of your
    flex Proyect.
    Third use de [EMBED] compiler command to include this class
    into your AS class, the way to do it is this:
    [Embed (source="/assets/UICOMPONENT.swf")]
    [Binddable]
    private var UI:Class;
    Once you do that you can use the class each time you want:
    var tmp:MopvieClip= new UI();
    if You don't want to load the hole movie, you can add
    elements of it, just read the documentation on the EMBED Command.
    One thing I've used though is to clone child element's of the movie
    and use them in my class later.
    Some tips I've found out:
    1.- The object created is a MovieClip whith one Child Element
    that's a Loader class.
    2.- You have to implement a Listener to make sure the Embed
    element is loaded before use it or you'll get an error.
    3.- You'll then be able to access all the elements in the
    movieclip created with Flash CS 3 or 2.
    4.- I've noticed that there are some compiling isues when
    using filters in button frames, I've only used the CS2 Actionscript
    preview and not CS3 so I don't know if this was solved.

Maybe you are looking for

  • How to find out the hard coded Z program in my server

    Hi, I have more than 5000 program in the server in that i need to find out how many programs being hardcoded by developer . If hardcoded what feild they hardcoded Like BUKRS , WERKS like that. Is there any standard program to find out ? Please let me

  • Adpreclone.pl running and server shutdown

    Hi, I faced on situation wherein we were running adpreclone on dbtier and unix server went down for some maintenance activity.(DB services were down at that time) Please let me know what is the effect/issues i might face when i restart the adpreclone

  • Variable for budget from starting to previous fiscal year?

    Hi experts, The requirement i got in my report to calculate Budget upto previous fiscal year. For ex: If my project starts on Nov 2004 , then i want to calculate for the year Nov 2004 to Mar 2008. I tried for variable Cumulate to last fiscal yeard

  • Iphoto not saving changes

    My iphoto5 (5.0.4) has suddenly decided not to to save changes - eg: red eye or sharpening. I make the change, click done - but the saved image then resorts to the original (eg red-eye returned!) Anyone else with this problem, or know how to fix? tha

  • Photo recovery

    I tried to upgrade software on my original 4GB iPhone. I was left with a yellow triangle enclosing an exclamation mark, and a message to connect with iTunes. ITunes gives me the single option of restoring original settings and losing all my data. I'v