Flex :: Osx - Cannot Retrieve The Browser URL For Mac OS Users

Jul 20, 2011

I'm developing a very simple flex application on Windows 7 64 Bits.It retrieves the user url and then show it:

public var bm:IBrowserManager;
protected function button1_clickHandler(event:MouseEvent):void{
bm= BrowserManager.getInstance();
bm.init();
Alert.show("Your URL is : " + bm.url);
}

On my Windows 64 Bits machine (Chrome, FF), it works fine and returns the URL.But, when I run my project on a Mac OS X machine (Safari, Chrome, FF) : it shows:

Alert.show(Your URL is : Null);

I think that it cannot retrieve the browser instance or cannot init the browser manager.

View 1 Replies


Similar Posts:


Flex :: FacebookDesktop.fqlQuery Does Not Work When Trying To Retrieve Users Photos

Nov 2, 2010

When attempting use the the Adobe GraphAPIDesktop library for use with Adobe Flex and AIR I can login to Facebook and retireve wall posts etc ok using FQL or Graph API calls. When attempting to retrieve users photos I can only get tagged photos when using "me/photos". I am trying to use FQL whcih should work, but when using:

var query:String = "SELECT pid, aid, owner, src, src_big, src_small, link, caption, created, modified FROM photo WHERE aid IN ( '1622751608028', '1207785754141' ) ";

FacebookDesktop.fqlQuery(query, getPhotos2);

Only an empty OBject is returned from FB?

View 1 Replies

Flex :: Automatically Log-Out Users When They Close Their Browser?

Apr 23, 2011

When a user logs in and closes the browser without logging out, I want automatically log out the user in Flex3.

View 3 Replies

Flex :: PlayBook - Create A File Browser To Allow Users To Load Images From The Local System Into The Application

Mar 24, 2011

I'm developing an application for the Blackberry Playbook using Flash Burrito 4.5 and Flex. I'd like to create a file browser to allow users to load images from the local system into the application. I followed this example [URL] When I click on the Load Image button in the simulator however, the file browser pops up but tells me that "no file was found with the specified filter", even though I don't specify any filter or even if I specify a . filter.

View 2 Replies

Php :: Automatically Log-Out Users When They Close Their Browser?

Apr 26, 2011

I'm using PHP as server side language and Flex as Front end. In my application there are different levels of users. According to operator's online status QC assigns some job online. I just want to update user's online/offline status when he closes the browser automatically. Flex calling PHP service but its not getting any response. DB(MySQL) is not getting updated.

View 3 Replies

ActionScript 2.0 :: Any Way To Refresh Users Browser?

Jan 4, 2008

Is there a way to refresh the users browser using actionscript 2? I am showing some sensitive material that requires an NDA from the viewer. the material is in the form of .flv movies that are embedded in my flash site. After we allow people to watch the movies I go to our servers and delete the .flv files. however some web browsers keep this in their cache, like IE. So basically I want o know if there is a script I can use that will refresh the viewers browser after we view it and after I delete the .flv files causing the .flv files to no longer be in their cache.

View 1 Replies

ActionScript 2.0 :: Refresh The Users Browser?

Apr 11, 2010

is there a way to refresh the users browser using actionscript 2? my reason for this is... i am showing some sensitive material that requires an NDA from the viewer. the material is in the form of .flv movies that are embedded in my flash site. after we allow people to watch the movies i go to our servers and delete the .flv files. however some web browsers keep this in their cache, like IE. So basically i want o know if there is a script i can use that will refresh the viewers browser after we view it and after i delete the .flv files causing the .flv files to no longer be in their cache.

View 3 Replies

Java :: Enable Intranet Users To Take Screenshot Of The Current Page Via The Browser?

May 22, 2011

Is it possible to create a screenshot from the current page the user is on? (It's for an Intranet enviroment).

I know this is not possible with JavaScript alone, but is it possible with Flash or maybe an Java applet?

I have been searching around but I couldn't find anything.

View 3 Replies

ActionScript 3.0 :: Make Flash Website Full Screen Inside Users Browser

Feb 20, 2010

im trying to make my flash website full screen inside the users browser, is there any way of doing this to the flash file inside the index file? Ive found it hard to find this info online as i dont mean properly full screen, just full screen inside the browser.

View 3 Replies

Webcam - Retrieve Real Time Video Stream (from Web Camera) From Flash Media Server In A Browser?

Jun 12, 2010

How does the url of FMS real time video stream look like?

View 1 Replies

Flex :: Using E4x To Retrieve Xml From Flex Webservice Result Handler

Sep 2, 2009

I'm trying to use e4x to retrieve xml from the result event thrown when my Flex webservice is successful.

This is a snippet of the returned xml

<p430:getRoomsResponse xmlns:p430="http://impl.service.com">
<p430:getRoomReturn type="p888:Room" xmlns:p888="http://vo.room.com" xmlns="http://www.w3.org/2001/XMLSchema-instance"> <p888:roomName> ABC

[Code]....

The full xml contains approx 40 of these "ROOM" types containing roomname,size etc.

I want to create a collection containing a list of the 40 room objects based on the xml above.

How can I map the objects from my xml to an object using e4x?

The purpose is to display the objects in a datagrid

View 1 Replies

Php :: How To Retrieve Variable From Flex

Jul 12, 2011

an easy answer for 99% of you. I have a custom class 'Users()'. In PHP I have all the values being populated correctly. When I go to Flash Builder - and do the test function - All the data comes back properly. However, when I click a button and refer to the lastResult property of the CallResponder - it comes up NULL the first time, and then if the button is clicked a second time it will return the correct result. What step am I missing? I had the same problem with something simliar last night and am getting BEYOND frustrated - especially since I know it is some SMALL detail I'm overlooking.So just for clarification - lets say there is a button named button1So button1's click handler:1) Validates the text input properties2) Asks the server if that user and password match3) If they do - then I want it to grab all of that specific users info and put it into a User class. Again - when I test this function/method from within Flash Builder all the values come back as they should. It's just on the first button click they come back NULL...he second click they populate fine - I.E.-

Alert.show(currentUser.userFirstName); (First Click - NULL)
Alert.show(currentUser.userFirstName); (Second click - "Jack")

View 1 Replies

Flex :: Retrieve Information From Sql Database

Sep 30, 2009

I use flex and php to retrieve information from my sql database. What i have been doing is formatting the result from the database query into xml and then putting the result into an arraycollection. It all works fine except one of my database fields contains a lot of text that website users enter and as xml doesn't like tags like <> so I leave it un formatted but I would like to format it. Would I be better using flashvars or text than xml? Or is there another way?

View 3 Replies

Flex :: Retrieve Flashvar From It Using Mxml?

Nov 24, 2009

Is it possible to retrieve flashvar parameter in mxml code and if so how? Up to now i have been using Application.application.parameter.name to get what i need.

View 2 Replies

Flex :: Retrieve The Variable Which Getting Through UrlRequest

Feb 16, 2010

I am sending userID through urlRequest like below code,

[Code]...

now when new window is opening in that new swf is opening(new project) that is also in flex only.there i need to retrive userID when initailizing only how can i retrive?

View 2 Replies

Flex :: Retrieve CSV Data From A Web Server?

May 18, 2010

I am trying to retrieve a stock quote from Yahoo! finance using Flex. I currently have it set so that it will pull the quote like I want, but it opens it in a new file. However, I want to store the CSV data in a variable so that I can use it in my program.

How do I do this?

Here is the code that I am using right now:

navigateToURL(new URLRequest("http://download.finance.yahoo.com/d/quotes.csv?s=aapl&f=l1"),"_self");

View 3 Replies

FLEX :: Can't Retrieve XML From Event.result

Nov 20, 2010

I'm trying to feed data from SQL database to FLEX, using php script in the middle. I see the data in body of message in the Network Monitor and in "Variable" window during debug, but i cant retrieve them to XML.

Below (event.message.toString())

(mx.messaging.messages::AcknowledgeMessage)#0
body = "<?xml version="1.0" encoding="UTF-8"?>
<articles>
<node><id>2</id>

[Code]....

View 4 Replies

Flex :: Make A Flash Browser App That Could Receive Data From Browser Plugin Or Other Windows App?

Dec 18, 2009

in other words, suppose I want to send data, like text, programmatically from a Windows app (such as a browser plugin) to a Flash app running in the browser. Well, conceptually, an example of this might be a Flash instant messenger with a textbox and button "Send"; so let's say I want to be able to programmatically paste the text and press Send or otherwise activate it. That's NOT what I am trying to do here in reality (i.e., no,I am not trying to spam other people's chat rooms or anything)but just an illustration of a similar situation.I can include in it whatever widget or hack that may be necessary.The reason why this problem is arising for me is that AFAIK the SDK that is providing me the data I want cannot be directly accessed from Flash, so I need a way to pipe the data from a regular app into Flash. can I have the Flash app interact with other apps through localhost IP? Or are there draconian restrictions on which server Flash in browser can and cannot interact?

View 1 Replies

Actionscript 3 - Flex / Flash - Open The Swf In A Browser Window That Doesn't Have The Browser Control Bar Or Menu?

Oct 27, 2010

The title essentially is the question, how do I open the .swf without the browser's control bar junk? and maximize the window?

View 2 Replies

Media Server :: How To Retrieve Fms Bandwidth Into Flex

Apr 7, 2010

How to retrieve fms bandwidth into flex?

View 2 Replies

Flex :: Retrieve Swf Metadata Within Actionscript Of Project?

Sep 14, 2009

I know that it is possible to add swf metadata to the compile command as a command option, but I can't find any documentation on how to access these metadata within the actionscript during runtime. We're trying to add a version number to the swf during compile time and then somewhere in our app we would retrieve it during runtime, here is the command example to add the description metadata.

mxmlc -description "version 1.2.3"

I know the swf metadata is used by search engines and other utilities to gather information about the SWF file, but surely you should be able to retrieve them in the actionscript during runtime?

View 1 Replies

Flex :: Retrieve Body Of A HTTP 403 With Flash?

Dec 15, 2009

I've got a simple YouTube API client put together, written in Flex, that uses a plain ol' URLRequest object to handle Google's "ClientLogin" authentication scheme. Everything works perfectly, except for one case: when Google responds with a 403 and a response body indicating that I should prompt the user for additional information (specifically, a CAPTCHA request).

The problem I'm having is that in this case, I need to be able to retrieve the body of the 403 response, as the body contains information Google expects me to use to assemble the CAPTCHA (e.g., an image URL, etc.). It looks like Flash fails to populate the URLLoader's data property when it encounters a 403 (which is where the response body would normally show up), so I can't tell the difference between a "403: Login Failed" and a "403: Login Succeeded, but We Want a CAPTCHA".

As a backup, I figured I'd have a look at as3crypto's TLSSocket code, but I haven't been able to make any of that stuff work with Google (or even one of my own SSL certs, for that matter).

Is it possible to access the body ofa 403 response with Flash (and if so, how)? And if not,Does anyone have personal experience with a suitable workaround?

View 1 Replies

Flex :: Retrieve The Sum Of Items From A Sharepoint List?

Aug 26, 2010

Is there any way to get the sum of items based on some filters from sharepoint list? I was trying to access the GetListItems method. But this returns all the items in the list. That makes the data heavy. My requirement is to get only the sum of items. For example items created in a specific year.I am trying to populate a chart in flex from the sharepoint list. Accessing all the items and then calculating the sum in flex will not work always where the list contains more items.

View 1 Replies

Flex :: Retrieve Cookies From The Cookie Space Used By AMF?

Sep 16, 2010

I have a flex app that uses AMF to talk to a Spring Java backend. How do I get the values of cookies that have been set by the server and are being sent back by AMF?

View 1 Replies

Java :: Retrieve A Client's Hostname Using Flex?

Nov 3, 2010

I am building a Flex application which communicates with a Java server using BlazeDS.

What would be the best way to go about making the server aware of the client's hostname?

View 1 Replies

Flex :: Retrieve The Data Before Loading The Components?

Oct 27, 2011

In my flex application, my custom class AudLogDataGrid has a renderer function that takes a list of data and filters it, before passing it to the renderer:

private function rendererFunction(item:Object, grid:Object):ClassFactory {
var itemRenderer:ClassFactory = new ClassFactory(AudActionDropDownIR);
var FilteredAudActionData:ArrayCollection = new ArrayCollection(AudActionData.toArray());

[Code].....

However, rendererFunction runs before the data is fully retrieve from the server! Is there any way to get around this without declaring the AudLogDataGrid in AS?

View 1 Replies

Media Server :: Retrieve Fms Bandwidth Into Flex?

Mar 25, 2009

How to retrieve fms bandwidth into flex?

View 1 Replies

Flex :: Control Which Users See Which Videos

Nov 27, 2009

Imagine you have a large number of video files stored on a server, and a Flex app which lets users play those videos they have access to. How can you best set this up? Wouldn't the Flex app just be sent the name of the video to play... in which case couldn't someone else write another flex app if they knew the file names? Can Flex play videos hosted on other sites? Is there some clever piece on the server I'm missing, which sits between the Flex video player and the files?

View 3 Replies

Flex :: Load Different Menubars For PC Vs Mac Users?

Jan 7, 2011

Each entry in the menubar for my app contains a shortcut key suggestion (e.g. Undo (CTRL+Z)). Is there an easy way to dynamically customize the suggestion string depending on whether the app is being used on a pc or on a mac?

View 1 Replies

AS3 :: Flex - Pass And Retrieve Values To/from Popup Window?

Aug 10, 2011

I want to send some text value to my custom popup window when it pops up from main application which is having some text input and also I want to know how to retrieve data(of text input) which entered by a user in popup window.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved