PDA

View Full Version : Linking Flash to a ASF


Jasenm
04-27-2001, 12:09 PM
Hi

Recently, I have needed to link a button to a ASF file (Advanced Streaming Format) from within flash via button.

I used a the GetURL command (as mentioned in prev. posting) but a browser window opens dumping ASCII code in the window. I was kinda expecting to either: download file or
open WMP (version 7)

the line is

getURL("http:/...../file.asf","_blank")

What am I doing wrong??

Thanks

Jesse
04-27-2001, 12:12 PM
Don't use the Blank reference and it should work well.

Cheers

Jesse

Jasenm
04-27-2001, 12:30 PM
Thanks for the reply.

I removed the _bank and did another TEST MOVIE and I had the same problem with ASCII dump in the window.

(NB: The file.ASF is on a server)

Could it be some sort of weird cache problem or something with my setup??

Willing to try anything :)

Thanks
Jasen (Brisbane, Australia)

Jesse
04-27-2001, 12:58 PM
That's wierd. Can you post the file online so we can checkout the link? It might just be that your MIME types (on your PC) aren't set properly... it should work fine...

Is it on an ASF streaming server or just a standard download-type server?

Cheers

Jesse

Jasenm
04-27-2001, 01:32 PM
Hi

Thanks for the fast reply :)

I thought it could be a MIME problem, my system is a bit toey at the moment...I sent the FLASH file to someone else and they have the same problem....

The server is not on a streaming server as far as I know.

this is the URL
--- EDITTED BY JESSE ----

[Edited by Jesse on 04-27-2001 at 08:44 AM]

Jesse
04-27-2001, 01:45 PM
I actually meant link to the flash file so we could see it in action but it's interesting to note that the file just donwloads (in text form) via the browser if I click the link you supplied... strange indeed... it could come down to being an error in the ASF file itself, maybe it is not identifying itself properly... perhaps try linking another ASF (just grab one randomly off the net and try it)

Cheers

Jesse

Jasenm
04-27-2001, 01:56 PM
I was suprised...because we have a zip file there too
eg: URL/Event.zip and it works well. (SAVE AS)

I also tried the URL in WMP 7 - FILE->Open URL and it worked fine...so the server does support streaming.(??)

The current version that has been release on the FAN site is:
http://www.powerup.com.au/~pantherslair/superjesuschat.htm

Please note that this is NOT the current version. That needs to be uploaded by the person who owns the account, therefore I am developing the next version locally and testing the link locally before it goes up...I can email it??

Jasenm
04-28-2001, 05:25 PM
Thankyou for your input.

The answer is not to use

GetURL("http://....file.asf") but to use

GetURL("mms://.....file.asf")

Maybe the mms means Microsoft Media Stream, I don't know:)

But it works.

Jesse
04-29-2001, 07:17 AM
That's why I asked if your server supported streaming :p

Cheers

Jesse

Strok
04-29-2001, 01:35 PM
If your "asf" is comming up as a download file it means your computer doesn't have any program responsable for this aplication

asf -- is just a "FILE-LINK" to a "mms://sitename.com/filename.mp3" - server must to have this protocol

The mms:// URL prefix stands for Microsoft Media Serve(MMS); OR If your NetShow Server is configured to use port 80 or if you use a standard Web server to deliver ASF data, then you can type a standard http:// (but in this case everyone is able to steal your file)


PS
mms:// ---- is not a 100% secure (for me it takes a 2 min. to steal any streaming video or audio )
Better if you'll use a sound in FLASH

[Edited by Strok on 04-29-2001 at 05:02 PM]