[Flashcoders] seekBar and volumeBar Handle conflict

2006-02-28 Thread Jamay Liu
Hi,
I am trying to build a customized controller for my flv player with the
flvPlayback components. For some reason, I can't get the SeekBar and the
VolumeBar to behave properly together. They work fine when either is alone
on the controller, but when they are both present, the seekBar handle
doesn't drag when it is supposed to. Sometimes, a yellow rectangle flashes
around the OTHER handle (on the volume bar) instead.
Is this a bug? Anyone know how to fix it? I tried moving the handle around
on the stage, but that didn't work.

Thanks!

-J
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] flash 8 security effects on javascript/jsp??

2006-02-20 Thread Jamay Liu
Hi everyone.

I'm trying to load variables from a JSP file on my remote server to a local
swf. I use loadPolicyFile and loadVars, and it works fine when the swf is
called from the standard object/embed code on an html page.

However, ultimately, I want to render the swf through a js.jsp file. I.e.,
I have a script.jsp file with something like the following on it:

script language=Javascript src=render.js.jsp?fileID=123
/script

render.js.jsp sends the fileID variable to the swf, which uses sendAndLoad
to exchange that variable for a few other variables from a
variables.jspfile on my server.

This method works fine when all of the files, including variables.jsp, are
run locally. However, it hangs when I put variables.jsp on a remote server,
even though there is a policy file in place.

Does anyone know why:
--script.jsp, render.js.jsp, and variables.jsp work fine locally with the
swf, but not when variables.jsp is remote, even though there is a policy
file next to variables.jsp allowing access from all domains?
--the local swf can access variables.jsp remotely fine from standard
object/embed code?

I feel like there is something I'm missing-- any help would be very much
appreciated!

Thanks
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: flash 8 security effects on javascript/jsp??

2006-02-20 Thread Jamay Liu
clarification: render.js.jsp renders the object/embed code onto script.jsp

thanks!

On 2/20/06, Jamay Liu [EMAIL PROTECTED] wrote:

 Hi everyone.

 I'm trying to load variables from a JSP file on my remote server to a
 local swf. I use loadPolicyFile and loadVars, and it works fine when the swf
 is called from the standard object/embed code on an html page.

 However, ultimately, I want to render the swf through a js.jsp file. I.e.,
 I have a script.jsp file with something like the following on it:

 script language=Javascript src=render.js.jsp?fileID=123
 /script

 render.js.jsp sends the fileID variable to the swf, which uses sendAndLoad
 to exchange that variable for a few other variables from a variables.jspfile 
 on my server.

 This method works fine when all of the files, including variables.jsp, are
 run locally. However, it hangs when I put variables.jsp on a remote
 server, even though there is a policy file in place.

 Does anyone know why:
 --script.jsp, render.js.jsp, and variables.jsp work fine locally with the
 swf, but not when variables.jsp is remote, even though there is a policy
 file next to variables.jsp allowing access from all domains?
 --the local swf can access variables.jsp remotely fine from standard
 object/embed code?

 I feel like there is something I'm missing-- any help would be very much
 appreciated!

 Thanks

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Ensuring commercial is played before the video while keeping .FLV external

2006-02-13 Thread Jamay Liu
Hi all,

One of the services of my website will be providing flash videos to
distributors. We have developed a player swf that takes in an introductory
swf (mostly likely an ad/commercial) and the .flv video file as FlashVars
parameters.

Is there a way to provide access to these files to clients and ensure that
the ad/commercial is played? Specifically, the problem we are running into
is that the client could develop their own flash player and just play our
.flv file.

Can we somehow hide the flv file name, while still using external playback?
Is there a way to get around the problem without combining the commercial
and video into one file? (If not, anyone know of an easy way to combine
files dynamically?)

Any feedback/suggestions would be greatly appreciated!

Thanks.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] securitySandboxError with FileReference and Jakarta FileUpload

2006-02-02 Thread Jamay Liu
Hi all,

I am new to this list from [EMAIL PROTECTED] They directed me
here with my problem; hopefully you can help me out!

I am trying to implement an upload file feature on my website. I'm
using the Flash 8 FileReference tools with Jakarta commons file
upload, and it works fine locally. However, when I put the files on my
web server (tomcat 5.0), I get an onSecurityError:
securitySandboxError. None of the filereference events (onProgress,
onOpen, etc) are called, except for onSelect.

My upload.swf, upload.html, and upload.jsp files are all located in
http://localhost:8080/site (which gets resolved to
www.mydomainname.com online). I want visitors to upload files to
http://localhost:8080/site/uploads (or www.mydomainname.com/uploads).

What's strange is I was able to upload both a jpg and a mov with a
regular html form and my upload.jsp, so it must be a problem with
Flash (and not permissions on my server, or jsp).

Do I need a policy file? I tried that earlier, but it didn't help (and
also, aren't sandboxes not supposed to be an issue with uploads?). Is
this an issue with DNS resolving? (If so, how can I work around that?)
I heard that Flash 8 has known issues with FileUpload and sending
incorrect headers; are there known solutions to this bug?

Any help would be greatly appreciated!

Thanks so much,
Jamay
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders