Aran,

I took your suggestion and downloaded an http request monitor and was able
to get the relative paths set properly.  The following are the parms and
their new values referenced from the earlier code example.  Thanks for the
advice on the request monitor.  I also want to take this opportunity to make
a correction to my original post.  The swfobject.net server control is
published by juna.com

 

With SWFObject1
   .FlashUrl = "videos/test/TEST_controller.swf"
.
   'variables
   .FlashVariables.Add("csConfigFile", " videos/test/TEST_config.xml")

   .FlashVariables.Add("csPreloader", " videos/test/TEST_preload.swf")

.

   'parms
   '.FlashParams.Add("base", "~/website")      I commented the base
parameter line out because it was not needed

End With



Thanks,

John

  _____  

From: [email protected] [mailto:[email protected]] On
Behalf Of Aran Rhee
Sent: Tuesday, February 01, 2011 12:45 PM
To: [email protected]
Subject: Re: [SWFObject] problem using base parameter

 

Relative pathing for Flash loading assets (with or without the base param)
will be from where ever the swf lives, not from where the html page lives.

 

if your Flash file is located at \website and you videos are at
\website\videos\test then from Flash you would load a video as
"videos\test\somefile.flv".

 

I would suggest you fire up something like firebug or charles/service
capture and have a look at your http traffic, you'll be able to see exactly
where Flash is requesting the video from.

 

 

Cheers,

Aran

 

On Tue, Feb 1, 2011 at 10:56 AM, jwbutler <[email protected]> wrote:

I have tried everything I can think of but I'm still not able to show
the video unless all the resources are located in the same folder as
the calling page.

1. The physical location to the video resources is C:\website\videos
\test
2. The calling page is in the site root /website

I am using juno.com's swfobject.net server control.  The following is
the vb.net code I'm using.

With SWFObject1
   .FlashUrl = "TEST_controller.swf"
   .Width = 640
   .Height = 535
   .BorderStyle = BorderStyle.Solid
   .BorderWidth = 1
   .BorderColor = Drawing.Color.DarkOliveGreen
   .Loop = False
   .Play = True
   .Quality = Juna.Web.UI.FlashQuality.High
   .RequiredFlashVersion = "9.0.115"
   .ShowGetFlashPlayer = True
   .UseExpressInstall = False
   .Visible = True

   'variables
   .FlashVariables.Add("csConfigFile", "TEST_config.xml")
   .FlashVariables.Add("csColor", "FFFFFF")
   .FlashVariables.Add("csPreloader", "TEST_preload.swf")
   .FlashVariables.Add("csFilesetBookmark", "0")
   'parms
    .FlashParams.Add("base", "~/website")
    .FlashParams.Add("allowfullscreen", "true")
    .FlashParams.Add("allowscriptaccess", "always")
    'attributes
End With

Can someone give me the value for the base parameter in this
situation?

--
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected]
<mailto:swfobject%[email protected]> .
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en.

 

-- 
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to