Importing SWF files

I import a SWF with start/stop keys in Captivate, and the sound is not playing.  I don't know if this is a Flash problem or a problem of Captivate.  I posted this same question on the Captivate forum and received no response.  The SWF seems to play very well, however, when I import into Captivate the sound will only play.

A that someone has experienced this problem?  Should I publish the swf file somehow?

use:

var song_sound:Sound = new Sound (this);
song_sound.attachSound ("Slide 5.wav");
play_btn.onRelease = function() {}
song_sound. Start();
};
stop_btn.onRelease = function() {}
song_sound. Stop();
};

Tags: Adobe Animate

Similar Questions

  • Resizing of the imported swf files...

    I have a clip I want to import a swf file, the swf file is larger than area of the clip. I tried to use a resize code for the import of images that I found, but it makes the very small swf. Is there a way to control the size of the imported swf file?

    Maybe something like this should work, based on what you say.

    My code was a bit more complicated because my equivalent of the charger clip changed size and shape sometimes and I had to accommodate that.

    There is also an another gotcha with this... it's easier if the content inside your charger clip has its top left corner at 0,0. Otherwise, you must assign target_mc _x and FLF properties in the onLoadInit region where I mentioned also.

    To help understand the target_mc is just a reference to the element of the view inside "loader" that is passed to the listener, onLoadInit function after that the swf file is loaded.

  • Impossible to import swf files in captivate 8

    I'm trying to import a swf file into the new Captivate 8 using the sensitive project. When I select my file and try to import, nothing happens. Import PNG files very well. This type of project not take swf?

    Hello

    SWF files are not supported in sensitive project. SWF files should work properly in a project inadmissible.

    Kind regards

    Alexis

  • Text on the imported swf file input field is not "entrable" in presenter

    I created a swf file (created using Actionscript 2) in which the user can enter text. The file works fine as a stand-alone swf, but when imported and published from Presenter, the field is more entrable. Help!

    Hey BillG-Chicago,

    Greetings from Adobe.

    Can you please confirm the version of Adobe Presenter, in which you have imported and post your (created in ActionScript 2) SWF file?

    Since Adobe Presenter 7.0.7 or later only supports ActionScript 3 and which could be the reason why your SWF file does not work as it has been created in ActionScript 2.

    Kind regards

    Ajit

  • Help with insert or import swf file in the model of the open fla file

    Can someone show me how insert or import a swf file in the template fla file.

    I have a FLA open temple and after importing a SWF file, run the test and the swf file does not work.

    Did I miss something?

    Thank you

    Import a swf in a fla is not the way to get to each other.  Any actionscript in a swf file is lost.  You need to load the file swf dynamically either or you must copy the timeline of the FLA that the swf is made from to the other fla.

  • When you import SWF files, they become shorter (time)?

    Hi, I use Captivate 4.0.0 Build 1596 on WIn XP Pro SP2.  SWF files that I use are records of screen of BB Flashback Pro 2.6.3 build 1205 (http://www.bbsoftware.co.uk)

    SWF files are 1280 x 1024 and when I export them they have the following parameters:

    Maximum frame rate (14 FPS)

    SWF format

    Lossless compression

    No Audio

    Export images 0-420

    HERE'S THE PROBLEM:

    In Internet Explorer 7 the SWF files load very well and takes 30 seconds to play from the beginning to the end (420/14 = 30 seconds)

    When I load into Captivate 4.0.0 is now only 14.1 seconds of time and there are 422 frames?

    If I export it at 30 fps I get a file that matters in Captivate, which is 30 seconds in length, but is now 901 images?

    Because the way you have only 16000 images I am now limited to about 8.5 min for my SWF file.

    Why Captivate changes the playing time?

    I am very new to Captivate and this was the only real problem I've had so far.  If I could get this problem solved, then I'd be a very happy camper.  Thank you!

    Hello

    I was recently advised by the development team of Captivate that the limit of 16 000 framework does not apply to things created using Captivate. Apparently it has something to do with the way they structure the content.

    So if it's not a problem the only thing remaining to fear with is the disparity of frame rate. If you create something that works at 14 frames per second, you must configure Captivate to run at 14 frames per second when you are using the same content, so there is no inconsistency. Or knock your creation at 30 FPS to match that of Captivate.

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • Impossible to import SWF more! ?? Workaround solutions?

    Oh dear. As the host, being able to import SWF files from always useful.

    According to me, it seems impossible to do more.

    What is the solution more simple, you guys found?

    I guess I can convert a stream of image and import. Also I can copy a chronology of one FLA to another. Both are of extra work.

    I thought that the upgrade was supposed to add features?

    The simplest solution is to use the version that provides the features you want.  CC has many useful features removed.

  • Updated Txt field in a SWF file

    I'm working on an application to convert to Flash AS3 over Flex. A question I have is on importing SWF files and update of a text box in the swf side. I can spend two routs here. One, re-create the movies with Flex components. Import of two existing sovereign wealth funds. import will save time for you. They are just a clip with 4 zones of text in them.  Ideally, I would like to import the SWF file and always be ablel to update areas of text inside them.  This doesn't seem to be the case.

    Here's how I import the SWF file right now and they load without error...

    < mx:Script >
    <! [CDATA]

    ...

    [Embed (source = "... / assets/redStatsBack.swf")]

    [Bindable]

    public var redStatsBackSwf: Class;

    ...

    []] >
    < / mx:Script >

    < mx:Image source = "{redStatsBackSwf}" id = "redBox" autoLoad = "true" scaleContent = "true" width = "166" height = "132" x = "10" y = "26" / >

    Save in my as3 in a function, that I thought I could do just normal...

    redBox.fieldRedtxt.text = "display some text here."

    .. and it would update the text field.  No such chance unless I'm not access the film properly as 'redBox '. Also, when I export the SWF file, I export settings to ActionScript.

    Picture 5.png

    If you embed a SWF file, it wraps in a MovieClipLoaderAsset and the SWF becomes something like

    Redbox.content.getChildAt (0).

    Other options are to import the SWF file as a bytearray and use loadBytes or load them externally, especially if they are large.

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • Shorten the length of the blade according to the State of an inserted SWF file

    My question may be advanced.  I am using Captivate 4 for this project.

    I am trying to create a manual online that describes a technical system.

    I created multiple SWF files for the various components and inserted them into a master project of Captivate.  I use the table of contents in the main project to provide navigation components.

    My problem is that the SWF file to show the various components have a visible bar of 'control'.  Since it is an event (without audio) we slowed down (some say too slow) for slow readers.  But given the control bar allows readers 'faster' the ability to speed upward and etc.

    My question, so if a user it accelerates and reaches the end of the file SWF slide continues until the 'period' is over.  For example, I have an embedded SWF which is 66 seconds long, the blade must be 66 seconds long to allow it to play fully.  I tried to adjust various settings and the settings of the imported video, but no matter what the video should be 66 seconds before I can do anything with the slide that hosts it.

    Any ideas?  I do not control the imported SWF file (which is actually a published Captivate project) and I do not master the file SWF Captivate "accommodation".

    Main reason for which is "broken apart", is can I outsource the various resources so I individual file charges "on-demand" and does not have a massive SWF file.

    Before asking, I thought using the Aggregater, but it does not work in Internet Explorer (HTM file) and will not cross the Preloader and my audience does not flash drives as I do.

    Hi Ziqiel, hope I will find the solution.

    I use the same technique as you Captivate 3. I insert the SWF on a main project. So, I insert a clickable area with options to "Stop the project until user click ' and 'no action '. You place this box anywhere on your slide where the swf file. It shut down the main project, but your swf will continue to play until the user clicks a button to continue.

    It is clear to you? And is it useful?

  • I can't import a SWF file into Premiere Pro

    Please indicate how to import a SWF file in Premiere Pro. I tried to import as a film, but it wouldn't work.

    Hello

    From Adobe Premiere Pro 7.1, you can't import FLV files directly into Adobe Premiere Pro. While the TCF work with FLV images, use Adobe Media Encoder to import FLV files and transcode the FLV files in a file in charge of type. For example, use the H.264 format.

    After Effects and Adobe Media Encoder, always support the importing of FLV files.

    Export of FLV file is still available in Adobe Premiere Pro.

    Peter Garaway

    Adobe

    Premiere Pro

  • Help importing SWF / FLA form in the FLA file.

    I tried to import, embed or load a contact form into a site in flash fla (I have the swf and fla files) but I can't seen to make it work.

    Any suggestions on the best way to go about this?

    -Jason

    If the form is a separate Flash file and you have the source fla for that file, you pretty much have two options.  Copy the timeline of the file of the form into a movieclip in your other file, or dynamically load the swf file when the file is running on a server.  How you load the file dynamically depends on which version of Actionscript you are using.

    You do not want to import the SWF file in the library... the imported file will lose all its coding if you do.

  • Best way to import a Camtasia. SWF file?

    Recently, I created a screen (such as a .swf file) using Camtasia Studio 5 tutorial and want to import the .swf, I created a topic of a Web Flash project that I'm working on. I tried to put the .swf in a .htm but RoboHelp crashes. It does not crash with other .swf files, but on this one, he does.

    The file plays fine if I double-click the .swf within Windows Explorer, it seems a problem with RoboHelp.

    Now, I can get the video to work within the project if I copy the .swf file, the .js file, and file the swf .htm manually copy the project folder. If I lower it CTRL + W, at this point it works. If I build the project, the .swf and .htm (because I copied them manually) don't get included in the layout of a single source file. I can probably add them manually it too and then publish it, but there must be a better way.

    Anyone has any success with importing files .swf Camtasia in RH7 and perhaps could give me some advice so I do not have to manually copy the files in the world?

    Ah yes... the baggage files * made a mental note *... I still forget those. That seems to work. Thank you Rick.

  • Flash .swf file import

    Hello

    I'm not so good with flash . How can I easily import a flash animation in my new flash movie.
    So, how can I add a .swf file in my movie while the objects that I made in the new film are around it?

    Thank you

    Hello again,

    I finally got working .
    Thank you very much urami!
    I've done the same name to the instance and movie clip:
    instead of Slideshow_placeholder to slideshow_placeholder. The code I used is: loadMovie ("Slideshow.swf", "slideshow_placeholder");
    And finally, it does what I want it to do.

    Thank you for your help

  • import another swf file into the homepage flash (swf is a gallery)

    Hello!

    have a problem that I can't bring myself...

    I downloaded a free to use juliuswebdesign.com Gallery (the Gallery) and I am trying to load it in my flash site...

    the gallery now works, if I open it directly (I open the swf file)

    BUT

    When I try to load the external swf file into my website

    loadMovie("image_gallery.swf", box);
    

    then the movie loads... the Gallery poster the poster "loading the xml file" message, then when the XML is loading the message "load image 1/7" screens and only the first image of the charges. "

    Once the first image is loaded it does not appear (he stay out of my swf file... I can see it when I resize the window) and no other images will be loaded.

    If I open the file gallery.sfw again everything works fine... the problem is that if I try to load the gallery.swf into another swf file...

    something must be wrong...

    I tried to opern the file gallery.fla and Coptic all directly in my site and the problem remains the same... 1 single image loaded and not exposed in the gallery...

    i ' ts as something in my site 'blocks' the Gallery beeing loaded...

    any suggestions?

    fla gallery add the following and test again:

    This ._lockroot = true;

  • Manipulate swf files that contain multiple images

    Hello

    I'm trying to manipulate a swf file containing multiple images inside, but I can't image of it.

    The detail of what I mean is:

    I imported a swf file to a cast member. Then, I created a sprite on stage with the contents of this member. Finally, as I need to zoom, I made a copy of the Member image using the command "copyPixels" and the content is displayed without problems on stage. So far so good.

    The problem appears when the swf file contains several images. If I move for them (using for example getToFrame (sprite (num), 2) to go to the second), on stage, it shows the corresponding image without problems. But if I do a "copyPixels" using the reference to the Member when the SWF has been on scene is always displays the first image.

    I tried to make a copy of the scene when the sprite shows one frame other than the first, but this option didn't allowed me to get the picture, which indicates that the property is not available.

    Any idea of solution?

    Thank you.

    I used the command that you offer me

    and solved my problem.

    Thank you very much.

Maybe you are looking for

  • Portege M200 - HARD drive replacement

    Hello world I bought a Portege M200 opportunity and replaced the 40 GB with a 160 GB hard drive. After about a week and a half of research, I managed to get almost everything and running upward.

  • Photo Viewer

    This question relates to the photo viewer.  How to make all the thumbnails be actual photos and not the same chosen window pic?

  • Freezing at the Office - cannot open all the files, shortcuts, start menu, etc.

    I was running a lot of programs when my computer froze. I press power to restart and chose to restart in normal mode. I was able to get on my desktop, but unable to do anything else. My mouse wouldn't work, but Office would freeze if I tried to open

  • two vista installed, first of all, a damaged and not formatted, how to remove it

    My first vista got corrupted everthing I tried to fix it but he was never able to load. so finally reinstalled vista again and he could not formatted the damaged so it installed next to him and now I have no more free space. How can I remove the dama

  • PIX PIX VPN - error log

    I created a VPN between our PIX and PIX customers but receives the following error message when I try to activate tunnnel. I checked the ACL on both ends. Any ideas? ISADB: Reaper checking HIS 0x80da9618, id_conn = 0IPSEC (sa_initiate): ACL = deny; N