A Swf into a Fla.

Basically I'm making a website and I have an animation that uses a V-Cam. I want to put this animation into my website.
The probelm is if I just load it, you can "see" the v-cam but you're not looking through it.
It's wierd to explain now that I actually have to try.
But the reason I can't export it as a Giff. or maybe an AVI and just load in as a movie, is because you'd see the Vcam and not look through it.. so I have to keep it a swf, but now even when I do it seems to be doing the same thing.
I need a Swf. player in my website. in my Flash-made website...
I've looked it up everywhere, but it's the V-Cam thing that's the problem, not loading an external Swf.

Hi there!
I was extremely glad to find this post, as it helped me with this same issue, however, in implementing this, it created another issue. I inserted my movieclip exactly as shown, and it works tremendously, except that it now loops continuously. I have tried inserting a stop();  function on the clip's timeline after the mc ends, on its own seperate timeline..it doesn't work no matter where I put it. I do not have just a single actions layer, if that makes any difference.
So my question is, what code stops the mc from looping and where would I put it? the clips code is as follows;
this.createEmptyMovieClip("mc",1);
mc.loadMovie("dnbanner2.swf");
mc._x = 140;
mc._y = 13;
Any help would be very greatly appreciated, I have been at it for days and many, many browsed forums

Similar Messages

  • Inserting old swf into new fla with different frame rate

    Hi, I'm trying to insert an old banner ad into a new Flash site.  The problem is, the banner I made at 20 frames per second, and the Flash site is set to 41, so it literally plays the banner twice as fast.  Any ideas as to what I can do about this?  Thank you.

    A few of them I may have the original source files on disk.  Do you know what's the easiest way to transpose them to the higher frame rate?
    For the ones I don't have, I should open the swf file in the new site and add a frame between each already existing frame?
    Yes I imported the swf, I'm kind of just finding my way around Flash and I don't know how to load them dynamically.  If I did load them dynamically, would they play at their original frame rate?

  • Loading external SWF into a FLA (help!!!)

    Hello,
    I'm building a website in AS2.  I have created a xml driven flash image gallery and am trying to get this into my website.  I'm totally new to flash.  
    In the website I'm building, I have a gallery button on the main page with this code:
    over3_btn.onRelease = function(){
        play();
        target="gallery";
    Which I understand that when you click it, it brings you to the gallery keyframe and play it's contents.  Then I found this code:
    var imageRequest:URLRequest = new URLRequest("my_gallery.swf");
    var imageLoader:Loader = new Loader();
    imageLoader.load(imageRequest);
    addChild(imageLoader);
    Which I pasted into the gallery keyframe, hoping that it will call up the gallery, however, this didn't work.
    Please help.  I've search far and wide and couldn't find anything that would work.
    Here is my the code to my gallery.  Maybe I'm coding it incorrectly?
    var myGalleryXML = new XML();
    myGalleryXML.ignoreWhite = true;
    myGalleryXML.load("gallery.xml");
    myGalleryXML.onLoad = function() {
    _root.gallery_x = myGalleryXML.firstChild.attributes.gallery_x;
    _root.gallery_y = myGalleryXML.firstChild.attributes.gallery_y;
    _root.gallery_width = myGalleryXML.firstChild.attributes.gallery_width;
    _root.gallery_height = myGalleryXML.firstChild.attributes.gallery_height;
    _root.myImages = myGalleryXML.firstChild.childNodes;
    _root.myImagesTotal = myImages.length;
    _root.thumb_height = myGalleryXML.firstChild.attributes.thumb_height;
    _root.thumb_width = myGalleryXML.firstChild.attributes.thumb_width;
    _root.full_x = myGalleryXML.firstChild.attributes.full_x;
    _root.full_y = myGalleryXML.firstChild.attributes.full_y;
    callThumbs();
    createMask();
    scrolling();
    function callThumbs() {
    _root.createEmptyMovieClip("container_mc",_root.getNextHighestDepth());
    container_mc._x = _root.gallery_x;
    container_mc._y = _root.gallery_y;
    var clipLoader = new MovieClipLoader();
    var preloader = new Object();
    clipLoader.addListener(preloader);
    for (i=0; i<_root.myImagesTotal; i++) {
    thumbURL = myImages[i].attributes.thumb_url;
    myThumb_mc = container_mc.createEmptyMovieClip(i, container_mc.getNextHighestDepth() );
    myThumb_mc._x = _root.thumb_width*i;
    clipLoader.loadClip("thumbs/"+thumbURL,myThumb_mc);
    preloader.onLoadStart = function(target) {
    target.createTextField("my_txt",target.getNextHighestDepth(),0,0,100,20);
    target.my_txt.selectable = false;
    preloader.onLoadProgress = function(target, loadedBytes, totalBytes) {
    target.my_txt.text = Math.floor((loadedBytes/totalBytes)*100);
    preloader.onLoadComplete=function(target){
    target.my_txt.removeTextField();
    target.onRelease=function(){
    callFullImage(this._name);
    function callFullImage(myNumber) {
    myURL = myImages[myNumber].attributes.full_url;
    myTitle = myImages[myNumber].attributes.title;
    _root.createEmptyMovieClip("fullImage_mc",_root.getNextHighestDepth());
    fullImage_mc._x = _root.full_x;
    fullImage_mc._y = _root.full_y;
    var fullClipLoader = new MovieClipLoader();
    var fullPreloader = new Object();
    fullClipLoader.addListener(fullPreloader);
    fullPreloader.onLoadStart = function(target) {
    target.createTextField("my_txt",target.getNextHighestDepth(),0,0,200,20);
    target.my_txt.selectable = false;
    fullPreloader.onLoadProgress = function(target, loadedBytes, totalBytes) {
    target.my_txt.text = Math.floor((loadedBytes/totalBytes)*100);
    fullPreloader.onLoadComplete = function(target) {
    target.my_txt.text = myTitle;
    fullClipLoader.loadClip("full_images/"+myURL,fullImage_mc);
    function createMask() {
    _root.createEmptyMovieClip("mask_mc",_root.getNextHighestDepth());
    mask_mc._x = _root.gallery_x;
    mask_mc._y = _root.gallery_y;
    mask_mc.beginFill(0x000000,100);
    mask_mc.lineTo(_root.gallery_width,0);
    mask_mc.lineTo(_root.gallery_width,_root.gallery_height);
    mask_mc.lineTo(0,_root.gallery_height);
    mask_mc.lineTo(0,0);
    container_mc.setMask(mask_mc);
    function scrolling() {
    _root.onEnterFrame = function() {
    container_mc._x += Math.cos(((mask_mc._xmouse)/mask_mc._width)*Math.PI)*15;
    if (container_mc._x>mask_mc._x) {
    container_mc._x = mask_mc._x;
    if (container_mc._x<(mask_mc._x-(container_mc._width-mask_mc._width))) {
    container_mc._x = mask_mc._x-(container_mc._width-mask_mc._width);
    Would really really appreciate any help I can get.  Thuy

    var imageRequest:URLRequest = new URLRequest("my_gallery.swf");
    var imageLoader:Loader = new Loader();
    imageLoader.load(imageRequest);
    addChild(imageLoader);
    is as3 code.  that won't work in your as2 project.
    here's the equivalent in as2:
    this.createEmptyMovieClip("targetMC",this.getNextHighestDepth());
    targetMC.loadMovie("my_gallery.swf");

  • How do you load an swf into another FLA document

    Well, the headline pretty much says it all. I have gotten some swf files from another designer. I need  to show them in my presentation. I am using Flash CS3 for mac. Any advice would be helpful.
    Thanks,
    Rich

    I did find a tutorial on this. It was helpful. I am using Actionscript 3.0
    Here is the code I used and it works. Except, I need to load another one after this one. Basically it is like a slide show of swf files. I need to play 3 swf files after another without any interaction by the user.
    I am thinking I need to tell it to unload the first one and load the second one after the first one is finished and so on. I appreciate any advice.
    Rich
    var Xpos:Number=0;
    var Ypos:Number=0;
    var swf:MovieClip;
    var loader:Loader=new Loader();
    var defaultSWF:URLRequest=new URLRequest("swfs/dannon_1.swf");
    loader.load(defaultSWF);
    loader.x=Xpos;
    loader.y=Ypos;
    addChild(loader);

  • Embed AS3 swf into a AS2 FLA?

    HI, I have a flash site designed in AS2 and want to embed a
    AS3 video player in it. If I republish the AS2 site to AS3 the
    website doesnt function, and if I load the AS3 swf into the
    website, the Player doesnt function.
    I need the AS2 functionality on the website and I need the
    advanced AS3 functionality on the video Player.
    Is there any way to get these two guys to talk to each
    other?

    Creating a 3rd fla, to load the AS2 Fla and the AS3 FLA just
    aint gonna fly. This website is updated daily and its just too much
    of a maintenance nightmare.
    However, I do want to use Wabbits suggestion but I dont know
    how to create a web object.
    The GetURL function opens the swf on its own, which I dont
    want to do. I want it to open the AS3 SWF in a small window within
    the page.
    Can someone help please? Thanks in advance,

  • Loading external Swf into a specific area in Fla file

    I'm sure this question has been asked a trillion time. But truth be told there's no good tutorial for this out there!
    I am trying to load an external swf slide show into my fla file. I want to be able to load into a specific place on the stage.
    I have this code for preloader that loads in an external swf, but it covers the entire swf. Is there any way of changing this slightly to allow it to be loaded in one spot?
    var l:Loader = new Loader();
    l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loop);
    l.contentLoaderInfo.addEventListener(Event.COMPLETE, done);
    l.load(new URLRequest("Fuggles Brasserie Restaurant4.swf"));
    function loop(e:ProgressEvent):void
    var perc:Number = e.bytesLoaded / e.bytesTotal;
    percent.text = Math.ceil(perc*100).toString() +"%";
    function done(e:Event):void
    removeChildAt(0);
    percent = null;
    addChild(l);
    Cheers
    t

    If the loaded object fills the stage, then I have to wonder why you need to locate it anywhere specific.  Or is it possible you are just unloading the rest of the visuals when you use that removeChildAt(0) command such that the loaded object is the only thing  remaining.  In any case, you can assign x and y properties to the Loader ( I do it in the done function, but locating the Loader can be done anytime after it is instantiated)...
    function done(e:Event):void
         removeChildAt(0);
         percent = null;
         l.x = someX;
         l.y = someY;
         addChild(l);

  • Loading external swf into Fla. not working

    I have created a Flash page that loads an external swf into
    it when you click a button. The swf loads but the actionscript
    assigned to the swf which scrolls images across does not work. When
    i open the swf in a browser window with the direct link to it the
    scroll works but inside the fla file the swf loads but the scroll
    buttons are not working at all. Would this be something in the
    actionscripting in the swf or fla file. Any advice would be greatly
    appreciated, thank you.

    var imageRequest:URLRequest = new URLRequest("my_gallery.swf");
    var imageLoader:Loader = new Loader();
    imageLoader.load(imageRequest);
    addChild(imageLoader);
    is as3 code.  that won't work in your as2 project.
    here's the equivalent in as2:
    this.createEmptyMovieClip("targetMC",this.getNextHighestDepth());
    targetMC.loadMovie("my_gallery.swf");

  • Merging ActionScript into existing FLA or SWF

    Hi Folks,
    Are there any tools or tricks to do this? I'm trying to take
    existing (arbitrary) FLA file (or SWF) and merge in bunch of
    ActionScript code into it so that resulting FLA file (or SWF) ends
    up executing my ActionScript when the Flash presentation starts up.
    I'm interested in tools that will allow me to do this using
    command-line - I don't want to go through manual procedure of
    operning up the Flash 8 editor, creating new layers, coping the
    code into first frame, etc. I would like all this to be done
    automatically through a command-line.
    I look into Flex but it seems Flex cannot deal with existing
    FLA files and you need to start with a XML definition file. This
    doesn't help me as I have bunch of existing FLA and SWF files I
    need to work with.
    Since it is possible to decompile SWF into FLA, I imagine
    there must be a way to hack it (e.g. through binary patch).
    Any help would be great. Thanks.

    See:
    http://www.osflash.org/open_source_flash_projects?s=command+line

  • Importing a SWF file into AS3 FLA

    Hi,
    I've imported some SWF files I've built, under base class
    flash.display.MovieClip, into an AS3 code-only (Flash 9 on
    Macintosh) file. The visuals work fine when I call
    importedMovieClip.play(), but there's no sound.
    My current method is pretty simple:
    - Import the SWF into the library with classname
    ImportedMovieClip and base class of Movie Clip.
    - var importedMovieClip:ImportedMovieClip = new
    ImportedMovieClip();
    - theBackGroundSpite.addChildAt(importedMovieClip,
    theNightSky.numChildren);
    - importedMovieClip.play();
    I've done a workaround by building and importing separate
    soundtracks but since there's a fair bit of animated lip-synching I
    am not keen on having to do this twice and would prefer my imported
    SWF to bring its soundtrack with it.
    Obviously I am missing something ... How do I access the
    soundtrack within an imported SWF? Do I setup another SoundChannel
    using the imported MovieClip, or is there a MovieClip property I
    need to switch on, or is there some other method?
    Cheers
    Dougal

    You do not want to import an swf file.  You should either load it in dynamically or copy and paste its timeline into a movieclip symbol in your other file.

  • I'm no longer able to successfully import SWFs into AE

    Hi and apologies for the NOOB question. I've been searching for hours for information on this situation but have had no luck.
    I've been using AE CS5 since last year, primarily to convert SWFs into high quality MOVs. Everything was working fine until bbout 3 weeks ago. Since thenm whenever I import a SWF, it displays  in the Project area as a 72px black box without any data regarding dimensions or file size.
    I can open older files and everything displays fine, but if I try to import a SWF (or even one that worked before), it shows up as the 72px black square.
    I'm guessing that it may have been an inadvertant upgrade of some sort that caused this, but have no idea how to solve it. I'm running AE 10.0.2.4 on a MacBook Pro (Intel Core 2 Duo) running OS 10.6.8.
    If anyone can help me resolve this problem, I'd greatly appreciate it.
    thanks,
    Mike

    Well, I've resolved the problem, kinda.
    I uninstalled Flash CS5 and AE CS5 last night, then reinstalled them. I then opened one of the AE files with the "junk" SWF in it, and nothing had changed.
    I then tried to import one of the questionalbe SWFs into AE on another machine and the same problem. But I could import a SWF made on that machine into AE (running on that system).
    Then I brought that SWF back to my system, and was able to successfully imported it into AE. I then imported one of the questionable SWFs made before the software reinstall, and got the 72px black square. So I opened the FLA made a new SWF and happened to move it to the desktop. I was able to successfully import that SWF.
    This is where it gets weird. I then made a new SWF and left it in the local folder with the FLA and tried to import it. black box again. I then drag-copied that SWF back to the desktop and I was able to import that.
    So at the moment, it seems to have something to do with the location of the SWF in relation to the AE file? That's the best that I can figure at the moment. Though I'm not sure why this would, or should, be a factor. I wish I had tried this before doing all the software uninstall/reinstalls… but I never would have thought that it could have been an issue.
    Thanks again for your prompt input yesterday.

  • Beginner Question re: SWF files and FLA files

    Hi,
    Im new to flash. I have some templates (in FLA format with all supporting files...xml; html; and the swf file). When using html templates, I can modify the content easily by simply adding or changing the text <p>original text</p> to <p>steve custom text</p> and so on.
    My issue is Im trying to modify the content of the fla files into a new swf file but do not know how to access the text, background or images the tempalte is currently producing. The timeline at the bottom doesnt show objects and their timelines like the basic tutorials show me.
    Is there a way to access the content of of an fla file or perhaps the content of an swf file? I think the swf file is like a jpeg coverted from RAW, meaning its the end product and the source file is where the modify is done.
    Am I swimming in the deep with sharks?
    Thanks!

    hmm..so if the template ive downloaded depicts a green ball bouncing across an orange  background(swf file). The objects (green ball) and the background (simply overlay colored orange) is embedded into the FLA AS3 code?
    not necessarily.  they could be created with code, they could be created with the tools in the fla and they could be loaded bitmaps.
    To be clear these objects (in my example: ball and background) are not external jpegs (or similar file type like png) which I can open, edit, then allow the code to access and utilize the new object. For example, change the ball into a square and changes it color to purple and then change the background to pink via PS or illstr.
    In short, Im having trouble trying to find the objects which are being manipulated by the code. My current perspective with templates is to modify the image or text by accessing the files delivered with the template. If the .html commands to place image221.jpeg in certain div, I would just open the images files, find image221.jpeg, modifiy the image and then save it as image221.jpeg. Of course I can create a new image save it as steve123.jpeg, save it to the images folder and then modify the code to access the new file by using its new name.
    This is what Im trying to accomplish with my flash template but cant find the source objects .
    Im getting the impression this cant be done.
    that's almost certainly incorrect.
    My final question is then, where are source images or text or movie files stored?
    noone can say without direct inspection.
    Is it possible they are on third party servers on the web?
    no
    Are they imbedded in the code?
    maybe yes, maybe no.
    I can only assume if they are stored on my drives (in an external format) that I would be able to access them.
    correct.  more specifically, they would have to be in the directory with your embedding html and swf or a subdirectory.
    If however, they are on a a third part web site or embedded into the code, then I may be in way over my head.
    you can assume this is not the case.
    so, open the fla in flash.  click control/test.  click view and make sure bandwidth profiler and streaming graph are checked.  you should then be able to see the main timeline as the swf plays.  note the main timeline frame where you see the object(s) you want to edit. 
    close the test environment and go to that main timeline frame and start sleuthing to see if the objects were created in flash.  you can also click on the first object in the library and arrow down looking for the object(s) you want to edit to see if they were created without code.  if you find them, note their library name and possibly linkage id or class.  use movie explorer to search for those names.
    but, to be sure, it can be very difficult to edit templates.  i've not seen one yet that was made by a competent developer and i've worked on dozens of them.

  • Need Help Loading SWF in a FLA

    I simply want to call a swf into an existing fla. I have
    tried everything. When dragging the timeline, you see the swf. When
    you preview, it is not there. Background - I have an exisiting fla
    that contains the image background for all. I want to set a
    transparent carousel menu on top of the background that is in the
    fla and leave the existing background and lower objects in place.
    The carousel.swf will need to call java and an xml file on the web
    server.....all external to the "summed" final. If I could layer
    flashed in DW, then the problem would also be solved. Please be
    detailed, I am obviously not a developer.

    although I'm not certain why you would not just 'place' the
    background 'image' on the stage in the fla (probably because you
    wish to change it dynamically down the road) - you need to 'load'
    the swf, not 'place' it within the other file. you do this with the
    MovieClipLoader class.
    with the swf that you wish to load in the same directory as
    the swf of the carousel file, place something like the following in
    the first frame, on a layer called actions, in the actions panel:

  • Loading an external .swf into an empty container

    I'm loading an external .swf into an empty container.
    Everything seems to work fine except when the .swf is loaded both
    seems to be running extremely sluggish. The button rollovers are
    slow, the page transitions..everything. I can't figure out why it
    is doing this. Both .fla's have the same frame rate. Is there some
    known reason why this might happen?

    well, we've tried that and it is actually a little bit worse.
    Normally i test everything in a browser window anyway. I'm thinking
    it might be a naming issue of some variable or something that is
    the same for both fla's....not sure yet though.

  • SWF linked to FLA

    Hello,
    I'm using Director 11.5 and I have a movie which uses several FLA files. For performance, I've imbedded the FLA files in a SWF file and then imported the SWF into Director. If I put the source FLA file in the same director as my Director movie, everything works fine. However, it I put them in a subdirectory it stops working. All I get is a black screen.
    I've tried setting the searchpathlist and appending my FLA directory but it still doesn't work. Does anyone have any ideas?
    Worst case, I could put everything in the root directory but I'd like to keep things more organized than that.
    Thanks in advance for your help!
    Todd

    I find that the best way to work with SWFs inside Director whilst retaining links to the source FLA files is as follows:
    - Import the SWF into Director. Fully embed smaller SWFs, but if it's a large FLA you may want to consider linking to the external SWF file (making sure it's located in a the same path as your Director movie, or a subpath of the movie).
    - In Director, select the new SWF cast member and select the Flash tab on the member inspector. Here you can tell Director where the source FLA is stored by clicking the browse button on the lower portion of the tab - the FLA can be located anywhere on your filesystem (I normally keep them external to the Director movie's path structure so that there's no risk of accidentally including them in the published package).
    - To make changes to your SWF either double-click its member (as Sean_Wilson points out), or select the member and press the "Edit" button in the member inspector. Either will cause the FLA to open in Flash, and for Director to be "blocked" by a modal dialog box that says "Editing in Flash etc.etc."
    - In Flash you can make your changes and then hit the "Done" button (located below the timeline in CS4 - don't know where it is in CS5). When you press "Done" several things will happen: The changes to the FLA will be saved and a new SWF will be produced that will automatically replace the one embedded in (or linked to) Director.
    - If you want to cancel the changes you make to the FLA then just close the FLA (choosing not to save the changes), return to Director and click "Cancel" on the "Editing in Flash etc" dialog box.
    As a workflow it works perfectly, and there's no need to embed FLAs inside a SWF.
    As-for losing links to your SWFs - this won't happen if you fully embed them in Director (rather than linking to them), and this is the method I favour for smaller SWFs. If you are linking to them rather than embedding them, then you should update their links in a prepareMovie or startMovie movie script like this:
    on startMovie
         --determine the host's native path separator character and assign it to pathSep variable
         if _system.environmentPropList.platform contains "mac" then
              set pathSep = ":"
         else
              set pathSep = "\"
         end if
         --update the filename references for linked members...
         member("MySWF_1").filename = _movie.path & "swfFolder" & pathSep & "MySWF_1.swf"
         member("MySWF_2").filename = _movie.path & "swfFolder" & pathSep & "MySWF_2.swf"
         --etc.
    end
    This way the members will always point the correct SWF files, no matter where you move the program folder, or if you rename of folder or whatever. Whether this will fix the problem when the SWF contains embedded FLAs I don't know - I've never tried working that way.
    Finally, if you embed your SWFs into Director (rather than linking to them) then it can sometimes be a good idea to place their members into a linked external cast, thereby giving you an easily reusable library of Flash-based assets (which is possibly what you are trying to do by embedding FLAs into a SWF). This also keeps your SWFs external to your main movie, resulting in a smaller projector.
    Hope that helps

  • Import a word document composed in Arabic font (.ttf) into a .fla

    Hello Everyone;
    I am developing an advance e-book in Flash. My client has composed about 500 books in arabic using Microsoft Word. My client wants search features in this book in which the user will type something in arabic & it will search the ebook text and give him results, so I cannot convert the text into vector or image I have to keep it as text. I want Import a word document composed in Arabic font (.ttf) into a .fla file without losing its formatting. Rightnow I am able to import the font using copy/paste from the word document into Flash, but it changes the font, but I fixed it by changing the text property from "classic text" to "TLF text" which fixed the font. Even though the copy/paste method works without formatting its not practical for my project because there are thousands of pages and copy/pasting them one by one frame by frame is time consuming & not practical.
    I need a method or a third party software through which I can convert the word documents into fla or swf keep the font as text & very important without messing up the font and formatting.

    3rd Party software that can be tested for free:
    print2flash
    wordflashpoint

Maybe you are looking for

  • Purchasing wrong app while trying to re-install app?

    My computer died so I had to get a brand new one. There is no "re-download all purchased app" button (which i don't under why it hasn't been implemented) I followed http://support.apple.com/kb/HT2519 to re-download my apps. Now, I have a lot of apps

  • WHy do my pinned tabs not come up when I reopen Firefox?

    I have pinned my email and internet radio in the tab bar. After I exit Firefox 4 and then return - the pinned tabs are no longer there. Also the "ghost" tab with the + sign (to open a new tab) is missing at the right side of the tabs in the tab bar..

  • Consignment Inventory - Off Quality to be returned to Vendor

    We have several materials from a consignment vendor that have been transferred to blocked status due to it being of 'off quality'.  Normally, we would execute a 102 movement against the receipt and return the material to the vendor since it is in con

  • I can't turn my i phone off

    i can't turn off my phone. it is a 3 or 3s whatever but none the less i cant re boot it. can anyone help

  • Getting BEx query header data into Xcelsius for line chart Category Labels?

    Hello - Is it possible to get header data from BEx queries into Xcelsius so they can be used for Category Labels in a line chart? We have a BEx query that displays 16 weeks of shipment trends by column and text variables are used to display the respe