Macromedia Flash Server - Relative File Path for a Mac

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > April 2005 > Relative File Path for a Mac





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Relative File Path for a Mac
Clarke Bishop

2005-04-07, 5:51 pm

I am dynamically loading FLV video files from a DVD. The problem is that I
can't get this to play properly on a Mac.

Macromedia has a Tech Note that says:

"For the FLV file to play back from a non-system drive on a Macintosh, refer
to it with an absolute path using a colon-based notation ( as opposed to
slash-based notation."

This mentions an absolute path. But, I'd still like to make a relative path
work, if possible.

My question is: What is the proper form for a relative path on a Mac?

For a PC, "video/dir1/file.flv" works where video is a folder on the root of
the DVD.

What is the equivalent using :-syntax for a Mac? I tried
"video:dir1:file.flv" and ":video:dir1:file.flv", but neither worked.

Thanks Much!

Clarke



=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Thomas W.J.C.McCrystal

2005-04-07, 5:51 pm

>I tried
>"video:dir1:file.flv" and ":video:dir1:file.flv", but neither worked.

If "video" is at the root of the DVD, try "DVD_Name:video:dir1:file.flv".
It's an absolute path, but on the mac, if you know the name of a volume,
you can always generate the absolute path. Use it and don't worry about
it.

Much easier than a PC, where the absolute path is
someVariableLetter:directory/directory2/file, or somesuch. In the olden
days of CD-ROM development, getting that e: or f: or n: was always a
tricky and unreliable. (Some machines would lock up if you accessed an
undefined volume letter.)

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Bill Sanders

2005-04-07, 5:51 pm

Clarke,

You're playing it back as a stream from a FCS server? The path that
exists would be:

video/streams/dir1/file

I believe. However, the "streams" is assumed by the "rtmp:/video/dir1"
connection.

I'm probably missing something -- is this a CS or SS playback?

Bill
On Mar 1, 2005, at 9:02 PM, Clarke Bishop wrote:

> I am dynamically loading FLV video files from a DVD. The problem is
> that I
> can't get this to play properly on a Mac.
>
> Macromedia has a Tech Note that says:
>
> "For the FLV file to play back from a non-system drive on a Macintosh,
> refer
> to it with an absolute path using a colon-based notation ( as
> opposed to
> slash-based notation."
>
> This mentions an absolute path. But, I'd still like to make a relative
> path
> work, if possible.
>
> My question is: What is the proper form for a relative path on a Mac?
>
> For a PC, "video/dir1/file.flv" works where video is a folder on the
> root of
> the DVD.
>
> What is the equivalent using :-syntax for a Mac? I tried
> "video:dir1:file.flv" and ":video:dir1:file.flv", but neither worked.
>
> Thanks Much!
>
> Clarke
>
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>

bill sanders | www.sandlight.com | bloomfield, ct | 860-242-2260


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com