Need to connect different swf files in a single site

I need to make this site as presentation for my next review. I found a good model for a slide show. The presentation will be structured as follows:

HOME PAGE with sidebar linking to:

                • slide 1 with slide show 1
                • slide 2 with slide show 2
                • Drag three with slideshow 3
                • Slide four with slideshow 4

due to the nature of the code you can't put different slideshows in the same .swf file in different scenes (I copied and pasted in every scene and changed actionscript code so they would apply to the different images) because they will create conflicts between them. now, they call into question is can I use the sidebar for the link to the different swf files but still give the impression that it was just a big swf?

Thank you!

Here's what you need to do

Create a document named main.swf in this document, put the 4 buttons and instance (button2, button3_btn, button1_btn, button4_btn).

Change the name of your slideshows to slide1.swf, slide2.swf, slide3.swf and slide4.swf.

Now go in your main.swf actionScript Panel and paste the following code:

loading external content
var loader = new Loader
addChild (loader)
Loader.x = 0;
Loader.y = 0;

button1_btn.addEventListener (MouseEvent.CLICK, function() {}
Loader.Load (new URLRequest ("slide1.swf"));
});

button2_btn.addEventListener (MouseEvent.CLICK, function() {}
Loader.Load (new URLRequest ("slide2.swf"));
});

button3_btn.addEventListener (MouseEvent.CLICK, function() {}
Loader.Load (new URLRequest ("slide3.swf"));
});

button4_btn.addEventListener (MouseEvent.CLICK, function() {}
Loader.Load (new URLRequest ("slide4.swf"));
});

any problems let me know!

Tags: Adobe Animate

Similar Questions

  • Download Flash CS6 is always available to subscribers of CC? I need to create a SWF file to work with AS2.

    Download Flash CS6 is always available to subscribers of CC?

    I need to create a SWF file to work with AS2.

    Get the CS6 Apps against Cloud subscription:
    -----------------------------------------

    Download previous versions of Adobe Creative applications-
    http://helpx.Adobe.com/creative-cloud/kb/download-previous-versions-creative-applications. HTML

  • get a dotted line around .swf files in my flash site now. This is new from Firefox 3. With the help of 4 on a MacBookPro. tried the fix "style no outline. does not work. any help?

    Question
    get a dotted line around .swf files in my flash site now. This is new from Firefox 3. With the help of 4 on a MacBookPro. tried the fix "style no outline. does not work. any help?

    Ah, quite understand now that I added to my doc html

    < style type = "text/css" >
    {body
    background-color: #FFF;
    }
    "'object {outline: none ;}"} '

    < / style >

  • Hi I need to hide a pdf file hosted on a site of glasses, I would normally add &lt; name meta = "robots" content = "nofollow" / &gt; tag meta on a html page, can I add this to the pdf format? I can't seem to find where to add this code, or is there a bett

    Hi I need to hide a pdf file hosted on a site of glasses, I would normally add

    tag Meta on a html page, can I add this to the pdf format? I can't seem to find where to add this code, or is there a better way?

    You cannot add these metadata in PDF format. You can use the robots.txt file.

  • How can I print multiple different .ai files on a single page in Illustrator CS6?

    How can I print multiple different .ai files on a single page in Illustrator CS6? I have all the files organized by organizing Documents > tile all in the grid and I want to print files in this format, so that they can all be seen at the same time when printed on a single page.

    General information, it's that I have 16 drawings of different CAD I converted and edited in illustrator. I do basically a plank-contact with all 16 drawings so that they can be examined on a sheet of paper after printing. Each drawing is in its own unique file but I did not understand how to put everything on one page for printing.

    Try to do with the bridge. You cannot print all document tiled windows.

  • Control a .swf with a different .swf file file

    Hello-

    Can one.swf file control the actions of another on the same HTML page .swf file?

    Example:

    FloatingMenu.swf would control the timeline in MainStage.swf

    Thank you-Ben L

    Yes.

    You can always use localconnection to communicate between the two.

  • How can you embeded SWF file in the Web site?

    Hello

    I have a swf file, how I embeded Web site whose code is used.

    Thank you

    Maury

    If you have Flash, then having Flash publish an html page to your file and then copy / paste the code for this file in your html page.  If you do not have Flash, try to use swfobject to embed the swf file in your html page.  Here is a link to get and to explain...

    http://code.Google.com/p/SWFObject/

  • I need to combine several PDF files into a single attachment on my iPhone. I subscribe to the $ 9 per month package, but I can't seem to find an option to combine the files of one attachment. Can you please help?

    I need to combine PDF files in a magnetic. I subscribe to the $ 9 per month package. Is this possible?

    Hello

    With Adobe Acrobat iOS app, we can only create PDF of it. To combine the documents, go to https://cloud.acrobat.com/combinepdf on your device browser.

    Thank you

    Abhishek

  • I need an excel as calc file to make a site

    I need an excel file as calc to make a site like this http://www.Ridetech.com/info/spring-rate-calculator/

    Can someone help me

  • Establishing a socket connection between a .swf file and a current-test program (TCP/IP generator - Windows), in AS3.

    I have a problem with a college project, I'm trying.

    Using Actionscript 3, I did a program simple .swf, a smiley face, lively and interactive, which "reacts" number entered in an input box.

    For purposes of this project, I now do the framework for establishing a connection socket with the smiley .swf and another program.

    That's where I run into problems. I have very little knowledge of the AS3 programming, so I'm not sure how the connection - what is required for it, it is.

    To test the connection, I try to use the "TCP/IP builder" program for windows, which allows me to set up a server socket. I need to program the .swf file into a client - to recognize, connect to it, then be able to receive data (so that data then allows for the smiley "react" him--like how he does now with the input-box, 'automatically' as it gets the data, rather than by manual input).

    My attempts at codification it are as follows, with the help of a tutorial (link HERE):

    INSERT HERE THE SOCKET STUFF

    //****************************************************************

    var socket:XMLSocket;

    Stadium. addEventListener () MouseEvent. ( CLICK, doConnect ();

    It connects to the local port, 9001 and applies event listeners

    ( function doConnect ()evt:MouseEvent():void

    {

    Stadium. removeEventListener () MouseEvent. ( CLICK, doConnect ();

    socket = new XMLSocket()'127.0.0.1', 9001);

    outlet. addEventListener () Event. ( CONNECT, onConnect();

    outlet. addEventListener () IOErrorEvent. ( IO_ERROR, onError ();

    }

    This locates the connection (allows us to see what has happened or failed)

    function onConnect () evt:Event():void

    {

    trace ("Connected"();

    outlet. removeEventListener () Event. ( CONNECT, onConnect();

    outlet. removeEventListener () IOErrorEvent. ( IO_ERROR, onError ();

    outlet. addEventListener () DataEvent. ( DATA, onDataReceived ();

    outlet. addEventListener () Event. ( NARROW, onSocketClose ();

    Stadium. addEventListener () KeyboardEvent. ( KEY_UP, keyUp ();

    }

    ( function onError() evt:IOErrorEvent():void

    {

    trace ()"Login failed"();

    outlet. removeEventListener () Event. ( CONNECT, onConnect();

    outlet. removeEventListener () IOErrorEvent. ( IO_ERROR, onError ();

    Stadium. addEventListener () MouseEvent. ( CLICK, doConnect ();

    }

    Here, the flash titles what keyboard key.

    If you press 'q', the connection ends.

    ( function keyUp() evt:KeyboardEvent():void

    {

    if (evt. ( keyCode == 81( ) / / key for q code is 81

    {

    outlet. Send ("exit");

    }

    on the other

    {

    outlet. Send (evt. keyCode );

    }

    }

    It must manage the data that we get from the server.

    ( function onDataReceived ()evt:DataEvent():void

    {

    try {

    trace ()"Server:", evt. data );

    }

    catch (e:Error) {

    trace ('error');

    }

    }

    ( function onSocketClose ()evt:Event():void

    {

    trace ()"Closed connection"();

    Stadium. removeEventListener () KeyboardEvent. ( KEY_UP, keyUp ();

    outlet. removeEventListener () Event. ( NARROW, onSocketClose ();

    outlet. removeEventListener () DataEvent. ( DATA, onDataReceived ();

    Try to connect to the Jack gives me no result (other than a "Connection failed" message when I click the .swf) or the following error message:

    Error #2044: unhandled securityError:. text = Error #2048: security sandbox violation: file:///C|/Users/Marko/Desktop/Završni/Flash%20documents/Smiley%5FTCP%5FIP%5Fv4.swf cannot load data from 127.0.0.1:9001.
    to the Smiley_TCP_IP_v4_fla::MainTimeline/doConnect()()[. Smiley_TCP_IP_v4_fla ] [MainTimeline: frame1:12]

    127.0.0.1 could be supported through your HTTP software, I'm not familiar with the tool you are using. It could also have been show in your hosts file (in Windows you will find here: C:\Windows\System32\drivers\etc). Check to see if something is the substitution of 127.0.0.1 (local loop).

    Apart from that, I've given you source to a rapid AIR server that has just opened a listener to 127.0.0.1:8910 so you would need no other tools to test the client, even if you have a. I just include the source and a product AIR installer so you can reproduce them to see that I do anything malicious. The Server.air file must be "installed" to test it. When you double-click it, it is a Setup. He moved to C:\Program Files (x 86) \Server (should have called something less common in hindsight). It also has a checkbox to run it after installation. If you don't you will see the server pop up a standard window of 550 x 400 with a text inside the box there letting you know that it is listening. Everything connects, messages (channels) and disconnects the will displayed in the Server text box.

    The customer is the only SWF file, you must run, after 'something' listening on the IP address and port configure you with.

    Here is a picture to show you the server is not running in the same folder the SWF did, tell the server and it only run the client exactly how I should it look like all together:

    I'll show you that after running the Server.air Installer, here is the the path of the executable file is running from and the client SWF isn't here. No problem connecting despite being in different places.

    The server is running and says that it is listening on 8910. Feel free to modify the source and reproduce for a different IP/port.

    -J' open the Client.FLA and just run. It creates a new socket, add headphones, connects to 127.0.0.1:8910.

    -The server responds that he sees and accepts the client connection. The server sends a message "connected." (10 bytes) to the customer immediately.

    -The client receives data (String), he draws. The customer sniffs for this specific message, and then sends the server a string "thanks for the connection!

    -The server receives and is coded only to echo the string in the "Echo - thank you to connect!" back to check that the chain is correct.

    -The customer receives the echo of servers (30 bytes), he draws.

  • SWF file plays in response to correct or incorrect quiz or text box

    Hello - I'm trying to figure out how to get different swf files to play when the learner receives the corresponding response either good or bad on a quiz question. I couldn't understand that, Yes, so I just create text boxes where if they fill in the correct answer, a cheek, bad swf, then another time. Advanced only actions work very well... can't find out how to delete (and I see in the forum doesn't seem to really, you can clear the boxes to try again), and also if I answer right, then fill in bad, I always get 'success' swf play. Work first time through case I either get their right, or not. Any suggestions? Ideally, I would like to just return the corresponding quiz question, how can I get the swf files to play with incorrect results / fix?

    Thank you all, wonderful Captivate experts out there who are so generous with your time helping us novices!

    Hi Sandy,

    First of all, I found a bug, the response shown for first ETB was not one mentioned in the tip action. Then I started re-labelling of all associated variables (v_direct, v_impers, v_build, v_intim). Sorry, it is not a bug with the consequences, you do not need to validate at all, since the advanced actions takes care of it.

    I do have several suggestions, first of all I would like to know what you prefer. Haven't checked everything again.

    You need to reset if you want to offer several attempts. The easiest way is to have a second "Reset" button with the visible actions in the screenshot; they will be re - assign an empty variable (v_Null) to the user variables and hide animations. The problem is that this change to the user variables are not passed on stage, so the user still see his previous entries, but can change and resubmit. However, we must change all the entries. This is the only way to repopulate the variables, and I think it's a problem. The appropriate animation will play, checked. Is this an acceptable solution? If this is not the case, will have to change many things about the timeline, I may have to jump to other images etc.

    Given that you use the 'contains': a user can also enter all the letters (abcd) and the condition will be successful? Just a warning, perhaps use the operator "is equal to".

    The sequence does not seem logical (the cursor is downstairs TEB), change the order of the stack in the timeline panel to fix that.

    The TextArea widget extended (created by Jim Leichliter, is free) allows you to really clear the entries on the stage during reset; It's a second opportunity, which avoids having to indicate to the user that they need to change all entries.

    Another idea: have you checked the dropdown or combobox widgets? My third part of custom questions on the blog will still be on these custom widgets questions but is not ready. But have to check the option "reset" so, fear it will be the same as that of the check boxes, radio buttons and textarea widgets: no way to reset unless I can convince Jim still to extend these widgets as well.

    Lilybiri

  • How can I publish a module with random questions (and question pool) in a single swf file?

    Hiya,

    What I need is questions randomly in a learning module all exported from captivate 4 in a single swf file, what I get is the swf file and a SWF of pool, is it possible to integrate the pool in the same module/file?

    There will be a place somewhere on the LMS where the SWF file is stored.  But the question pool to get SWFs in the same location would be more trouble that it's worth.

    Some providers of LMS simply not allowing for the fact that training may require more than one file to run it.  They have designed their systems with PowerPoint and PDF or MS Word in mind, all cases where one file is all you need.  These MOVIES are more like content management systems than modern learning management systems.

    If your LMS insists that it cannot operate in this way, then you may need to forget the question pools.

    But I think that you will have even greater problems.  You will wait get marking and follow-up of the results of this LMS for this internship?

    You be obviously NOT use SCORM as publishing option because SCORM still requires JavaScript code to implement the API that allows communication between the LMS and the module course.  Using rather AICC?  Output of Captivate, same AICC requires Javascript, so you need more than the SWF file.

  • Loading the Swf file in Flash animation articulated Quiz

    Hey everybody.  My boss made a quiz for the film Flash I do, using the software Quizmaker articulate, and he recorded as a swf file.  He plays a lot in Flash Player and Flash.  Now, I try to use my main Flash file to call the SWF of quiz and play at the end of my film.  The main Flash file is configured as an array of swf, calling different swf files that I want him to play in order.  I want this quiz swf file to play to the end.

    However, when I do that and I publish the file, I just get a white screen when he tries to load the SWF of quiz and a bunch of code in Flash that opens.  What is going on?  How can I load the quiz swf file in my Flash animation?  Does anyone know?  Help would be much appreciated!  Thank you!

    If you can put the quiz file in the same folder as the main file and make it work, then you should be able to load the quiz in the main file and make it work.

    If the quiz file is an AS3, you're outta luck.

  • 5 points appear during external .swf file playback

    I created a Flash AS3 demo. I just need to use the swf file to demonstrate a workflow.

    The file plays perfectly on my computer, but when I sent it to my team, the content has been replaced by 5 travel grey dots.

    The publication parameters to Flash Player 10. My team all have them flash player 10 but no cigar.

    Any help is very appreciated.

    See you soon

    Max

    If you use one or several tlf textfields change your settings of the runtime shared library to be merged into the code.  Otherwise, take a screenshot of the points and post.

  • Cannot nest several SWF files with swfObject 2

    We'll find the site referenced @ http://www.l4dt.com/
    I need to integrate several .swf files into an html file. I perfer using swfObject. Here's what the code looks like now:

    <!-start-> l4dt_header.swf
    < script type = "text/javascript" >
    var flashvars = {};
    var params = {};
    params.menu = "false";
    params. Quality = "best";
    params. Scale = "noscale";
    params.wmode = "transparent";
    attributes of var = {};
    Attributes.ID = "FL1".
    Attributes.Name = "l4dt_header";
    Attributes.styleClass = "l4dt_header";
    Attributes.Align = "middle";
    swfobject.embedSWF ("l4dt_header.swf", "FL", "605", "196", "9.0.0""," expressInstall.swf", flashvars, params, attributes);
    < /script >
    <! - end l4dt_header.swf - >

    <!-start-> l4dt_boomer.swf
    < script type = "text/javascript" >
    var flashvars = {};
    var params = {};
    params.menu = "false";
    params. Quality = "medium";
    params. Scale = "noscale";
    params.wmode = "transparent";
    attributes of var = {};
    Attributes.ID = "FL".
    Attributes.Name = "l4dt_boomer";
    Attributes.styleClass = "l4dt_boomer";
    Attributes.align = 'right ';
    swfobject.embedSWF ("boomer.swf", "FL", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
    < /script >
    <!-start-> l4dt_boomer.swf

    What is happening is one of the embededd sovereign wealth funds ends up replacing the other.

    I also video clip pulse, on and outside rotation and bright lime green. I know the filter radiation in actionscript 3, filters = [new GlowFilter (0x5d7c00, 1, 6, 6, 2, 3)]; But how would I get impulses?

    So if you go to the site ( http://www.l4dt.com/ as shown above), you will see a green cloud, because it's part of the swf file. I want to create the same symbol toxic warning which is rotating in the Center, but much smaller and that several instances of it, flashing in and out at random places in the Green cloud.

    Then I'll create an app Flash where a user can can in layers «posters» This code is sufficient to allow the user to be able to move these individual layers from the perspective of the entire application? :

    MC.addEventListener (MouseEvent.MOUSE_DOWN, {function(evt:MouseEvent):void}
    MC.startDrag ();
    }
    );
    MC.addEventListener (MouseEvent.MOUSE_UP, {function(evt:MouseEvent):void}
    MC.stopDrag ();
    }
    );

    I am not advocating the definitive answer to one of my problems, just 2 cents.

    Oh and if you have the time, tell me what you think of the site in general.

    http://www.l4dt.com/

    You use the same id 'FL' swfobject.embedSWF methods - so a script replaces another in the element of the DOM with the id "FL".

    And I would say that you split your post and more focused on the topics.

Maybe you are looking for

  • What is the path hidden pictures on a macbook pro?

    What is the path hidden pictures on a macbook pro?  I want to look at the structure of files and compare the list of photos to remove duplicates. / Users/Myusername/images/Photos\ Library\ 2. photoslibrary? ~/Library/? Thanks for any help.

  • G72-B60US

    Is there a good replacement of the wireless card that fits in my laptop HP G72-B60US.  The Broadcom 4313GN wireless card that comes with it will do it 72Mbps top.  If I plug a Netgear A6200 USB adapter, the speed increases to 144Mbps.  I would replac

  • Stylus to place 11 Pro

    Are there options for a stylus that will work with a venue Pro 11?  The active stylus for Dell received several negative reviews and is currently out of stock on the Dell site. All Wacom products that require activity technology sensation with the ve

  • Guard AutoPlay popping up and asks me what I want to do with my external Harddirve that is always connected

    Everytime I turn on my monitors or start/restart of the system, I get a popup AutoPlay that keep asking what I would do to my G drive.   It's the player who is always connected and used only for backup purposes. I use Win7 Home Prem 64 bit. Any help

  • AIP-SSM-10 upgrade question

    I have an AIP-SSM-10 (IPS - K9 - 6.0 - 5 - E2) running inside an ASA (active failover mode / standby). I tried to put a signature update today (version S447, first time) and he said I need engine lvl 3 to update the signature and I am currently at lv