Welcome, Guest
Sign in
Create account
Home
Home Page
Components
Buy & Sell
Freelance
Marketplace
Tutorials
Flash Tutorials
Games
Free Online Games
Community
Message Board
Home
Help
Search
Login
Register
Subscribe to
Our Feed
Follow Us
On Google +
Follow Us
On Twitter
Become a fan
On Facebook
Flash-DB
»
General
»
Flash MX 2004
(Moderators:
Flash-db
,
Musicman
,
vesa kortelainen
,
Ronald Wernecke
,
Andresss
,
papachan
) »
Load video into the Mediaplayback component
« previous
next »
Print
Pages: [
1
]
Author
Topic: Load video into the Mediaplayback component (Read 2797 times)
Zar
Server what's that
Posts: 2
Load video into the Mediaplayback component
«
on:
10/07/03, 15:59 »
Can anybody tell me how to load different videos into a mediaplayback component by clicking buttons?
Thanks
Logged
Jorge Solis
Global Moderator
Systems Administrator
Posts: 14616
Re:Load video into the Mediaplayback component
«
Reply #1 on:
10/08/03, 07:06 »
You need to use the setMedia() property, i.e
myButton.onPress = function(){
myMedia.stop()
myMedia.setMedia("gol2.flv", "FLV");
myMedia.play(0)
}
See also this interesting tutorial:
http://www.ultrashock.com/tutorials/flashmx2004/video.php
Jorge
Logged
Twitter
http://twitter.com/solisarg
Zar
Server what's that
Posts: 2
Re:Load video into the Mediaplayback component
«
Reply #2 on:
10/08/03, 13:23 »
Thanks a lot!!!
Logged
Print
Pages: [
1
]
« previous
next »
Flash-DB
»
General
»
Flash MX 2004
(Moderators:
Flash-db
,
Musicman
,
vesa kortelainen
,
Ronald Wernecke
,
Andresss
,
papachan
) »
Load video into the Mediaplayback component