Home Tutorials Forums Articles Blogs Movies Library Employment Press
Prev Previous Post   Next Post Next
Old 05-31-2007, 12:29 AM   #1
reelstuff
Registered User
 
Join Date: May 2007
Posts: 3
Default SWF and FLV in same SWF file

I have a SWF that plays FLV files, using the action script below,

I am attempting to find a way to allow the SWF to also play a regular SWF file as well as an FLV file, without breaking the current code.

Any thoughts suggestions, ideas, would be greatly appreciated.

Code:
stop();
_root.player.autoPlay = true;
var curPlayURL:Object = new Object();
var PlayURLWatcher:Function = function (prop, oldVal, newVal, userData) {
	trace("set "+newVal);
	_root.player.setMedia(newVal);
	return newVal;
};




curPlayURL.watch("cururl", PlayURLWatcher, 0);
player.addEventListener("playheadChange", controlListen);
reelstuff is offline   Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
script to identify when FLV movie complete and goto Scene ... Lostin ActionScript ActionScript 2.0 14 12-04-2009 03:20 PM
Custom Video scrubber (not FLV) Flash pdvk Other Flash General Questions 1 05-06-2008 04:04 AM
FLV from loaded swf problem jonasrygaard Components 3 04-26-2007 01:45 PM
Can I stream a SWF file? captainMarkis ActionScript 2.0 8 04-24-2007 09:51 PM
Problem with externally loaded SWF file speedy123 ActionScript 2.0 9 04-12-2007 06:54 PM


All times are GMT. The time now is 11:09 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.