ActionScript 2.0 :: Control Separate Swf's In One Html?

Sep 23, 2006

how to control separate swf's in one html. Problem :One swf needs to tell the second swf to go to and stop at a specific frame and they are both in the same HTML. Im having trouble writting the actionscripting that specifies the other swf to gotoAndstop at a certain flag. how do I change this, so it can say what I want it to do?

[Code]....

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Timeline/load Control From Separate Html Page?

Oct 22, 2009

I am working on a flash piece that is composed of one master swf that has five options/sections within it. Each option loads two separate swfs that operate at the same time. Within those swfs are url links which open in the same window, replacing the page with the flash piece on it. Is it possible to link back from the opened url in a way that will go to the frame in the main swf's timeline that will reload the relevant swfs?

I had suggested just targeting a _blank window but the person I am attempting this for doesn't want that.

View 1 Replies

ActionScript 3.0 :: Controlling Sound Of Separate Html Files Within Same Html Page

Sep 11, 2010

I need to allow users to preview audio files for purchasing. I have CF pages that return records form a SQL database. Each record contains the same swf file however, each swf file points to a different mp3 for previews of different audio examples. So far, everything is working fine. My problem is that I need to be able to stop the sound from one swf when I click to play a second swf .The only solutions I see in Flash forums deal with loaded swf files. These are not loaded files they are separate files within a page. The question is: How do control one swf from another swf in the same page.The following items have not worked: soundChannel.stop();,soundMixer.stopAll()

View 2 Replies

ActionScript 2.0 :: Control Between Separate.swf In Frames?

Aug 20, 2002

for my site I am using HTML frames. 1 frame is called "menu" and the other is called "main". I am wondering if there is anyway I can control the .swf in "main" with the .swf in "menu".

More specifically - would it be possible to set a variable in the .swf contained "menu" and then depending on the value, make the .swf in "main" act in a certain way.

For example set the variable within the .swf in "menu" :

myvariable=1

and then do a check within the .swf in "main" :

If my variable==1 {do this} ?

I havn't actually tried "just" doing that because I think it will take more. Does anybody know?

View 7 Replies

ActionScript 2.0 :: Make Two Separate SWF On The Same Webpage Control Each Other?

Jun 30, 2010

I've done a search and found out about LocalConnections but I don't seem to be able to apply them to my issue.

I have two separate SWF files that appear on the same web page. Both are simple animations and all I want is when the first has finished playing for the second to start, and them when that has completed restart the first one again (and so on...).

I'm also guessing that in order for this to work I'll need some code in the first SWF to detect that the second has finished loading otherwise nothing will happen when the first SWF reaches the end.

View 5 Replies

ActionScript 3.0 :: Control An External Movie In A Separate Browser Window?

Jul 31, 2008

i am creating a website for a band, with an mp3 player. i want to be able to make an mp3 player that pops up in a separate browser window. the mp3 player would have a "playlist" that can be dynamically changed from the main window, which gives a list of albums & tracks to choose from. the model for this is Rhapsody's web interface. so, how would i go about creating & dynamically changing the playlist (while music is playing) across multiple browser windows? the "playlist" would be an array of references to mp3s, i guess-- so is there a way to pass events & variables across the windows?

View 4 Replies

ActionScript 2.0 :: Incorporating The Separate Graphic Stages Of The Button Control

Dec 20, 2009

how can i make a button respond to mouse release and/or Enter key release, depending on user input.. when I press Enter, I would like to have the button(s) behave in the same way as if I was clicking it with the mouse, possibly incorporating the separate graphic stages of the button (appearance of button down when clicked with mouse = appearance of button while Enter key is down, etc.) ... and am also curious as to how you can tab between buttons then just press enter to deploy it... i know how to make a button react to button.onRelease and somewhat to the Enter key... separately.. but not as a combined package

View 2 Replies

Html :: Flex - Display HTML Text In A Textarea Control?

Apr 15, 2012

I have created a textArea element but cannot display my HTML content. If I just display regular text it works or if I change the textArea element to a RichEditableText element it works fine. Since this is for a mobile app I would prefer to use the textArea element as recommended by Adobe.Here is the MXML code for the textArea. All I get is the border and no content displayed.

<s:TextArea id="myHelp" editable="false" width="100%" height="100%">
<s:textFlow>
<s:TextFlow>[code]..........

View 1 Replies

ActionScript 2.0 :: Loading .swf's Into Separate .swf's On An HTML Page ?

Oct 10, 2005

I have been trying to find recources on loading a .swf into a sepearte one.for instance:I will have an HTML layout with multiple flash movies. I know I can load movie into the .swf that the button is in.my question is. can I have the navigazion on the left side of the screen communicate with another random .swf to load the additional content?

View 1 Replies

ActionScript 3.0 :: Passing Variable To A SWF On Separate HTML Pages?

Sep 3, 2009

i have a flash file created in AS3, let's call it file1.swf it contains a variable.. we will call this testVariable file1.swf is embedded inside file1.html file1.swf reaches a point where it needs to load a new swf file that we will call file2.swf file2.swf is done in AS2. file1.swf simply calls file2.swf by calling a new HTML file that embeds file2.swf

So file1.swf calls

var targetURL:URLRequest = new URLRequest("file2.html");
navigateToURL(targetURL, "_self");

I need file2.swf to have access to testVariable.

View 4 Replies

Professional :: Passing Input Text To Separate HTML Page?

Apr 1, 2010

I have a single text input box in a flash form that i would like to show up in a particular area on a separate html page.

View 3 Replies

Flash :: Embed Swf Movie In HTML Without Creating A Separate File?

Nov 22, 2010

Is there a solution, similar to img data:image/gif;base64..., that allows to embed an swf movie in a HTML page without having to create a new swf file and link it in the src attribute?

View 1 Replies

Actionscript 3 :: Share A NetConnection/NetStream Between Separate SWFs In The Same HTML Page

Dec 21, 2010

I am aware that I can share simple Objects using LocalConnection, but this does not (in my limited testing) appear to work with NetConnection or NetStream.

In short, I wish to have a single SWF that acts as a NetConnection proxy for other SWF files in the HTML page. The client SWFs require direct access to NetStream objects on the proxys NetConnection.

Is this at all feasible, or will each client SWF require its own NetConnection?

I am aware that I could build the entire application in flash and utilize a single NetConnection internally, but this is NOT what I want to do.

View 1 Replies

ActionScript 2.0 :: External Interface Call - Each Image In The Slide When Clicked Needs To Go To A Separate Html Page?

Jun 29, 2009

I have created a small image gallery for use in a CBT Program.What I am looking to do is, each image in the slide when clicked needs to go to a separate html page.I currently have it working as far as being able to execute a single External Call to go to a HTML Page, but it is working for the entire gallery not individual pictures.I am thinking of separating the way the MC are loading into the container, then tying External Calls Specific to the individual clips.

below is the current code.
--------------
import mx.transitions.Tween;
import mx.transitions.easing.*;[code].....

View 0 Replies

Actionscript 3 :: Menu Bar Control In Flex , Handle Separate Method For Individual Menu Item?

Jun 26, 2009

i need to fire separate method for individual menu item clicked ,so that individual item can handle separate method.and i need know what all the properties are available in menu item like type="radio".

<mx:MenuBar id="jj" labelField="@label" itemClick="MenuItemClick(event)" x="23" y="228">
<mx:XMLList>
<menuitem label="File">[code]......

View 2 Replies

ActionScript 2.0 :: F8 - Attach Sound Object To A Separate Mc To Control Independently From All Other Sound / Root Volumes

Mar 15, 2008

I have been at this for about 19 hours straight! I am going to go to bed immediately after this post, but for crying out loud, I have NEVER had this problem before today! Before anyone reads ahead and says 'you have to attach your sound object to a completely separate mc to be able to control it independently from all other sound/root volumes.' see if the following code accomplishes just that:

[Code]...

View 2 Replies

ActionScript 3.0 :: Assign 5 Separate Dynamic Text Fields To 5 Separate Buttons?

Apr 18, 2010

What I need to do is assign 5 separate dynamic text fields to 5 seperate buttons and at the same time to those same five buttons i would like to add 5 images that i would  be able to change merely by swapping out the images in the file theyre in on the server.I would also like to get a nice transition between the images...ALSO i want to dynamically load the images for the buttons that will be used for switching from picture to picture(which im thinking i will be able to do after i know the how to do point the aforementioned things.) 

Through tutorials I've found around the net I've been able to get most of the parts together... but i get lost because what they show you for AS2 they don't for AS3 and vice versa, at least that ive seen.so... I guess my question is... would i need to set up 5 seperate dynamic text fields on the stage and then set each one of them to one of the corresponding button. If so what AS code would i need to use to do so.  And if not what would i need to do?
 
The other part of the question would be I know about the UILoader... would i be able to use it as my buttons and images, if so would i need 5 seperate ui loaders for both the Thumbnail buttons and the images or is there a way that would be better to do it?  and once i do that would i do the transitions using frames and tweens like with AS2?

View 2 Replies

ActionScript 3.0 :: Apply Separate Actions To Separate Keyframes?

Aug 19, 2009

If I create a new flash AS3 file and create two blank keyframes in my actions layer I can add actions to each keyframe separately no problem. I can then easily switch between the actions frames from the menu bar on the left of the actions input panel. However if I try and do this on any of my projects i've been working on for a while when I create a new blank keyframe in the actions layer and try to add actions to it, I get sent straight back to my first actions keyframe and not a nice blank page. Can I even apply seperate actions to seperate keyframes?

View 6 Replies

ActionScript 2.0 :: Loading THREE Separate .swfs Into THREE Separate Tweens

Jan 17, 2011

This is NOT the same as my last thread as i am after three and NOT ONE as last time. In the attached movie there are three seperate movies loading into three seperate tweens. Please note that i am happy with this movie as it is, and do not want to change anything about it except for the script itself. It refurs to three seperate clips "b.a","d.c" and "f.e". What i want is for the script to incorperate all three clips under one name of "mc" And instead of have three seperate widths, "width 1","width2" and "width3" i want the script to also incorperate all three widths and heights into just one name of "width" and one name of "height".

View 9 Replies

Flash :: IDE - Control Of An Html Div Tag

May 25, 2005

Can Flash control the visibility of a html layer <div>? Example: I am building an eyeblaster style banner and would like flash to turn off the visibility of the div containing this banner, either when they click close or the movie reaches a specific frame on the timeline.

View 2 Replies

ActionScript 1/2 :: Control Flash With HTML?

May 4, 2009

I've done this a long time ago and for the life of me cannot remember how(even found my old post here, where I said fscommand did the trick, but I never wrote exactly how I did it).I have two text links in HTML on my webpage. I have a small flash movie on the same page.
 
I want to have the flash movie jump to a specific frame when one of these HTML text links is clicked. And to another frame when the other is clicked.I did it before with the fscommand, but I can't remember which project it was for so I can't look at my old code.

View 6 Replies

Flex :: Use Proxy In It's HTML Control?

Mar 21, 2011

I want to use a proxy on the HTML Control found in Adobe AIR.I have tried looking at the AS3 docs on Adobe but honestly, it didn't explain the usage clearly to me and looking at Adobe's example, I can't seem to make out anything off of it.

View 1 Replies

Detect Invalid URL For AIR HTML Control?

Jul 16, 2011

When setting the .location property of an HTML control, it is possible to set it to an invalid URL with no error. How can I determine if the change in location resulted in the loading of some HTML, or if the URL is 404?[code]...

View 1 Replies

ActionScript 2.0 :: Flash Control HTML?

Apr 24, 2010

I have a button in HTML that updates a little Javascript. Instead of the HTML button updating the Javascript, I would like Flash to. Here is my HTML button code:

PHP Code:[code]................

View 8 Replies

ActionScript 2.0 :: Play Control Through Html?

Aug 18, 2003

I have a question for any seasoned Action scripters. Here's my problem, I have two flash files embedded in different parts of an HTML page and I want one flash file to play the other when it gets done. I would assume that I need to use PHP or javascript to talk with the HTML file that would send the other flash file a command which it was "listening" for. I really don't know however.

View 2 Replies

IDE :: Control Flash From Html Page?

Dec 9, 2004

I want to go to a particular scene of a flash movie when the page refresh on clicking to a button for a particular page. say..I have expandable menu in flash(verticle menu) so when i click products..it should opens products page also show the submenus should not be hidden. So, if html page can tell flash to go to particular scene of a flash movie on refresh, then my problem will be solved.

View 2 Replies

Professional :: Having Flash Control HTML Navigation?

Jul 10, 2010

1. I have a flash movie embedded in an html page. When the user clicks on a button in the movie it should open the new in the SAME or CURRENT window NOT in a new tab (leaving that window open).
 
Here's the code..getURL("imageTest.html", _self);
 
2. I can't get my block navigation to show the CURRENT link.I want the current link or page on the navigation bar to be a different color than the other links.
 
I'm able to get the font to change color but I can't get the background or "block color" to change color.

View 2 Replies

Flex :: Air - Reset The HTML Control's History

Aug 26, 2010

I am using the flex HTML component and I would like to clear the history of the control when it is taken off screen, so that when it comes back on again the history is reset.

The only thing I can think of at the moment is to set the HTML control to a new HTML control, although this is a bit of a pain.

View 1 Replies

Flex :: Get Text From A <input> HTML Control In 4?

Sep 29, 2010

I have a BorderContainer that has an HTML element inside of it. The HTML has a control that isn't contained in a form.

It is possible to retrive text from the input element at a given moment?

View 1 Replies

Flex :: HTML Control's Event Won't Fire?

Sep 14, 2011

I'm having trouble firing or capturing the results of an event firing.

Here's the current code...

<s:Panel id="instructionsPanel" left="0" right="0" top="0" bottom="0" title="Register">
<mx:HTML id="htmlViewer" left="10" right="10" top="0" bottom="10"

[Code].....

What's happening is that the user fills out a form in the HTML Viewer, then when they click the submit button I want to be notified of the page change.

If they land on URL A, then they'll be shown one message. If they land on URL B, they'll be shown another.

However, the event isn't firing.

I've also tried COMPLETE and HTML_DOM_INITIALIZE.

View 1 Replies







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