Problem in calling 1.swf into anather

I am calling 1.swf and 2.swf in 3.swf,
each .swf having there own small type of animation effect
after click START button that each one having.
when i am called 1 and 2.swf in 3.swf, 1.swf and 2.swf
buttons are activated but its not working further on click.
can any 1 tell me how to solve this problem.
Regards
Bipin N.

"justbipin" <[email protected]> wrote in
message news:e7r3am$a5c$[email protected]..
>I am calling 1.swf and 2.swf in 3.swf,
> each .swf having there own small type of animation
effect after click START
> button that each one having.
> when i am called 1 and 2.swf in 3.swf, 1.swf and 2.swf
buttons are activated
> but its not working further on click.
> can any 1 tell me how to solve this problem.
>
> Regards
> Bipin N.
How to solve it without the code? When you have a code
problem, post the code or a link to it.
tralfaz

Similar Messages

  • Problem when i put swf into html page

    Hi, My swf is working:
    http://dianecollins.com/sean_movieclip.swf
    But, when I put it into an html page, it doesn't work.
    http://dianecollins.com/sean/
    I'm looking at the contact button on the top right - on the
    swf it slides over to the left when you rollover, but on the html
    page, it doesn't work.
    Any suggestions?
    Thanks!

    simpler remedy:
    http://activecontent.blogspot.com
    "coldMiner" <[email protected]> wrote in
    message
    news:eessog$gu0$[email protected]..
    > on ie you have to click to activate flash.
    >
    > remedy:
    >
    http://blog.deconcept.com/swfobject/

  • Load AS2 swf into AS3 swf problem

    I have a flash with AS3 and inside this swf i load in a AS2 swf.
    to load swf works just fine, but the problem is when i load this i want to go to
    a specific part of it, for example i want to go to frame 3 in the loaded swf.
    i must control this from the AS3 swf, does someone know if this is possible?
    thanks in advance

    so can i do like this then to go to frame 3 in my loaded swf?
    MovieClip(ldr.content).gotoAndStop(3); ?
    sorry for being such an airhead
    thanks for helping me out =)
    Date: Sun, 7 Jun 2009 10:25:09 -0600
    From: [email protected]
    To: [email protected]
    Subject: load AS2 swf into AS3 swf problem
    no.
    if, in your loaded swf, you have a function f1() on the loaded swf's main timeline and you load that swf using a loader (say ldr), use:
    MovieClip(ldr.content).f1();   // to call f1() in the loaded swf
    >

  • Problems with embedding swfs into Director 11.5

    Hello everyone,
    I am hoping someone can help me and please bear with me - I don't know a lot about director - I can do some Lingo and get around in the program to make things work.
    Right now I am working on an interactive presentation where the user can click a button to view an animation. I am using Director 11.5 for my presentation and have made my animations in After Effects CS3 -- from there I converted my .mov files to .flv files using the Adobe Media Encoder CS4... then I took my .flv file into Flash and published it as a swf file.
    The problem that I am having is that when I play the presentation (within Director and after publishing the .app/projector file) the swf files are playing - but there is all this glitchy-artifact stuff all over them. Does anyone know why this would be happening? When I play the swf files in the flash player they look great. Before, when I was using Flash MX and Director MX, I never had any problems with embedding my swf animation files - and they played great - without any artifact. Any and all help would be much appreciated as this project is due in the next few days and I would prefer to figure out a solution rather than uninstalling Flash CS4 and Director 11.5 - and going back to MX.
    I toyed with the thought that my video card isn't good enough but I tested the .app file on another machine and the glitchy-artifacts were still there. I have attached a jpg showing the artifact that appears.
    I am running Mac OS X 10.5.7
    Dual 2 GHz G5 PowerPC
    ATI Radeon X800 XT
    Thank you!

    Sorry... here is the image again and I think the problem might be my machine -- it is very old (~4+ years) and when I tested my .app on a newer intel mac here it worked fine... but maybe I am missing something -- it seems odd that I can see the swf fine in flash player but it is glitchy when played through director or the .app projector file

  • Loading SWF into level and setting height/width/location?

    Hi folks, I am an old AS2 guy who gave up on Flash heavy coding when it switched to AS3. Always thought it was less intuitive, longer, and a brand new language and I got tired of trying to keep up when most of my clients did not want to pay for a full flash site. But I got this client...
    Here's the problem, I can load a swf into my main stage or into an MC , but I cannot find out anywhere how to set parameters or load into a level so it doesn't replace the current material or fix to a size that doesn't block my other material.
    I've gotten this far:
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    loadGallery();
    function loadGallery():void
    var l:Loader = new Loader();
    var req:URLRequest = new URLRequest("shortstack.swf");
    l.load(req);
    l.contentLoaderInfo.addEventListener(Event.INIT, galleryLoaded);
    function galleryLoaded(e:Event):void
    addChild(e.target.loader);
    What i want to do is load shortstack.swf into level 5, say, and fix it to the bottom left corner of the stage, and set its height to 400px and width to 980. 
    I have a an MC on the stage at those exact dimensions called placeholderMC, but I cannot figure out a way to target it, and the tutorials I've read have to do with loading on CLICK (I want it to load on enterFrame), and none of them tell me how to set parameters, as I could in old AS2.
    FWIW, AS3 may be more powerful, but AS2 was easier to understand.
    TIA,
    Jeff

    http://www.adobe.com/devnet/flash/quickstart/display_list_programming_as3.html

  • Can I load a swf into my Flex app that loads other swf's?

    The code below loads an AS2 swf into my Flex mobile for IOS app and it works.  If that AS2 swf has like a circle in it that runs across the stage, it loads and displays properly when run in FlashBuilder.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     xmlns:mx="library://ns.adobe.com/flex/mx"
                                     initialize="init()">
              <fx:Script>
                        <![CDATA[
                                  import mx.core.UIComponent;
                                  private var request:URLRequest = new URLRequest("http://PATH_TO_AS2_SWF");
                                  private var loader:Loader = new Loader();
                                  private var myComponent:UIComponent = new UIComponent; 
                                  private function init():void{
                                            myComponent.percentHeight = 100;
                                            myComponent.percentWidth = 100;
                                            loader.load(request);
                                            myComponent.addChild(loader);
                                            player.addElement(myComponent);
                        ]]>
              </fx:Script>
              <s:Group id="player"
                                   height="100%" width="100%"/>
    </s:Application>
    But if that AS2 swf loads other swf's, they don't load or display.  My FlashBuilder debugger reports no errors or security sand box violations.   I'm using the most elemental code in my AS2 swf so as to not cause problems.  This is it in its entirety:
    this.onLoad = function(){
              _root.loadMovie("http://[PATH_TO_REMOTE_SWF]");
    The paths to the remote content are fine because swf's load and display fine from AS2 swf when run on it's own - not embedded in Flex app.  They also load and run fine if I cut out the AS2 swf and access directly from my Flex code.  So I know there isn't a path issue.  More likely not accessing the right layer in the AS2 swf from Flex or something.  Or maybe security sandbox violation but I don't see anything reported in the FlashBuilder debug console.  When run console just reports:
    [SWF] SwfMobile.swf - 2,639,761 bytes after decompression
    [SWF] assets/swf/AS2.swf - 1,470 bytes after decompression
    Is there something inherently wrong with loading swf's that load other things?  Even if I have the AS2 swf load jpgs they don't load so the format of the target content at the end of the chain doesn't seem to be the issue.  Just the act of embedding a swf that loads other things seems to be the problem.

    Ah, yes. Using an AVM1 SWF could prove difficult...
    I'm going on about 3 hours of sleep at the moment, but let me toss out a few thoughts I have and hopefully something will stick...
    Ok, so my first thought what to try and cast the loaded content as a MovieClip and call methods on that, but the fact they are AVM1 throws that out the window.
    That leaves LocalConnection, as you mentioned. But this would require you to have code on the receiving end to handle the connection... no good either.
    But what if you created a "bridge" in AS2 that holds all the code for the receiving end of LocalConnection (or has the control logic itself, perhaps even eliminating the need for LocalConnection all together!). I think maybe this is what you were trying to do already by loading a SWF into a SWF? Well instead of loading your bridge at runtime, what if you statically linked it into your project as a class?
    *a few moments later*
    Well it looks like you can in fact link in a a symbol created for AVM1, but it will only come in as a SpriteAsset, and will not include any custom code (which makes sense, since they use entirely different class constructs).
    To do the test, I created a symbol exported for actionscript (AS2/Flash8), then linked it in with a CSS style embed. I then instantiated the class and called describeType on it.
    So in summery, it looks like calling custom code on the bridge is out (I did not test this extensively, that was just my first impression with this simple test). However, if you may be able to perform the actions you need by attempting to cast the loaded content into something AVM2 can recognize. Apparently it does this automatically when linked in statically, so maybe there is something there worth looking into... mainly, can you do what you need using only the base class and no custom code?
    Keep me posted!

  • Need Your Help with Loading SWF into another Flash Movie!

    Hello,
    I have created TWO Flash movies. They work just fine
    individually, but I get problem when I put one into another one!
    The main Flash is a Menu and the second one if a Photo Album.
    The Menu is series of animation (Moving Objects) which finally
    comes into rest and create the menu. The photo album is another SWF
    file which is called with in the first Flash Movie (The Menu). The
    SWF file is loaded as follow into the Main Flash.
    MovieClip.prototype.drawRect = function(x, y, w, h) {
    this.beginFill(0xFF0000, 100);
    this.moveTo(0, 0);
    this.lineTo(0+w, 0);
    this.lineTo(0+w, 0+h);
    this.lineTo(0, 0+h);
    this.lineTo(0, 0);
    this.endFill();
    this._x = x;
    this._y = y;
    this.createEmptyMovieClip("mc6", 6);
    mc6.lineStyle (3, 0x000000, 100);
    mc6.drawRect(-77, -17, 20, 20);
    mc6._xscale = 100;
    mc6._yscale = 100;
    loadMovie("photoAlbum.swf", mc6);
    Problem arises when I click on the Play Button of the
    photoAlbum.swf (Photo Album) since the execution of the play button
    causes the Flash starts once again from the beginning of the entire
    Flash Movie (Beginning of the animation creating the menu) and it
    simply jumps into the Firm One of my Flash Movie.
    Could you tell me how I can isulate what is in layer 6 (Where
    the photoAlbum is loaded to) from the rest of my Flash Movie?
    I hope I managed to explain my problem. I would like to take
    this opportunity to thank you in advance for your help.
    Cheers,
    Babak

    Hello Anya,
    I have realized the problem arises from the Wait Function
    which causes the Photo Album to pause for a period of time (Two
    Seconds) once a Photo is fully displayed (I have Fade in/out Photo
    Album). I realized everything works OK once I remove the function
    and rather left the Photos to be flipped without any pausing (This
    is an Auto-loading Album which simply Flips the photos!).
    Here is the Wait Function which is causing all the trouble.
    function wait()
    stop();
    var myInterval = setInterval(function ()
    play();
    clearInterval(myInterval);
    }, 2000);
    Thank you so much for your help.
    Cheers,
    Babak

  • Can't embed a Captivate video (swf) into Power Point 2007

    I am trying to embed an Adobe Captivate video (swf) into power Point 2007. I very carefully followed all the steps outlined from a search I did on the web and it is not working.
    These are the steps I followed:
    1. Create a simulation using Adobe Captivate and publish it as a SWF file.
    2. Open the PowerPoint presentation and insert a blank slide for adding simulation.
    3. We need to work with the Developer tab now. If you can't see it in the ribbon, follow these steps to make it visible.
    (steps to get developer)
    4.On the developer tab, in the Controls group, click More Controls
    5. In the list of controls, click Shockwave Flash Object and click OK.
    6. Drag diagonally to create a box in which the simulation would appear. Don't worry about sizing it accurately; you can adjust it later as well.
    7. Right click the Shockwave Flash Object, and then click Properties.
    8. On the Alphbetic tab, click the Movie property. In the value columnm type the full drive path, including the file name.
    9. Set the Playing property to true, Loop to false and Embed Movie to true.
    10. Close the Properties dialog and test the movie.
    The simulation will now play in your PowerPoint presentation.
    Note: If during the slideshow,t he simulation doesn't play automatically, right-click and select Play.
    I followed these steps, and it is just not working. I go to play my power point presentation and set it to play from the beginning, and when it gets to the slide with the swf file, I just get a faded out still picture of the video, and it will not play.  If someone has had luck with embedding swf files from Captivate into Power Point, please let me know how you did it.   Thanks.

    Thanks, I really appreciate the information. The only problem is that I have to keep it as a power point presentation.   I convert from ppt to a video, so I need to keep it as power point.
    I found these steps on the internet and followed them exactly, and went through the steps 3 times, to make sure I wasn't leaving anything out, and it just didn't work. I have a tech guy who's supposed to call me today regarding this issue, and hopefully he'll be able to go through it with me step by step to try and work it out.
    Ultimately, these are going to be training videos that are going to be set up on a website, so they ultimately have to be saved as videos. 
    I'm keep trying to figure it out though.
    Thanks.
    Ariane

  • How can I load an external SWF into a movie clip that's inside other movie clip?

    Hi.
    I creating my first flash (actionscript 3.0) website but I'm
    stuck with a visual effect I want to create.
    I have a window on my website called contentWindow. Every
    time you click a button this window is supposed to leave the stage,
    load the requested content and return to the stage.
    The sliding window is a movie clip with 83 frames, 21 to
    enter the stage, 21 to leave the stage again, 20 for nothing (its
    just to simulate the loading time) and 21 to return to the stage.
    Now my goal is, when the user clicks on a navigation button,
    the window exits the stage, loads an external SWF with the content,
    and then returns to the stage.
    I've the "window" movie clip with an instance name of
    "contentWindow". Inside there is another movie clip with an
    instance name of "contentLoader". The content that the user
    requested should appear inside the "contentLoader".
    Now, when the contentWindow leaves the stage, I get this
    error message:
    quote:
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at rwd_fla::MainTimeline/trigger()
    If I switch
    "contentWindow.contentLoader.addChild(navLoader);" for
    "contentWindow.addChild(navLoader);" it works fine, but the
    external SWF doesn't move with the window.
    How can I load an external SWF into a movie clip that's
    inside other movie clip?

    Hi,
    Recently, I have been putting together a flash presentation.
    And I am just wondering if the following might help you, in your
    communication with the said swf file:
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    onComplete);
    function onComplete(event:Event):void
    event.target.content.thinggy_mc.y -= 100;
    Not the best example, but this allows you to target a mc
    within an external swf file. I think if you look up this code, you
    will have an answer ;)
    Kind Regards,
    Boxing Boom

  • Alignment problem in converting smartform printpreview into PDF

    Hi all,
    I am getting some alignment problem in converting smartform printpreview into PDF format, i.e the format of PDF is different from printpreviw of smartform.
    kindly suggest something so that alignment is not changed while converting to PDF.
    Regards,
    Sumalatha

    use below f.m to convert it into 255 characters....
         CALL FUNCTION 'QCE1_CONVERT'
            TABLES
              t_source_tab         = i_tline
              t_target_tab         = so_ali[]
            EXCEPTIONS
              convert_not_possible = 1
              OTHERS               = 2.

  • 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.

  • Problem with CALL TRANSFORMATION xml - abap

    Hello!
    I got the following problems using call transformation to read a xml-file to local abap datatype!
    Simple xml file for testing:
    <BMECAT>
    <HEADER>
    asdf
    </HEADER>
    </BMECAT>
    XSLT file:
    <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sap="http://www.sap.com/sapxsl" version="1.0">
      <xsl:template match="/">
        <xsl:value-of select="./BMECAT/HEADER"/>
      </xsl:template>
    </xsl:transform>
    The xslt transformation works with xslt-tester!
    My Source:
    DATA: xmlupl TYPE string,
    outputx TYPE XSTRING,
    lv_string TYPE string.
    * in xmlupl my xml import is stored
    CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
    EXPORTING
    text = xmlupl " variable type string
    IMPORTING
    buffer = outputx. " variable type xstring
    TRY .
         CALL TRANSFORMATION path_to_xslt_file
           SOURCE XML outputx
         RESULT HEADER = lv_string.
    CATCH cx_xslt_exception INTO xslt_error.
         data: xslt_message type string .
         xslt_message = xslt_error->get_text( ).
    ENDTRY.
    After debugging in xslt_message is stored the following text:
    "The element abap was expected for the XML-ABAP transformation"
    Can anyone help me with this problem?
    Regards,
    Daniel

    hi
    good
    try this code
    Just look at this piece of code, I think it should help you.
      DATA : ITAB   TYPE TABLE OF SPFLI,
             L_XML  TYPE REF TO CL_XML_DOCUMENT.
      SELECT * FROM SPFLI INTO TABLE ITAB.
    CREATE THE XML OBJECT
      CREATE OBJECT L_XML.
    CONVERT THE DATA TO XML
      CALL METHOD L_XML->CREATE_WITH_DATA( DATAOBJECT = ITAB[] ).
    DATA IS CONVERTED TO XML; DISPLAY THE XML-DOCUMENT
      CALL METHOD L_XML->DISPLAY.
    thanks
    mrutyun^

  • Inserting A SWF into a Captive Project

    Hi All,
    I'm trying to insert a swf into my captivate project. It goes
    onto the slide with no problem but when I preview the project the
    swf is not animated. I'm using AS3 to code the animation so there
    is only one frame. I set the frame rate in Captivate to match the
    frame rate of the swf with no success. Any help is appreciated,
    thanks.

    Hi there
    I suppose that's possible. I'm not a Flash Coder yet but
    would imagine the sky is the limit once you get things into Flash,
    as at that point it's a Flash project, no? I don't believe an
    avenue exists to take a Flash project and pop it into Captivate.
    (By that, I mean to export from Flash as a .CP file - I am well
    aware that one may create a .SWF from Flash and pop it into
    Captivate as an Animation)
    Cheers... Rick

  • Loading an AS2 swf into a AS3 project?

    I have an AS2 swf that is merely an image gallery made with a few components. I tried loading this swf into an AS3 project I am working on and it seems to load in and play properly in my AS3 file. I'm not looking to communicate with the AS2 swf with AS3 code, I just want to display it and be able to use the component buttons in the AS2 file that play or stop the images from being played.  I was wondering if using this will cause any potential issues in my AS3 project. It seems to render and work fine on my machine. Thanks

    as2 swfs will play without problem when loaded into an as3 swf.

  • Load external swf into a specific _level

    Hi there,
    I am loading an external swf into the mc 'image' using:
    image.loadMovieNum("portfolio/100_design/1.swf", 1);
    Every time a new image loads, I want it to load the level above, ie:
    image.loadMovieNum("portfolio/100_design/1.swf", 2);
    Is there a way this can be done dynamically. For example, "current level + 1"
    Many thanks

    is the first frame of your loaded swf's empty?  if yes, then no problem using _levels.
    if not, do you mind a momentary flash when your next swf loads and before its _alpha is assigned 0 and then faded-in?  if you don't mind, then no problem using _levels.
    if you do mind that momentary flash, then using _levels will be more complex than using empty target movieclips.  is there some good reason to use _levels instead of target movieclips?

Maybe you are looking for

  • I need help with searching for an image inside another image

    I need to write a program that checks for a specific image (a jpg) inside another, larger, image (a jpg). If so, it returns a value of true. Can anyone help me? Winner takes all. First person to solve this gets 10 dukes. Please help.

  • HT1535 It doesn't give me options to add more music or shows to my device.

    I am trying to add more music to my daughter's ipad.  I have it under manually manage music and videos, but when I click on music or video it gives me no options.  It is grayed out and the only thing I can check is the sync music at the top and that

  • Is it possible to have one central user defined exchange rate for a project

    When i create deliverables for a project. It asks for an exchange rate type. On entering user i am prompted to enter an exchange rate. Is it possible to use the exchange rate setup at the workplan level for all deliverables rather than entering the r

  • Help in uploading image using module pool programming!!!

    hi all    I need a help from you all...iam designing my company's Visitors Identity card...im workin in module pool programming,i need to know wat function module should i use to get jpg image n to display it... i hav tried it using DP_PUBLISH_WWW_UR

  • BI PUBLISHER AND LDAP-- Can not see Admin tab

    I have setup BI Publisher with LDAP. Created all XMLP_* groups in LDAP and created user Administrator in LDAP as a member of XMLP_* groups. However, when I login to BI Publisher, I can not see Admin tab. I have reads all posts on this site, but nothi