[flexcoders] Discrepancy between Video Players built with Flex and Flash

2008-03-27 Thread shivkxr
Anyone using Flex to build a video player? Have you compared Full screen mode with a video player built using Flash? Do you have issues with the full screen poping up on the wrong monitor (as compared to video players built using Flash). I'd like to hear from you and compare notes.

[flexcoders] Effect of Application Frame Rate on Videos

2008-03-27 Thread shivkxr
This question was prompted by what Luciano suggested on a reply to a resize issue I was having. I'd like to know what (if any) effect changing the frame rate of a Flex application would have on videos (the Flex application is essentially a video player). Is there a way to change/set the frame

[flexcoders] Resize very slow

2008-03-27 Thread shivkxr
I have a canvas and a few controls within the canvas. On of these is an image. Essentially, what I want is that the image appear towards the bottom of the canvas, so what I do is this This works, except that when the canvas is sized to a different size it looks like I have a slow motion effe

[flexcoders] Re: pass in url or form variable

2008-03-27 Thread shivkxr
--- In flexcoders@yahoogroups.com, "Chad Gray" <[EMAIL PROTECTED]> wrote: > > Ah... good idea! > > I could change the html page with the tag to Coldfusion and grab the URL/Form vars and pass them into the FlashVars. > > Thanks, > Chad Yup that'll work.

[flexcoders] Re: Get the Domain the Flex app is running in

2008-03-26 Thread shivkxr
--- In flexcoders@yahoogroups.com, "Rick Winscot" <[EMAIL PROTECTED]> > I think this might be your problem. I remember trying to use Application.url > some time back in the application initalize event, only to find that it was > null. But once I moved the code to to the creationComplete event, i

[flexcoders] Re: Get the Domain the Flex app is running in

2008-03-25 Thread shivkxr
--- In flexcoders@yahoogroups.com, "Rick Winscot" <[EMAIL PROTECTED]> wrote: > > You might want to give BrowserManager a go… or mx.utils.URLUtil. > > URLUtil includes functions like > > * getFullURL():String > * getPort():uint > * WhosYourDaddy():Daddy > * getServerName():String Rick, I've alr

[flexcoders] Re: Get the Domain the Flex app is running in

2008-03-25 Thread shivkxr
--- In flexcoders@yahoogroups.com, "shivkxr" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "Alex Harui" wrote: > > > > Try BrowserManager.url > > > > Alex, > > Yes, I think it should work barring any se

[flexcoders] Re: Need to determine allowScriptAccess/allowNetworkAccess at run time

2008-03-25 Thread shivkxr
--- In flexcoders@yahoogroups.com, Jon Bradley <[EMAIL PROTECTED]> wrote: > Ah. I misread your request then. Sorry about that! > > - jb No problem.

[flexcoders] Re: Get the Domain the Flex app is running in

2008-03-25 Thread shivkxr
--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Try BrowserManager.url > Alex, Yes, I think it should work barring any security issues I might encounter. I'll post my findings here. Thanks.

[flexcoders] Re: Need to determine allowScriptAccess/allowNetworkAccess at run time

2008-03-25 Thread shivkxr
Jason, No ExternalInterface.available on tell you if the browser supports it. It returns true irrespective of security settings.

[flexcoders] Re: Need to determine allowScriptAccess/allowNetworkAccess at run time

2008-03-25 Thread shivkxr
--- In flexcoders@yahoogroups.com, Jon Bradley <[EMAIL PROTECTED]> wrote: > > > On Mar 25, 2008, at 12:32 PM, shivkxr wrote: > > > > Try..catch around the ExternalInterface call? > > > > > > Tracy > > > > That's the best that can be d

[flexcoders] Re: Get the Domain the Flex app is running in

2008-03-25 Thread shivkxr
> The Flash Player does give the domain it is running from. As others > have stated, Application.application.url will give it to you. You don't > want to get get the domain it is running off of, you want to get the > domain of the web page that embeds it. That is correct. I need the domai

[flexcoders] Re: Get the Domain the Flex app is running in

2008-03-25 Thread shivkxr
--- In flexcoders@yahoogroups.com, Joe <[EMAIL PROTECTED]> wrote: > > Security.allowDomain("your domain"); > Joe, I don't follow. There is no cross scripting going on, so how does allowDomain play a part here?

[flexcoders] Re: Get the Domain the Flex app is running in

2008-03-25 Thread shivkxr
> JavaScript. However, with different domains, the JavaScript would > violate the security sandbox. > > I understand this is a limitation of the Flash Player. I do not > expect this limitation to be lifted as it open ups potential for > cross-site scripting. If Flash Player gave me the dom

[flexcoders] Re: Get the Domain the Flex app is running in

2008-03-25 Thread shivkxr
> Do you have control over the embeding HTML ? Sadly, no. FYI: The "other" website is MySpace.com Adobe have been kind enough to work with them and tighten the security so much that the app has no idea where it is or what it can do. They (MySpace) control the html and the object tag. Even if y

[flexcoders] Re: Get the Domain the Flex app is running in

2008-03-25 Thread shivkxr
> Hmm, maybe you could use externalInterface to ask the html wrapper for > its ?location? Something like that, I haven't done much browser > scripting lately. > > Tracy Well, I can't use ExternalInterface due to security restrictions :). That is how I am/was getting this information but now du

[flexcoders] Re: Need to determine allowScriptAccess/allowNetworkAccess at run time

2008-03-25 Thread shivkxr
> Try..catch around the ExternalInterface call? > > Tracy That's the best that can be done?

[flexcoders] Re: Get the Domain the Flex app is running in

2008-03-25 Thread shivkxr
Tom, The issue is not the parsing, it's that the url points to my domain. I don't need my domain, I need the domain the app is hosted in. Does that make sense?

[flexcoders] Re: Form upload

2008-03-25 Thread shivkxr
Giro, Yes, you can additional form fields while uploading a file. var request:URLRequest = new URLRequest(uploadUrl); request.method = "POST"; request.data = requestData; fileReference.upload(request, fileFieldName); requestData is a string in the form of name/value pairs seperated with an ame

[flexcoders] Need to determine allowScriptAccess/allowNetworkAccess at run time

2008-03-25 Thread shivkxr
Is there a way to determine (at runtime) the values for allowScriptAccess and allowNetwork assess at runtime? In my case, I don't control the html and my Flex app is embeded in pages on other websites and some of them set these parameters such that my ExternalInterface.addCallBack() fails with

[flexcoders] Re: Get the Domain the Flex app is running in

2008-03-25 Thread shivkxr
Tom, Thank you for the reply. However, what exactly am I looking for in Application.application? The Application.application.url is not what I need. Since I don't see help on Application.application I don't really know :)

[flexcoders] Get the Domain the Flex app is running in

2008-03-25 Thread shivkxr
I need to get the domain the Flex app is running in. My is hosted at aaa.com A page on bbb.com embeds my app on their page. At runtime I need to know that my app is running on bbb.com I've tried LocalConnecition.domain but that gives me aaa.com.

[flexcoders] Full Screen Video in FB 3 - Not same as Flash CS3

2008-03-22 Thread shivkxr
Using FB 3 I'm having issues with Video. Essentially, it seems that Flash and Flex don't do the same things when it comes to full screen video. 1. When going to full screen on a dual monitor setup, the video shows on the wrong monitor when playing back video using a Flex application. 2. The "P