Flex :: Facebook Status Can Be Updated Through Air
Jan 25, 2010Want to find out if facebook status can be updated through flex or air.
View 1 RepliesWant to find out if facebook status can be updated through flex or air.
View 1 RepliesI'm trying to learn how to get my own facebook & twitter wall status into flash so that I can export it out and install it in my iPhone.After reading the facebook and twitter API documentation, I'm still very confussed on how to use them.
View 1 RepliesCan I get the user wall status in Facebook using as3? Using me/feed/...something ?
View 1 RepliesHow to let the user tag a Facebook friend for status wall post through the application(using AS3 SDK)
View 1 RepliesI am using a Flex widget for my facebook application. How can I get the current user's facebook ID?
View 1 RepliesI'm currently building an application using the Adobe Facebook API and I've run into an issue where for the login method the Facebook login popup displays but when doing a Facebook share/post the popup is blocked.
This code works fine and displays me a Facebook login popup without question (Firefox):
var permissions:Array = ['publish_stream'];
Facebook.login( onFacebookLogin, { perms:permissions.join(',') } );
However, the following code running in the same application throws up a popup blocker (again Firefox):
Facebook.ui( "stream.publish", "popup", params );
Does anyone know of a work around this issue to make the share popup come up just like the login popup?
I am drawing a cellular automaton simulation on a Flex Canvas. I alternate computing the state of the automaton with updating the graphics on the Panel. However, the updating of the Panel does not seem to be "keeping up" with the update of the CA state.
I'm wondering whether I am doing something wrong with my handling of the graphics code. The code is below. Sorry it's so lengthy, but I don't think the problem will happen with anything simpler (well, it probably will, but I'm not certain I want to take the time to find it).
[Code]...
problem-1:In php we can easily move one page to another and easily use different type of function from those pages.In flex3 how i can use different type of .mxml pag
View 2 RepliesIn the code below, the presentedAlbumIndex is used to control the selectedIndex of the TileList. Item "five" is initially selected. Whenever the button is pressed the first item in the array is deleted, and the presentedAlbumIndex is decremented.
In theory, the selected index should stay with "five" every time the button is clicked (until "five" is itself deleted). It works this way for the first button press. However, on the 2nd button press the highlighting changes to "six" for some reason. Also, the TileList selectedIndex is always one behind.
I tried looking into ListBase and monitoring selectedIndex. It looks like the selectedIndex is updated initially to the correct index, but then it reverts back at some point to the correct index+1. I do not know why it's setting back.
It seems it's due to the fact that I am doing a data provider delete and index change in the same operation.
Is there some function in TileList I could override to keep selectedIndex up to date?
Steve
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
[Code]....
I have a flex business application and need to create some control that will show a small picture symbol of given user's MSN messenger status (online, away etc.)
Alternatively, how to insert an html page inside flex form?
There is a HTML code snippet on MSN site (supposed to be) doing exactly what I want, here it is:
[Code].....
Also I'll need to replace eb892994c712bb83 in this snippet with user's cid code.
I am trying to get the length of an array through mxml (not actionscript). I have the following:
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
[Code].....
Why does test2 show the correct array length but test1 is stale?
I have two tables: Person {pID, pName, deptID} and Departments {deptID,deptName}An SQL statement like this gets me the name of a person and the department name:
SELECT pName, departments.deptName FROM people INNER JOIN people.deptID = departments.deptID;
The above works fine. I have a Flex DropDownList that is populated with deptNames. When I click the submit button, I am able to obtain the ID of the selected department without problem:
protected function button_clickHandler(event:MouseEvent):void
{
person.pName=pNameTextInput.text;
person.deptID=pDepartmentDropDownList.selectedItem.deptID; //ID of selected department obtained correctly.
if (person.pID == 0)
[code]....
From the comment above, I see that adding person will indeed add the attributes of the person object to the datagrid, except that one attribute is a foreign ID (deptID) from departments.
i am working on an aplication using flex,adobe air...i have a datagrid with a XML as my dataprovider...during the execution of program my XML is updated....after XMl is updated and saved my datagrid should also get update..I have used Dataprovidername.refresh() method but it is not working.
View 4 RepliesI have a MovieClip which is just a progress bar animation with about 100 frames. Then I load a zip file using a URLStreamLoader and subscribe to the ProgressEvent.PROGRESS event. After loading starts I receive notifications correctly and I set the bar's corresponding frame using gotoAndStop(). Everything seems to work fine except for the animation not being visually updated.
It seems that the scene won't refresh until the zip file is fully loaded.
I setup Cruisecontrol to auto build a flex project every 1 hour using FlexAnt. The build itself works great - I can see when the project build fails/succeeds in the console perfectly well. But the cruisecontrol dashboard is not updated for the flex project.I have the sample connectfour project, and when it fails, I can see the red box for the project in the dashboard. This does not happen for my flex projects.
View 1 RepliesIs there a way to detect the value change in HSlider (in Flex 4.0) without touching the slider.Basically, what I wanted is to detect if the slider value was changed programmatically.
View 1 RepliesI am trying to refresh the datagrid to reflect the updated data after the user updates the database. I have the following code:
script
protected function updataHandler(event:MouseEvent):void
{
updateJobsResult.token = Service.updateJobs(updateJobData);
[Code].....
I am working in air application , i need to know how to add event listener when any object is updated,how can i implement this.Example:i have Class name Vehicle, and child class are Car,Bus,Bikes,Scooter,..etc, child class also have many properties like color,model no,....etc
I have array collection and AddChild() method in Vehicle class by this, i will add, child class to the vehicle class.I need a event listener which can trigger if any of the property is updated or changed in any of the child class property, how can i implements this in Flex3.
I have a typical web application that communicates in the following way: SWF file makes service calls to Java services (Remote object, over BlazeDS on Tomcat), which in turn communicates to database.
How do I implement a status check service (hosted on another domain) that will check if the ENTIRE app is up and running? Ideally, I'd make checker SWF that would load App SWF and called its function that would return something from the database (a naive service would count rows in table and hash it with MD5), but security constrains won't let me call loaded SWF's function.
Checking the java services only is not enough, as I am not checking the status of the SWF.
I have flex application ie flight reservation . I'm able to run it in flash builder but how test it in flex monkeyI'm using flash builder 4 with sdk 4 in compatible mode with flex 3.
View 1 RepliesI have been working on a flex application with java, as i have used Life Cycle Data Service for communication, i wana know, is there any function of flex, where i can see the loading status in percentage, that how much record is being loaded.Problem is, if there is lengthy record, no body comes to know, whats happening with software, like in Comboboxes or Grids, users usually think it as a BUG in application, but ofcourse it is not.I need such graphical loader, which keeps on loading with proper status in percentage, until it receives all data from JAVA (SQL Server).
View 2 Replies[Code]...
I am presuming this is because the image hasn't finished reading the png file off the disk yet. What event can I monitor to know when it's width and height will have the right values? The 'Complete' event only seems to work for DOWNLOADED images. The 'Render' event happens EVERY FRAME. The (undocumented?) 'sourceChanged', happens as soon as source changes, and has the same problem! What event do I watch that will let me know when the image's width and height properties will have valid values? Or is there some Synchronous version of I.source='xxx.png', that I don't know about?
P.S. Yes, I know I shouldn't use "C:" in an Air Program. This was just for illustrative purposes, so that you won't suggest I use "Complete", which never even seems to fire when the file indicated by source is local.
I am writing a web application that will serve as a configuration for a random data generator that I have written in Java.The values that I set in this application will write to xml. The xml data is updated by a file called simulationParams.as and that file is added to each child in the "viewStack" so that when I change any of those values the simulationConfig file will be automatically updated.The problem is that when I press the randomizeBtn the proper events are fired and the listeners grab those events.My problem exists when I uncheck the randomize button.For some reason an event is triggered or the listener isnt listening so that when I uncheck randomizeBtn the values go back to their last position or value on the slider. Ex. if my initial value is 0 then press randomize the slider will go to 100. The config file updates and all is well.When I uncheck the randomizeBtn, the sliders value goes back 0 but the config file isnt update.The same thing happens when I press the useDefaultBtn for both selected/unselected, nothing gets updated.[code]
View 1 RepliesI started using Adobe Stratus yesterday and made a simple chat application. Today, I was to learn how to use the group feature. But when I try to instantiate a GroupSpecifier variable, I get this error: 1046: Type was not found or was not a compile-time constant: GroupSpecifier. P2P.mxml Earlier I was getting a similar error with NetStream (in place of GroupSpecifier). I have Flex 4.1 and it's set to Flash Player 10.1.
View 2 RepliesURL...As written in its description "It's not sure if the plugin works in production mode"Plus Tomas Lin Lesson 2 in his blog post URL...So, I've decided to look further and found URL... which is also based on nightly builds that was never released.Digging a little more I found the following correspondence:URL...Where it seems that Grails and Flex 3 are old buddies and the only question is whether Flex 4 integration worth the effort.So now I'm confused, can't figure out what is the current status, and how should I integrate a Flex client component with Grails server:Preferably Using flash builder 3 (no 4 for Linux yet)Performance is crucial, so I guess AMF (blazeDS) would be better than REST or WS
View 1 RepliesMy air program freezes after running for some time without any error. The app will freeze (non responsive) and the debugger will claim the program has terminated with status 0.
View 1 RepliesConsider The Following Actionscript/Flex code:
[Code]....
Assuming I do NOT want to run the sends in series, but in paralell (all at once), as above, and further assuming that one, and only one of the send commands will generate a status event where level='error': ow can I detect which send command produced the status error?
I have a Spark List container whose dataProvider is bound to a result set coming back from a RemoteObject call. Pretty standard stuff.
<s:List id="list" dataProvider="{model.stuff}" width="100%" height="100%"
selectedIndex="@{selectedSlider.value}"
itemRenderer="{stuffRenderer}">
</s:List>
The selectedIndex is associated with an HSlider, but that is not the problem. My issue is that I would like to automatically select a certain "preferred" element from the list (only initially...to guide the user).
I tried to do that in a creationComplete event but my data hadn't shown up yet...setting selectedIndex didn't work..
i have a Flex tree control and im trying to select a tree node 3 levels down right after the dataProvider is assigned with a collection object like the following.basically treeItem1, treeItem2, treeItem3 are the nodes in the tree and treeitem3 is a child of treeItem2 which is a child of treeItem1. Assume these treeItem(1,2,3) are referenced correctly from the collection items.
my problem is that if i wait for the whole component to load completely then select the nodes, it open/select/scrolltoIndex correctly. However, if i were to select the node right after the dataProvider is assigned, then it doesn't even open or select (basically the this.treeService.selectedItem is always null).
this.treeService.dataProvider = oPricingHelper.getCurrentPricingSercicesTreeSource();
this.treeService.expandItem(treeItem1, true);
this.treeService.expandItem(treeItem2, true);
this.treeService.selectedItem = treeItem3;
this.treeService.scrollToIndex(this.treeService.selectedIndex);
I'm trying to determine the practical difference between using the com.facebook.session.WebSession and com.facebook.session.JSSession. The documentation ([URL]) has more around WebSession - but the example I have which is closest to what solution I'm trying to implement uses JSSession and it looks like I could avoid all of the JavaScript pass-through & ExternalInterface calls I'm making. It appears that the benefit of using this new ActionScript Facebook API is to avoid having to make all of the Facebook calls via JavaScript.
View 5 Replies