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


Similar Posts:


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

Html :: Flash - Play A Background Audio Across Multiple HTML Pages.?

Nov 17, 2010

Is there a solution to have the background audio/music play across multiple page on a website, WITHOUT restarting on every page load.The website currently uses a frameset, but I'm looking for an alternative.

View 2 Replies

ActionScript 2.0 :: Flash + HTML + Variables - Go To The Home.html Page An Animation Will Play From Start And Then Stop At The End Of It

Feb 25, 2010

when you go to the home.html page an animation will play from start and then stop at the end of it. However, for all other pages i.e contact.html aboutus.html we need the animation to skip to the end straight away and not to play the whole animation through. I was thinking this would be controlled by a variable or some kind of external text file ect. Basically in the first frame the actionscript needs to basically say

"if this html page is aboutus.html then go to the last frame and stop" and with the index page it would say "if this html page is index.html then keep playing"

View 2 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 :: 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

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

Actionscript 3 :: Get All Images From HTML Control In Flex?

Feb 16, 2012

I have a HTML control in Flex that succefully loads a page. Is there someway that i can extract or get all the images from that HTML control and show them?

View 2 Replies

Put Control On Play Button Of Flvplayer Component?

Aug 20, 2009

I want to put some control on play button of flvplayer component in AS2.0.How this can be done ??How I can call play button: I don't know how it to be referenced/its name.

View 1 Replies

ActionScript 3.0 :: Control (Play / Stop) Different MC Using OnEnterFrame

Aug 19, 2010

I have a movie clip on the main timeline with an instance name odometer_mc. nested in that mc there are seven movie clips, two are named m100_mc, and km1_mc. I want to get km1_mc to play when m100_mc gets to frame 20.

View 4 Replies

Professional :: Play Many Flvs Using Player Control?

Apr 25, 2011

I have a folder of sales training lessons (flvs) and I want to play each one of them by clicking a button and to have each one use a common playback control. When I us the follwing code I get a "1120: access of undefined property error".
 
stop();
function playAud1(evt:MouseEvent):void { player.source = "audio/The_Profession_Called_Selling.flv";}seg1_btn.addEventListener(MouseEvent.CLICK, playAud1);

[Code]....

View 1 Replies

ActionScript :: Flash Control To 'play' Visualizations

Nov 15, 2009

I'm building an application which will have a control to play, pause, step forward & step back through different versions of my visualisation - like the controls on your tape deck, but moving my visualisations through time, instead of that battered old Simon & Garfunkel recording.

I would have thought that my various animations would listen out for a particular event which fires on each 'beat' and tells it the time currently on the time line. My 'play' button then kicks off some code which causes one of these 'beat' events to be fired every second (or 5 seconds, depending on the speed selected). The 'step forward' button would cause a single event to be fired, and so on.

Assuming my design makes sense, I'm not clear how I would generate those events at regular intervals. Alternatively, my design might not make sense or be the most effective one for the job.

View 1 Replies

ActionScript 3.0 :: Control External Mp3 Play Time?

May 2, 2011

How can I control the playing time of an external mp3 using actionscript ?

I need to only play a 10 second clip of this sound file so how can I control the length of play time?[code]...

View 0 Replies

ActionScript 2.0 :: [mx04] MC's X/y To Control Frame Play Of Other MC?

Oct 31, 2004

What I'm trying to accomplish is creating faux control ability. It just needs to look like there's user input.The specifics:to the right of the screen is a window with 6 tabs that you can drag. I want the window above the tabs to have green bars that increase vertically as you drag up and decrease as you drag down. I thought I would be able to asign variables of position1, ""2, ""3, etc. Then set up a <= if then statement to say:if tab1_mc is less than 280 px for it's _y then tell greenbar1_mc to gotoAndStop(3);That didn't work, so, I figured I could just forget the var's and set up some AS that can constantly get the value of the tab1_mc's _y and then go through an if then AS that would tell the greenbar1_mc to gotoAndStop(respective frame);

View 2 Replies

ActionScript 2.0 :: Control A Movie Clip To Play?

May 18, 2004

how to control a movie clip to play, say every 3rd frame instead of every 1? Thus creating the illusion it is playing faster.

View 3 Replies

ActionScript 2.0 :: Advanced Preloader Play Control

Sep 28, 2002

I have two scenes setup where the first scene has a preloader that works great - here is the catchy part though - my first scene (where the code is) is 140 frames long and the second scene is over 400 frames - once all of the frames have been loaded from the second scene the first scene JUMPS to and plays frame 1 of the second scene, reguardless of where the playhead is in the first scene - what I want it to do is once the second scene has been loaded I want the first scene to play all the way to the end (frame 140, scene 1) of the first scene and THEN going on to the second scene (frame 1, scene 2)giving my sound and animation a smooth transition over.

View 10 Replies

Flash :: Embed Video And Control Skin Using HTML?

Sep 26, 2009

I am trying to use HTML to embed a flash video, however I encounter the following errors:

Error #2044: Unhandled skinError:. text=[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text=" Error #2035: URL Not Found. URL: SkinOverPlaySeekStop.swf"] Here is my HTML code:

[Code]...

Whenever I open the page I'll get a popup window with the above errors and once I click "continue" it will go ahead and play the video, but without the control skin. how to get the skin to show up?

View 2 Replies

ActionScript 1/2 :: HTML Text Button To Control Flash?

Feb 8, 2010

for a quick 508 compliance, how can I create a text button in HTML to control the playback of Flash, such as pause, play, go to frame 100, go forward 100 frames or rewind 100 frames?

View 1 Replies

ActionScript 3.0 :: Control/unload Swf Inside Html Textfield?

Jul 27, 2011

In a CS3/As3 project I have xml files with html content loaded in a texfiled inside a mc. In some cases I have swf files embedded with img tag in the xml. The problem is that when a swf is loaded this way It keeps 'living', playing with sounds in the background when other xml files and swf are loaded in the texfiled. Then, every time it is loaded, a new instance of the swf is created and played.I have found out you can refer to the loader object with getImageReference method giving an id to img tag and, for example, adding an Event.COMPLETE listener to the loader. But I don't know how to access to the loaded swf to unload it or at least stop it (mc_name.texfiled_name.swf_id doesn't seem to work in AS3)Does anybody know if it is possible?

View 7 Replies

PHP :: Control Embedded Flash Movie Playback In HTML

May 1, 2010

I am using an embedded flash movie in my web page. I would like to show some alerts on the page when the movie has played for x seconds, pause the movie while the user views and dismisses the alert and start playing the movie again after that (or the user can press the play button, not important). The important parts being - the app being able to find out if x secs worth of movie has played, pausing the movie then and showing an alert. Is this possible using a php/javascript code within the web page? Or will I have to do this within the flash movie itself?

View 1 Replies

Actionscript 3 :: Make Flex HTML Control UnSelectable?

May 2, 2010

I am displaying some HTML text in an Adobe AIR Application that I do not want the user to be able to cut and paste. How do I make the HTML control disallow highlighting of the HTML without disabling the ScrollBars. mouseChildren=false works but disables the scrollbars which is unacceptable.[code]...

View 1 Replies

Flex :: Mx:HTML Control Won't Display When Added In Code-behind?

Apr 30, 2011

I am building an AIR application and I was planning to include the mx:HTML control but I can't seem to get the control to display. Here is the code:

var tmpHtml:HTML = new HTML();
tmpHtml.htmlText = "<a>This is the sample </a>";
tmpHtml.x = 48;

[code].....

View 1 Replies







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