Flash :: Control Flex Application From Embedded Control?

Mar 21, 2010

I have a flex application and have embedded a flash (SWF) file into it using <mx:SWFLoader>. There is an "Exit" button on the Flash file. I want to be able to handle the button click event on the flex application.

So when that button in the flash file is clicked, I want to perform an action in the parent flex application.

View 2 Replies


Similar Posts:


Flex :: Flash - External Swf Control Application?

Dec 21, 2009

I have a flex application that loads an external swf file. I created the external swf file using flash cs4 so I can add code to it if that is what it takes.

Here is the code I use to load my external swf:

//add button swf
var request:URLRequest = new URLRequest("http://www.yadayada.com/media/but_button.swf");

[Code].....

Can I have my external swf send click events to my flex application? How?

View 1 Replies

Flex :: Set An Application Control Bar's Color In It?

Mar 16, 2011

I can't seem to figure out how to set the application control bar's background color in flex 4? It doesn't have the backgroundColor property, and I'm a little stuck.

View 2 Replies

Flex :: Remotely Control 100's PC From A Master Application?

Nov 13, 2010

For classroom, how do I actually able to remotely control 100's PC from a master application? Like control the student who also using Flex application is possble with XMLsocket?

View 3 Replies

Flex :: Fullscreen Option For Working For A VideoDisplay Control Embedded In A HTML Page

Jun 10, 2011

If I have a flex swc emebbed in my html page, and the flex swc contains an flex 4 videoDisplay player, which has an option for fullscreen. How do I make the fullscreen work. Because when I click on fullscreen button for the videaDisplay, I get an error: [code]Connect with the people you need to get the job done. Unlike other tools, Cloud Groups lets you work with anyone, whether they're inside or outside the company firewall. Invite them into Cloud Groups to work together on projects, share files, assign tasks or catch up in real-time.

View 1 Replies

Flex :: Manipulate Child Control Inside A Panel Control?

Oct 12, 2009

I am trying to manipulate (move up and down, enable/disable and launch a form) child controls inside a panel control. However I am unable to get the id of the child control on which the click event occurs. To illustrate, I am trying to create similar functionality as is available. I am trying to create the up-down buttons that you see in the image at http:[url].......

View 2 Replies

Flex :: Swfloader: Can Control The Volume Of The Application Loading

Dec 17, 2009

i have a flex application that loads flash files using SWFLoader. is there a way to control the audio volume in that swf from my flex application ?

View 1 Replies

Flex :: Reference A Control In An Application From A Static Function?

Feb 28, 2012

Is it possible to reference a control in an application from a static function?

What I have is a Viewstack containing VBoxes stored in separate controls. Ex:

<mx:ViewStack id="content" width="100%" height="100%" resizeToContent="true">
<controls:Login/>
<controls:Dash/>

[Code]....

Once I get logged in on my login control, I would like to change the selected index of my ViewStack. From my outside controls, I cannot reference my ViewStack by name. I can reference a public static function from an outside control however I cannot refer to the ViewStack from within that function.

View 3 Replies

ActionScript 3.0 :: Accessing Control Of .swf File Into Flex Application?

Sep 6, 2010

i have uploaded in flex, swf file which is created in flash actionscript. This swf file is having the textArea controls.content of textarea changes as i perform some clicks, keyboard input.Now i want to access the content of textarea in my flex application's variable.I have seen some example where a movieclip object is created to get the content and load the method of flash project.

View 0 Replies

Flash :: Control A Embedded Multiframe Swf File?

Jan 12, 2010

[Embed(source="data/fire.swf")] static public var movieFire:Class;

I have some multiframe swf file and I want to have control of them. For example, I can use gotoandplay and gotoandstop functionality.

I tried something like: var m:MovieClip = new movieFire() as MovieClip; but it turns out when I tried to get totalFrames, m.totalFrames, it gives me zero, and gotoand* functions don't work either. How can I correctly control the swf file embedded in actionsript 3.0 (No Flex component)?

View 1 Replies

ActionScript 2.0 :: Control Sound Of An Embedded Flv In A Flash Movie?

Oct 3, 2005

Is there a way to control the sound of an embedded flv in a flash movie? I haven't seen any tutorials on controlling the sound volume for an embedded video vs. netstream.

View 5 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

C# :: Handle Embedded Flash Active X Control Script Errors?

Oct 24, 2011

I have a winForm panel that has a flash ative x control embedded in it. This works pretty well.I load the form, add the flash control to the form, then load the .swf file that I wish to play. However, I have a few issues. There is a button in the swf file that is loaded that is marked with an 'x' to denot that it should close the flash plugin.When this button is clicked it pops an internet explorer window and then shows an error dialog box that says: "Internet Explorer cannot download . Unspecified error"There is also a 'Continue' button in the flash movie that shows when the movie is over, and it produces the same behavior when the button is clicked.

For this project we are trying to aviod the usage of the WebBrowser control to host the flash video.Does anyone have any solutions that would allow the application to handle a call that opens a new internet explorer window?EDIT: I have found more details as to what specifically the issue is. The flash file (.swf) has an embedded call to IE:javascript:window.close()This particular call is causing the IE window to pop and then fail. We do not have the ability to change the flash file, is there anyway to handle this call from the windows form and stop it from happening?

View 1 Replies

Flex :: Programmatically Enter Edit Mode In Tree Control Inside Application

Jan 17, 2010

I have a Tree Control inside my Flex Application which I want to edit on a doubleclick on a tree item. I found the properties doubleClickEnabled= "true", doubleClick="startEditMode()", and editable="true". With these functions I can detect a double click and I can change the editable property to true based on a double click. The problem is that after I double clicked on a Item i have to click once more to really enter the edit mode. That doesn't seem to be intuitive at all..

View 3 Replies

Flash :: WebBrowser Control Behaving Different In Two Application?

Oct 20, 2010

I have two applications. In one application the web browser control shows a flash movie that is embedded and in the other it does not, only shows place holder. I have identical code in both constructors to load a web control dynamically and then navigate to the requested web page.

I run both application in debug mode from within VS2010.

View 1 Replies

Flash :: Control Movie From JavaScript When Have No Control Over The Source?

Nov 4, 2009

Is it possible to control a Flash movie from JS when you have no control over the source? I have decompiled the movie to see its inner workings, but I know nothing about Flash, so I'm mostly in the dark. I found this resource, Interaction with JavaScript, but it's not working for me (probably because I don't know what message to send to the movie).

View 1 Replies

Flash :: Lose Control Android's Webview When Resuming The Application?

Dec 27, 2010

basically, what am doing is that am running a flash file (playing music) in the background of the app using webview, and when I want to stop the music , I just load "about:blank".I want to keep the flash file running (music) when my app gets paused (which works fine so far) the problem is when the app resumes, pressing on pause button launches a new webview instead of changing the link in the previous one and the sound doesn't stop.the only solution I found was to kill the process and restart the app, but that's not practical, any idea of how to still be able to use the same webview when resuming the app ?

Update: guess I wasn't clear enough, I have a webview widget stated as "gone" , I only need the audio form the flash file I'm running in the webview so the "play" button loads a URL that contains the flash file (so the user only hears music, and doesn't notice that I'm using a webview), when I press the back/home button the music doesn't stop (I like it that way) but when I go back and press on play again it loads another url in a new page, you get double music

View 1 Replies

Way To Control Embedded Fonts

Dec 2, 2009

My file seems to be too heavy, so I checked the option to compile with the file size information code]...

View 5 Replies

ActionScript 2.0 :: Control Audio Of Embedded FLV?

Apr 9, 2008

Im creating a microsite which loads external SWFs with embedded FLVs in their timeline (each SWF has its own preloader). To control their audio (mute/unmute buttun), I have encoded & imported the FLVs & their audio tracks seperately in the SWFs. I'm controlling the audio tracks by attached them from library through the sound object.

Issue:

The FLV & audio run synced when I play them together in timeline. But they go off-sync when I play the audio though AS, rest assured that FLV & SWF have the same fps. I have even tried encoding the FLV at both the source video fps & SWF fps.[code]...

View 9 Replies

ActionScript 3.0 :: Slider To Control Embedded MovieClip

Jun 5, 2010

I'm having a little trouble with finding anything about making a slider to control a embedded Movie Clip... I think it may be because a slider is actually a movie clip object which is why nothing is coming up when i search the keywords i want....

I'm looking for a tutorial on how to create a slider to control the frames/time of a embedded movie clip using as3. Essentially I'm looking to recreate a thing like on the YouTube video player, but it wont need to have anything to do with buffering, just a way of pausing/playing a movie clip from a particular frame or time position.

View 0 Replies

Control Flv Embedded Video With External Buttons?

Oct 5, 2009

I have embedded a flv video into my timeline, it uses the flv playback component to play and the SteelExternalAll.swf skin. I would like to control this flv using buttons that I have created that are postioned next to the video player. Ideally, these buttons would be thumbnails, similar to chapter thumbnails on DVDs and would serve a very similar function. As these thumbnail buttons are always present, I want them to change while the movie plays, I think a border around the currently playing would suffice.

The video is nearly 3 mins long, I have made cue points from Sorenson Squeeze.

View 1 Replies

ActionScript 3.0 :: OnEnterFrameHandler + GotoAndPlay To Control Embedded Movieclip

Jun 2, 2010

A method I've used many times on AS2, is not working in AS3. I'm using a gotoAndPlay command within an Event.ENTER_FRAME loop to go to a particular frame on the timeline that holds a movieclip containing a looping movieclip.

[Code]...

It successfully moves the timeline to the "goright" and "goleft" labels, but the problem I'm having is that it never gets past the first frame of the embedded movieclip - clearly because it is resetting the mc every time the onEnterFrameHandler is called.

View 3 Replies

ActionScript 2.0 :: Volume Control For Embedded Video Objects?

Aug 5, 2008

I have a video streaming application that uses a Red5 server. The stream from Red5 is represented through an embedded video object on stage. I need to be able to control the volume of this video object, but so far I've been unsuccessful despite following tutorials like this one: http:[url]....Here's the relevant code:

[code].....

I have a button calling volumeChange onRelease, but when I trace videoSound.getVolume() in volumeChange, it comes up as undefined. However, if I trace videoSound.getVolume() after I define videoSound, it comes up as 100, but any attempt to use videoSound.setVolume in initNetStream is futile.

View 2 Replies

ActionScript 3.0 :: Control Timeline In An Embedded Movie Clip From Scene 1?

Dec 12, 2010

How do I control the time line in an embedded movie clip from Scene 1?[code...

View 9 Replies

ActionScript 2.0 :: Make A Music / Sound Control And FX Sounds Control

Mar 21, 2011

im trying to make a music/sound control and FX sounds control,so i have my FX volume level as a variable(FX_vol) and also the Music/sound volume level as a diffrent variable(M_vol),so i set them as sounds that i can use trough coding:

[Code]...

View 2 Replies

ActionScript 3.0 :: Control Application With Voice?

Nov 5, 2011

I'd like to know if it is possible to control an application with one's voice, using AS3. My project is an application that will be use a some kind of remote to control the various systems (domotique) in my house; the apps can be use with the buttons (way1) and the voice (way2). For example, I enter a room, wants to turn the lights on (they have the proper equipment of course). I have two choices, I either press the button for lights on the pad on the wall, or say something like "Lights ON" or whatever.

View 7 Replies

ActionScript 3.0 :: Control The Volume Of Multiple Audio Tracks Embedded Within A Movie Clip?

Jun 9, 2010

What is the script to control the volume of multiple audio tracks embedded within a movie clip?

View 1 Replies

Actionscript 3 :: Create A Colorpicker Control For Application

Mar 11, 2011

I am trying to create a Colorpicker control for my application. I prefer pure actionscript. Does someone know how to create a picker like this: [URL] Most interestingly I am interested how to draw the gradient because the gradient has a saturation,

View 2 Replies

Flex :: Capturing Control Key With Mouse Down In Flash Builder

Jul 29, 2011

I'm using PanZoomComponent in my application. When a user holds down control key with mouse press, I want to show hand tool by making PanZoomComponent object's property
childPreventsPan = false;
In short at combination of control key and mouse press I want to show Hand tool if not cursor.

View 1 Replies

Flex - Flash Builder Player Source Control

Sep 9, 2011

Any list which folders need to be excluded from a Flash Builder project when adding it to source control. E.g. bin-debug folder which is automatically generated when the project is compiled should not be in source control and etc.

View 1 Replies







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