ActionScript 2.0 :: External Loaded Swf Controller?

Nov 24, 2011

I have an external swf that loads in a file using this code:

Code:
var paused:Boolean = false;
play_mc.onRelease = function()

[code]....

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Volume Controller And External SWF

Jul 8, 2009

The first is that when loading an external swf in my main SWF I get this in the output window:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at audio_fla::list_1/frame1()
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()
at audio_fla::MainTimeline()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at audio_fla::MainTimeline/frame1()

But it still works. Its an mp3 player. The other problem is that the loaded SWF has a volume controller. When I test the external SWF by itself it works fine. When I load it on my main SWF when I start to drag the handle on my volume slider and MOUSE_UP outside the handle it still keep dragging the handle.

The code of my main SWF is:
import caurina.transitions.*;
var _currentCategory:String = "";
var percent:String = "";
var loader = new Loader();
loader.name="videoLoader";
[Code] .....

View 1 Replies

ActionScript 3.0 :: External XML Works Loaded Offline Not Loaded Online?

Apr 15, 2009

Code:
var slideNo:Number;
slideNo = 0;
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.addEventListener(Event.COMPLETE, showXML);

[code]....

View 3 Replies

ActionScript 3.0 :: Unloading A Loaded External SWF With A Close Button On The External SWF To Unload?

Aug 15, 2011

[URL]I have: main.swf (a menu) and I have module.swf (content)If you navigate to Subsea Wellhead Systems/SS-15 BigBore II and click on that I have it load an external swf which covers most of the parent. So far so good. My problem is unloading the loaded 'Child' swf with the button provided on the loaded 'Child' swf.below is the code I used to load the file but I cant, for the life of me, find a way to unload it. 
 
var bigboreLoader:Loader = new Loader();btnbb2.addEventListener(MouseEvent.MOUSE_UP, bigborecontent);
function bigborecontent(event:MouseEvent):void{var bigboreRequest:URLRequest = new URLRequest("moduletemplate.swf"); bigboreLoader.load(bigboreRequest); stage.addChild(bigboreLoader);
 
I am certain it requires the Child to communicate with the parent somehow but I am at a loss. If I could get a bit of advice or a link to something deal with this, it would be a big help. I just need to have my links load my modules and the remove them when the close buttong is hit on the loaded swf. I promise I have done searches and I admit I have found asnwers but still they are not working. I found the code below:
 
Main FLA: 
function removeF() {
removeChild(bigboreLoader);
}

[code]....

View 10 Replies

Flash :: Loading / Unloading External SWF Using Buttons From Loaded External Files

Feb 23, 2011

I spent almost a week trying to figure out how to unload a currently loaded swf using its button and loading a new swf... I have three files, a main.fla, file1.fla and file2.fla. In my main.fla, I have a code which loads the other two files. If i will click the "unload" button in the file1.swf, I would like the main.fla to unload the file1.swf and load the other file, file2.swf. Here is the code to load the file1.swf:

[Code]....

View 1 Replies

ActionScript 1/2 :: Load An External Xml In An External Loaded .swf

Jul 24, 2009

I've got a small (more than 100 hours of thinkwork up till now!) problem I can't seem to solve:

I want to populate an external loaded swf with an dynamicly loaded xml fil (loaded from my config.xml).

[Code].....

how do I get the external xml into the external swf as a variable for the actionscript in the external loaded swf (So I just want to put the path in the script in my external swf...).

View 5 Replies

Actionscript 3 :: Stopping An Externally Loaded Swf From "playing" When Another External Swf Is Loaded?

Nov 8, 2011

I have a homepage with five "links" to each swf. Now the first swf I have a custom cursor that hides the mouse. When I click on that link it plays and when I quickly go to the homepage again it hides the mouse there when it's not supposed to do it.

Same with every other link. When I was busy with the first swf and want to go to the last swf of the five, my mouse just disappears! It is almost as if it keeps on "playing" without seeing the swf...

Here is the code that I have so far!

var currentpage:uint = 0;
//one loader object per project:
var loadingobject1:Loader = new Loader();
loadingobject1.x = 445;

[Code]....

View 1 Replies

Inject Controller Into Another?

Aug 23, 2011

I have a controller that receives an event with some data. As a part of the processing this s new data it needs to modify a collection in another controller. Is it a bad idea to inject a controller into another controller to modify this collection?

View 2 Replies

ActionScript 3.0 :: How To Get Controller

Jul 13, 2009

i'm trying to use org.simplemvc for my first mvc project. i'm getting it piece by piece, but I can't figure out how to get the controller from a class of mine that extends view.I thought it would be as simple as just calling a method from it's super, view, the controller getter. but it tells me the property doesn't exist, so I'm thinking it has something to do with the interface.[code]

View 1 Replies

Professional :: Can't Resolve When Using The Controller?

Mar 15, 2010

I'm using CS4 and encountered an issue that I can't resolve when using the controller. When an audio file (MP3) is on the timeline, I hit play on the controller to listen to audio but when I hit stop, the play head stops while the audio continues to play. I also noticed that when scrubbing the timeline you can't hear the audio.
 
Has anyone encountered this? This issue doesn't happen in CS3 and since a lot of my work deals with syncing graphics to narration I have to go back to CS3, which I don't want to do.

View 3 Replies

ActionScript 2.0 :: Set The Speed Controller?

Jan 9, 2009

I have one flash movie. I have to set speed controller for this. Like: Regular, Slow and Speed. How can I set the speed controller.

View 2 Replies

Creating Flash Controller For Website?

May 26, 2009

Rather than build a controller for each video on our website, my IT dept wants me to build one controller that all videos can access. How do I do that and do I need a script? I know nothing about scripting and I'm a newbie in video publishing

View 3 Replies

Use A Wireless Controller For Flash Presentations?

Jul 22, 2009

I'm trying to use a Kensington wireless remote to advance the slides in my presentation...

View 1 Replies

Flex :: .NET Webservice In MVC - Access (controller)?

Jun 22, 2010

I am working on a flex application which makes calls to an .NET webservice. I am trying to follow the MVC design pattern. I have created a model, which stores all information received from the webservice. The webservice itself is created by actionscript in the controller. The view in my case, consists of various user-defined components (multiple .mxml files).

The Model is a singleton class, and each of the views accesses a getInstance of the model. The question is how do i access the webservice (i.e. controller) from each of these components? Does the controller also need to be a singleton class just like the model? and let each component get an instance of the controller in order to access the webservice?

View 1 Replies

C# :: Post Image To Asp.net Mvc Controller Action?

Jan 18, 2011

I'm trying to create an asp.net mvc controller method that will return an image generated by a POSTed bytearray. The post is coming from Flash and has the request header: "Content-type", "application/octet-stream" (although this can be changed if needed).[URL]

var header:URLRequestHeader = new URLRequestHeader("Content-type", "application/octet-stream");
var jpgURLRequest:URLRequest = new URLRequest("jpg_encoder_download.php?name=sketch.jpg");

[code].....

View 2 Replies

ActionScript 3.0 :: Flash Video Controller?

Jun 30, 2009

Can flash video controller control external swf files? It seems it can only control flvs?nyways, I am working on a flash animation with voice over and I need to have a video ontroller so it can rewind, fast forward, pause the swf and turn off the sound....etc....oes anyone know any video controller in AS3 that can control swfs out there that I can download or purchase?I know I could convert the swf to quicktime then flv, but the quality would be degraded because of the conversion from vector graphics to bitmap. I certainly wouldn't want to have that.

View 1 Replies

ActionScript 3.0 :: Frame Slider Controller?

Nov 30, 2010

i need to have a slider over my stage to control the time-line "frame by frame motion"...to drag the slider and move foreword and backward with actionscript 3.0the problem is how to control the slider to reflect in the main time lineand the drag and move action for the slider itself ..

View 3 Replies

ActionScript 2.0 :: Best Way To Load Sound Controller?

Jan 13, 2004

I have an external sound controller that plays 10 tracks. The current way I load the sound controller is with LoadMovie and I do it on the last frame of the movie that is my actual website. However, this slows my whole site down significantly, because when I press stop on the sound controller...everything is at the speed I want it to go. What is the best way to go about preventing this slow down?

View 2 Replies

ActionScript 2.0 :: Control Flash With USB Controller

Feb 7, 2008

How do I create a game that is controlled by a plug-in USB game controller? I already have the scripting done for the game itself. I just want to know how I would script it to be controlled by a USB game controller.

View 2 Replies

ActionScript 2.0 :: Way To Load Sound Controller?

Jan 13, 2004

I have an external sound controller that plays 10 tracks. The current way I load the sound controller is with LoadMovie and I do it on the last frame of the movie that is my actual website. However, this slows my whole site down significantly, because when I press stop on the sound controller...everything is at the speed I want it to go.

View 2 Replies

ActionScript 3.0 :: Text Is Loaded From External Text Files And Styled With An External Css File?

Jun 7, 2009

I've managed to piece together a flash website with my limited as3 knowledge. The text is loaded from external text files and styled with an external css file.

It's working perfectly in Firefox and Explorer but it only works SOME of the time in Safari (on my mac).It's hit and miss. Sometimes it styles the text sometimes it doesn't.

[Code]...

View 1 Replies

ActionScript 2.0 :: FLV Controller And Delayed Button Appearance

May 20, 2010

I'm having trouble with a controller I'm using with an FLV. I am a newbie when it comes to actionscripting. I have a project I'm working on that contains a 86:50 minute FLV and towards the end I will have a separate button appear to click on. The code I am implementing was from a different project that utilized the same functions but with a 4:49 minute FLV. I have an example of this at [URL]. As you can see the controller is set up for the 4:49 minute FLV and when the timer gets to 5:00 minutes that button comes in. I need to make the FLV play the whole way through and then at a specific point have the button appear and I can't seem to do it. Below is the only code I can see that pertains to this section.

scrub.onPress = function(){
scrub.startDrag(false, -365, scrub._y, 49, scrub._y);
dragging = "true";
}scrub.onRelease = function(){
var newNum:Number = (scrub._x - -365) * .7625;
mainVid.seek(newNum);
scrub.stopDrag();
dragging = "false";
[Code] .....

View 1 Replies

ActionScript 3.0 :: Activating Buttons With A Controller Button?

Feb 24, 2009

I have a row of movie clips which act as buttons with an inactive state, active state, selected state etc. What I am seeking is kind of like a controller button which when clicked will activate or de-activate this row when clicked. I thought the best way might be to set frame labels and add a goto sript for the controller button to make each button go to the activate frame when the controller button is clicked.

View 4 Replies

ActionScript 3.0 :: Playback Controller Wider Than .flv Movie?

Sep 12, 2008

When I render an .flv by adding the video to the Render Queue in After Effect instead of exporting to .flv the video controller ends up wider than the video itself when imported to Flash.

My video is 495 wide by 360 high. When I render in AE in the Render Queue, and then import to a Flash doc, the video controller is about 15 pixels wider on both the left and right of the video. This looks goofy. Is their a way to resolve this? Is this a Flash challenge or an After Effects challenge?

View 4 Replies

Sliding Volume Controller For Main Timeline?

Apr 29, 2009

I am trying to change the volume on my sound files which are located on the main timeline.(sync = streaming) I can use a allSound.setVolume(#) to control the sound level across the timeline.

[Code]....

View 5 Replies

Data Integration :: Make A Temperature Controller?

Oct 8, 2006

I need to make a temperature controller.How can i bring a live temperature inside flash I have aexternal text file that have the value.It needs to update every 3 sec, so need to reed every 3 secthe value in a external text file.

View 1 Replies

ActionScript 1/2 :: Controller / Scrubber For Animation With Scenes

Apr 8, 2010

I would like to make a player controller with a scrubber for an animation I am creating. I do not want to control a video (mp3, flv, or other). I want to control the animation on the timeline. My Flash file has scenes. Is there a tutorial for applying a controller for this kind of file?

View 1 Replies

Flex :: Registering Event Listeners In A Controller?

Nov 10, 2009

I'm working on creating a simple MCV application, in order to understand MVC better. The problem I'm having is registering event listeners. The way I see MVC is that the view dispatches events, the controller listens for these events and acts on them, either updating the model or amending the view. So in my MVC app I have a controller which during initialisation should register all the events that are dispatched by the view. This is my controller:

[Code]...

Now is this the way to do this, and why is it that my controller is not registering the event handlers?

View 2 Replies

.net :: .NET MVC Controller Action Not Invoked By GET Or POST From Flex App

Mar 3, 2010

A flex app running in a view of my .NET MVC app can load data fine from another route, but submitting data via either POST or GET never invokes the controller action. Interestingly, the only way I can get the action method to fire is by passing intentionally malformed post variables in the http request. Odd. Content type is application/x-www-form-urlencoded and I have set authentication to "None" in web.config with no improvement.

View 1 Replies

Asp.net Mvc :: Keep Alive Page With A Flash On It / Ping Controller

Jun 17, 2010

I have page in my asp.net mvc website with a flash app on it, and the user can stay on that page for hours, but his auth cookie/session is going to expire, so I'm thinking to create a PingController and to call it using jquery $.post each 20 minutes.

View 2 Replies







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