Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 04-27-2001, 12:09 PM   #1
Jasenm
Registered User
 
Join Date: Apr 2001
Location: Brisbane, Australia
Posts: 5
Send a message via ICQ to Jasenm
Question

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
Jasenm is offline   Reply With Quote
Old 04-27-2001, 12:12 PM   #2
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

Don't use the Blank reference and it should work well.

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 04-27-2001, 12:30 PM   #3
Jasenm
Registered User
 
Join Date: Apr 2001
Location: Brisbane, Australia
Posts: 5
Send a message via ICQ to Jasenm
Default Linking Flash to ASF

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)
Jasenm is offline   Reply With Quote
Old 04-27-2001, 12:58 PM   #4
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Talking

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
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 04-27-2001, 01:32 PM   #5
Jasenm
Registered User
 
Join Date: Apr 2001
Location: Brisbane, Australia
Posts: 5
Send a message via ICQ to Jasenm
Exclamation Linking Flash to ASF

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]
Jasenm is offline   Reply With Quote
Old 04-27-2001, 01:45 PM   #6
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

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
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 04-27-2001, 01:56 PM   #7
Jasenm
Registered User
 
Join Date: Apr 2001
Location: Brisbane, Australia
Posts: 5
Send a message via ICQ to Jasenm
Default Linking Flash to ASF

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/~panthersl...rjesuschat.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 is offline   Reply With Quote
Old 04-28-2001, 05:25 PM   #8
Jasenm
Registered User
 
Join Date: Apr 2001
Location: Brisbane, Australia
Posts: 5
Send a message via ICQ to Jasenm
Default Flash to ASF link - The Solution

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.
Jasenm is offline   Reply With Quote
Old 04-29-2001, 07:17 AM   #9
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

That's why I asked if your server supported streaming

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 04-29-2001, 01:35 PM   #10
Strok
Registered User
 
Join Date: Nov 2000
Location: Toronto Canada
Posts: 798
Send a message via ICQ to Strok
Default

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]
__________________
My photography: http://strok.photosight.com
Strok 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
Developing a flash site, Part1: Some thoughts Bloom22 Other Flash General Questions 6 09-29-2006 02:10 AM
XML linking from inside Flash movies Phaelix ActionScript 2.0 0 02-10-2005 01:49 AM
[Q] Do we need those forums??? CyanBlue General Chat 59 07-27-2004 11:13 AM
Linking HTMl from a Flash Pop-Up section8 ActionScript 1.0 (and below) 4 07-13-2004 04:21 PM
Flash MX seminar Tink ActionScript 1.0 (and below) 5 03-17-2002 04:41 AM


All times are GMT. The time now is 12:35 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.