OZONE Asylum
Forums
Multimedia/Animation
Possible to play external .mov file in flash movie?
This page's ID:
30252
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Turns out that yes it is possible. 1. Create a new movie 2. In the library create a new Video, set the type to action script controlled. 3. Drag the video object to the stage and give it a name 4. Open the actions menu and put in the following: [code]var nc:NetConnection = new NetConnection(); nc.connect(null); var ns:NetStream = new NetStream(nc); myVideo.attachNetStream(ns); var listener :Object = new Object(); listener.onMetaData = function (md:Object):void{}; ns.client = listener; ns.play("Sample.mov");[/code] 5. Test and watch your movie. Thanks go to the following tutorial, which I abbreviated above: http://www.communitymx.com/content/article.cfm?cid=5CAB4 Dan [url=http://www.codetown.org]Code Town[/url] | [url=http://www.zombiehead.org]Zombie Head[/url] | [url=http://www.howmuchtp.com]How Much TP?[/url] | [url=http://feedtheblob.com]Feed The Blob[/url] [small](Edited by [url=http://www.ozoneasylum.com/user/191]WarMage[/url] on 05-07-2008 13:21)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »