Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-13-2008, 08:46 AM   #1
boibastard
I will get there...
 
Join Date: Aug 2008
Posts: 2
Send a message via Yahoo to boibastard
Unhappy changing FLV player componentPath

So here's the problem. I need to make a script for the flvplayer that changes the contentPath of it. For example if I play the swf file it would load call a flv file from a particular path, lets call it "path A". then I load it in an Online Learning module, and it works coz the flv is loaded in it. and then I make an offline version of it, but the thing iz, it has a conflict with "pathA" coz of the "/" conflict, but if u replace and replublish pathA's "/" with "\"(lets call it "pathB"), the offline version works. so my question is, Is it possible for a script to detect if the flvplayer loads the flv file with the condition of "pathA" and/or "pathB"? (or am I not making any sense?) if yes could anyone help me out with the script? i ahve no idea where to begin... thanks in advance!

Cheers!
boibastard is offline   Reply With Quote
Old 08-13-2008, 08:48 AM   #2
boibastard
I will get there...
 
Join Date: Aug 2008
Posts: 2
Send a message via Yahoo to boibastard
Default

oh I forgot... it must load the flv file from "pathA" and if it cant detect it, the script automatically uploads it from "pathB". so I wouldn't have to publish 2 versions of the same swf file... thanx in advance!
boibastard is offline   Reply With Quote
Old 08-14-2008, 03:15 AM   #3
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

Howdy and Welcome...

So, you are actually asking if there is a way to detect whether you are running it online or offline, I take???

The _url contains some value like http://www.server.com or file://c|whatever which you can check if it starts with 'http' or not to detect if it is running online or not... Maybe you can use that method???

Oh, please don't bump the post... We don't allow that here in this forum...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Reply


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
WWD FLV Player version 2.0 woostermike Widgets 1 01-29-2010 01:40 PM
FLV Player doesn`t work online ! gabgren Components 0 06-22-2008 10:55 PM
FLV music player - is it possible? jason2d Components 3 06-17-2008 04:10 PM
limits of flv player? choppy video kmcg101 Flash 8 General Questions 0 12-07-2007 12:29 AM
unloading FLV player on btn click rebdesign ActionScript 2.0 0 10-03-2007 02:44 PM


All times are GMT. The time now is 12:16 PM.

///
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.