Calling external video from a streaming server

  • stunbunny
  • Born
  • Born
  • No Avatar
  • Joined: Dec 20, 2007
  • Posts: 4
  • Status: Offline

Post December 20th, 2007, 10:50 am

I need to find out if there is a way to create a Flash movie with buttons and apply actions to those buttons to call video located on a streaming server. The main website will be located on a non streaming server. I need the Flash buttons to call the external video to play inside the Flash movie.

I have been able to create an iframe and a Flash button and apply code to the button to call the video to the iframe. I am also wondering if there is a similar function like the iframe in Flash.

I have a basic understanding of actionscript. I can view it and basically understand what it is communicating, but I am not proficient in writing it.

Thanks in advance for your help! :roll:
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post December 20th, 2007, 10:50 am

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post December 20th, 2007, 11:37 am

I'm pretty sure you just need a url to the file off the streaming server. Then use the flvPlayback component just as you would for non streaming flvs
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com
  • stunbunny
  • Born
  • Born
  • No Avatar
  • Joined: Dec 20, 2007
  • Posts: 4
  • Status: Offline

Post December 20th, 2007, 11:53 am

I added the flvPlayback component to the movie and gave it an instance name of VID

I then created a button and attached the following code to it.

on (release) {
getURL("http://mysite.com/Video/my.swf", "VID");
}

The button works but the video opens in a new window.
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post December 20th, 2007, 2:39 pm

ahh so its a swf file. Thats not a streaming video file or even a special streaming server.

You might want to lookup loadMovie() in the Flash help
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com
  • stunbunny
  • Born
  • Born
  • No Avatar
  • Joined: Dec 20, 2007
  • Posts: 4
  • Status: Offline

Post December 20th, 2007, 3:01 pm

I have the .swf and .flv file residing on a streaming server.

I have been able to get the button to call the video, but it opens in a new window. I need it to load in a Flash movie/flvplayback component or whatever works when the user clicks the button.

Something similar to this:
http://hammerstrong.com/hammerstrong/in ... N=15025772

(Click the As Seen on TV button)

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 27 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.