ActionScript 1/2 :: Controlling Embedded Captivate SWFs

May 25, 2006

I have a SWF (SWF A) that I'm loading into a movieclip (Movieclip C)which is part of another SWF (SWF B). Basically, SWF B functions as a player, with play and pause controls. These controls control Movieclip C where the external SWF A is loaded into.Normally, I have had no problem with this and it always works. At run time, when you click the pause button on SWF B, a stop() command is issued to Movieclip C, which stops the play of
the external movieclip (SWF A) loaded into it.However, I did a screen capture with Captivate and published it as a SWF. I loaded this SWF (SWF A) into Movieclip C in SWF B at run time. However, clicking the controls on SWF I created has NO EFFECT on the SWF I created in Captivate. It just keeps playing.I guess all SWFs are NOT created equal. How can I make this work?

View 4 Replies


Similar Posts:


ActionScript 3.0 :: Unable To UnloadAndStop Captivate 5 Swfs?

Jul 8, 2011

have a flash 'menu' swf that on the click of a button loads into a loader a flash 'controller' swf. This swf in turn loads into a loader a 'captivate 5' swf. All published to fp10.exit the captivate movie the user can click on the menu button (which resides on an area of the 'menu' swf below it), and I have coded to UnloadAndStop and StopAllSounds of the 'controller' swf loader.his works, everything goes, the loader 'unloads' and it does stop the  sound of the current captivate slide, but then audio from the captivate movie will fire up again from the next slide and continue to play over the menu

View 24 Replies

ActionScript 2.0 :: Possible To Controlling Loaded Swfs?

Apr 21, 2004

What I'm trying to do is create buttons in one swf that load another swf and also give instructions to begin playing from a certain frame in that swf. The target swf has a preloader on frame 1 and then a movie clip that contains a video in frame 2. Depending on which button the user presses the video will be cued up ready to play at different frames. think it may need an if statement ie if x=34 then goto frame 34, but I can't seem to pass the variables to the loaded swf.In the zip file is an example of what I'm trying to do.

View 10 Replies

ActionScript 2.0 :: Controlling External Swfs Loaded Into An MC

Mar 23, 2005

what actionscript could i use to make an movies loaded into a movieclip play. tried _root.holderMC.play(); holderMC being the movieclip the external swf is loaded into, doesn't seem to work! searched the internet too but no lucky

View 2 Replies

ActionScript 2.0 :: Attaching/controlling External .swfs?

Mar 11, 2003

load/attach and 'control' external .swfs, i.e. loading them into a MC and then applying actions, masking, etc.

View 2 Replies

ActionScript 2.0 :: [FMX] Controlling Sounds Across Multiple .SWFs?

Apr 10, 2003

I need a little advice. I've got a set of swfs that are all part of one training, and within these movies are a few sound effects attached to button instances. I want the user to be able to click a button to turn the sound on or off at any time during the training.

My first idea was to create a variable called wantSound, which each sound instance checks before deciding to play. This is working perfectly. There's a toggle switch on the main timeline that sets sound to on or off, and when a sound is supposed to play, it checks to see if wantSound=true, and plays, or if it is false, it does not.

This works fine on each individual .swf, but when a new .swf loads in, the sound defaults back to true, and the user has to turn it off again. I imagine this could be fixed by loading each movie into different levels instead of loading them into level0 or root, but as this is not how I originally created the file, that will take a lot of work to handle aligning the loaded movies and parking them (making sure none of the buttons are active on the level below). I'm lazy, what can I say? :-)

I've been looking around at similar questions, and found a decent tutorial on Macromedia's site about using javascript to pass a variable from flash to HTML. I went through that, and managed to get Flash to send my wantSound variable to HTML with no problem. Check here for the tutorial.

The only problem is that in macromedia's example for sending data from HTML back to Flash, they use a text field for getting the variable. I just want to take the variable sent from Flash to HTML and send it back to Flash when requested (at the beginning of the next SWF.)

View 1 Replies

ActionScript 2.0 :: Controlling Dynamically Loaded Swfs?

Jun 24, 2003

how can you controll them as they are coming in? For example: i want to load three swfs but i want them to sit invisible until the user clicks a button to change visibility and see the content. The problem seems to be that you can't control it until it's all there... here's the code i have been trying.[AS]function

goMovie(xMovie, xLevel){
loadMovieNum(xMovie, xLevel);
mytry=false;

[code]....

View 3 Replies

ActionScript 2.0 :: Controlling External Swfs Loaded Into An MC?

Mar 23, 2005

what actionscript could i use to make an movies loaded into a movieclip play. tried _root.holderMC.play(); holderMC being the movieclip the external swf is loaded into, doesn't seem to work! searched the internet too but no lucky

View 2 Replies

Flash8 :: Controlling Embedded Video Audio?

Aug 19, 2010

I am trying to control the audio of an embedded video from a mute button. I can get the audio to play and the mute button to control the volume using the following script:

var my_nc:NetConnection=new NetConnection();
my_nc.connect(null);
var my_ns:NetStream=new NetStream(my_nc);

[code]....

The problem I am having with this is that the video is not appearing on the stage and when I place it on the stage the audio is playing twice. how I can get it to appear on the stage and still control the sound as the button is doing at the moment?

View 1 Replies

Professional :: Controlling Alpha On Embedded Fonts?

Apr 13, 2010

There's a site I'm working on I have the alpha on the navigation buttons set to 0.2 the text appears with full alpha as I want  I have a nice Old English font I want to use but when I embed the font it takes on the alpha settings of the background.I set the alpha for the text field to 1 but the text remains at 0.2.n how to set the alpha of a container without affecting the embedded text in it or to set the alpha on the embedded text independently?

View 3 Replies

ActionScript 3.0 :: Controlling Slideshow From Withing External SWFs?

Jul 27, 2010

What I have is a SWF file that calls out to 3 different SWF files via the following code:

// Array of external clips to use. Variable index refers to next clip to be displayed.var clips:Array = ["page1.swf", "page2.swf", "page3.swf"];var index:int = 0;
// Stuff to load swf filesvar thisLoader:Loader = new Loader();

[code].......

View 11 Replies

ActionScript 2.0 :: Controlling Order Of Loading External SWFs

Mar 22, 2004

Is it possible without looping to control which of 12 or so external swfs loads first when they all have to load on the same frame of the main movie? For example, we have a main movie which creates classes where the class is itself in an external movie. When we load locally, the movies all load fast enough that the classes are created correctly, however when we move to loading from the server some of the class movies are not loaded into their levels before the main movie tries to create the class with of course the result being the class is not generated and the movies do not function correctly.

View 2 Replies

ActionScript 2.0 :: Controlling And Preloading Separate SWFs On A Website?

Jul 14, 2005

My Website opens, its written in HTML... There is a "Navigation" FLash at the top of the page which opens up HTML documents into the "Main Frame" below.Ok now... When the Website first loads up, In the Main frame of the page I want a flash swf to play as an intro to the website (Its a band website). Once the (intro) Swf ends I want it to tell the Navigation Flash Menu Swf to go ahead and show the buttons so people can navigate.Thats my first problem, or task to solve.2nd... If it is possible to control Swf's from an external one it must be possible to preload them aswell right? So what I want to do, is the site to load up... and all the preloading done from the Navigation Swf to account for both Swfs (Intro and Navigation)

View 2 Replies

ActionScript 2.0 :: Controlling The Order Of Loading External Swfs?

Mar 22, 2004

It could be that using loops is the only way to do what we want, however ever the optimist I'll ask the question anyways.

Is it possible without looping to control which of 12 or so external swfs loads first when they all have to load on the same frame of the main movie?

For example, we have a main movie which creates classes where the class is itself in an external movie. When we load locally, the movies all load fast enough that the classes are created correctly, however when we move to loading from the server some of the class movies are not loaded into their levels before the main movie tries to create the class with of course the result being the class is not generated and the movies do not function correctly.

View 2 Replies

ActionScript 2.0 :: Loading SWFs Into Scenes - Controlling Position On Screen

Dec 4, 2002

I have several buttons, that link to several scenes, containing swf files. Using the loadmovie command I can get these swf's playing on-screen. That's good.

-How can I control where they appear on my document (I'd guess these require some x or y values, but not sure how this is done) as they all appear in the top left-hand corner.
- When I mouse over another button (link to scene/swf) how can I remove the previous swf from the page, then load the new swf -as they all appear in the same spot/all over each other? Is this an unload movie command?

I was hoping to counter this problem by using different scenes (no luck there) and all I really need to do is remove the previously loaded swf, when the new one is loaded.

View 6 Replies

ActionScript 3.0 :: Communicating With Embedded Swfs?

Sep 7, 2010

So if I have several external swfs embedded in one big one, in what way can I communicate between them?Specifically,

-the main swf needs to know when buttons have been pressed in an embedded one, and it needs to tell all the other embedded ones about it.

-the embedded swfs need to intelligently resize and shuffle around each other, while keeping their coordinate origins in the top corner.How do I go about this?

View 17 Replies

ActionScript 3.0 :: Communication Between Embedded Swfs?

Jan 26, 2010

I have a main swf that embeds another swf. I want to be able to tell the embed swf to do something.

Main.swf
[AS]
//Creates new image loader
var imageLoader:Loader;
//Holder variable for the image to load

[code].....

View 1 Replies

Professional :: Controlling Volume In Flash Site W/Embedded Video?

May 7, 2010

I have this site I'm doing in Flash with an embedded video.The site has background music that is loading automatically, but when the embedded movie loads, the volume on that is mixed in witht he sites music.If you mute the sites background music, it mutes the video sound as well. Make sense?How can I seperate them out or make the sites background music not load on that particular page.

View 1 Replies

ActionScript 3.0 :: Controlling Embedded Movieclips - Getting Flash To Call Up Various Movieclip States

Oct 16, 2011

I'm starting to learn actionscript 3 programming and am in the process of trying to create a simple game but am having trouble getting flash to call up various movieclip states.I have a movieclip called "Player" and inside that movieclip, I have Player_Stand,Player_Hit, and Player_Walk...

While I can get the master movieclip to move, I can't get it to play the embedded movieclips when I change states. I tried a more advanced method that did work where you stick all of the animations in one movieclip and then manually tell flash to advance each frame using gotoAndStop in a loop, but it would be easier to just have seperate movieclips that I could just call from a master movieclip file. I've tried various methods to solve this including having all of the movieclips on screen and then changing their visibility but that didn't work either.

[Code]...

View 3 Replies

ActionScript 3.0 :: Accessing Properties Of Embedded SWFs

May 31, 2009

Is it possible to access variables or even functions of an embedded SWF? (One which has been embedded manually and has not loaded from somewhere)For example, I embed an swf called Movie1 which contains a string variable declared in its root, would it be possible for the parent SWF to access that string?

View 1 Replies

Professional :: Integration Of Swf With Embedded External Swfs In Dw

Jul 6, 2011

I have a flash file, which I am using as the index for my site. Into this flash file, I have an external swf that loads for an introduction. In this external swf, the as is set up so as to be a full browser, scalable slideshow. The index swf has a horizontal menu bar, from which other external swfs can be loaded. As a side note, I don't know if this is indicative of something... the preloader also does not want to work with the externally loaded swf, but will work when a dummy photo placed in the main swf file.

When I bring this into dreamweaver, the swf that was loaded into the index swf is no longer full browser, allthough it works when I preview (ctrl + enter) from within flash. It does not work from within flash when I hit f12. Yes, the html wrapper is exported at 100% width and height. All the files are in the correct place, within the same folder. Also, the preloader doesn't work but it wasn't working from within flash with an externally loaded swf. getting a full browser flash external swfs to work once the main index swf is brought over into dreamweaver?

View 3 Replies

ActionScript 3.0 :: Call Functions In Embedded SWFs?

Apr 20, 2009

I am embedding a number of SWFs in my main Flash movie, and I need to call functions within those SWFs.This is no problem when loading the SWF as an external file, but when I use the [embed] directive to embed the SWF directly into my app there seems to be no way to access the functions?I tried numerous approaches, including waiting for the embedded SWF to be added to the stage, but it seems it just does not allow access. And unfortunately in my case, loading the SWFs separately is not a good solution.

View 2 Replies

ActionScript 3.0 :: Play(), Stop() Embedded SWFs?

Nov 1, 2011

it's possible to use play and stop methods on an instance of an SWF that's been embedded into class using the Embed metatag?I've not been able to get it to work, and have read that it's not possible with video, so am wondering if the same is true for any SWF?

View 4 Replies

Media Server :: Are Players All SWFs That Are Embedded In Page?

Oct 13, 2010

As I am getting more familiar with FMS and understanding it better with the help of the wonderful contributors here on this forum, I am now curious about players.Players such as Strobe and REOPS to be specific.Are players all SWFs that are embedded in a page? I have seen some players here on the Adobe website that are stand-alone smaller windows that appear over the page. How is this done?So Strobe and REOPS...are we talking SWF code that is editable? You can see I am quite new to this. I'm on a roll, however and wish to continue understanding and learning.

View 6 Replies

ActionScript 3.0 :: Overlapping Sounds With SWFs With Embedded Audio?

Aug 11, 2010

I am using an xml based slide navigation shell that uses next and back buttons to page through content.

If I use SWFs with embedded audio (which I need to do sometimes) the audio will overlap after I leave the slide, SoundMixer.stopAll() is not doing the trick. I think removeChild may be the direction I need, but I'm not sure how to implement so far.

View 3 Replies

ActionScript 3.0 :: Xml Embedded Fonts - Font Size Would Change Within The Swfs?

May 19, 2011

I'm making some ads that are pulling in an mxl feed that had html embedded. I'm working with flash CS5. I'm pulling the text into a dynamic text field embedded into a mc. So at first I was pulling in my feed and anything with a bold tag or a heading tag wasn't rendering the text correctly when I had arial embedded so I had to unembed all fonts. Wasn't the prettiest but was working. So now that ads are published and on certain people's computers the text loading into the text boxes are either cut off or there is extra room. So I'm wondering can dynamic text being loaded into flash be effected by the system fonts in a browser or a zoom in feature of a browser? I cant see how the but that seems to be the problem.

View 2 Replies

ActionScript 3.0 :: Captivate TOC On Top Of SWF?

Jun 17, 2011

In a Captivate 5 file, I imported a Flash AS3 file. I added the Flash file to the first Captivate slide and set the swf properties to display for the entire project. Essentially the Flash file is a skin/interface for the Captivate file. Everything is working fine, but the TOC is on top of the skin.

The scenario worked fine with Cativate 4 and AS2. The Flash skin has a TOC button. When the button is clicked, the TOC opens beneath the skin.

How can I position the TOC in the display list?

View 0 Replies

ActionScript 3.0 :: Pass Captivate Variable?

Aug 18, 2010

I used the following code on a frame within an swf that was imported  to a CP4 slide. This worked fine in as2. I'm wondering how to write the  same code in as3.
 
_parent._parent._parent.rdcmndNextSlide = 1;

View 2 Replies

ActionScript 3.0 :: Referencing Objects In Captivate?

Jul 6, 2009

I need to be able to dynamically position a component generated in Captivate 4 via ActionScript that in child SWF that is imported into the Captivate project. The problem is that I don't know how to reference the objects in the parent movie. I can set a label on the object and reference the parent itself with:

MovieClip(this.parent)

but this doesn't seem to work:

MovieClip(this.parent).label.y

And I suspect that it is because some how Captivate subclasses the objects but I'm having trouble finding out how the hierarchy is structured.

View 2 Replies

ActionScript 2.0 :: Captivate Accessible In Flash

Jul 24, 2009

I've got Captivate movies dynamically loading into a Flash movie. The problem is, the tab index which works so well when the Captivate movies are in stand-alone mode falls apart when loading the Captivate movie into a Flash shell. I've tried tabEnabled=false and tabChildren=true for the movie clip that contains the Captivate movie, but with no results. Does anyone know how to get the focus manager to tab to objects in a Captviate movie when that movie is running in a Flash shell?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved