I have a HorizontalList in Flex that contains some data and an ItemRenderer representing a Page. After the last item (Page) in the list, I want to have a button - a Plus to create a new page.
What data can I look at to get the proper x,y position of the last ItemRenderer? I'm getting the position of
this.listContent.listItems[this.list...
I've been checking out facebook connect stuff from the new actionscript 3 library from Adobe. I have been trying to figure out how to use the facebook connect button inside of a flex app.
In an html page you would us the fbml and it would automatically put the facebook connect button on your page and when the user clicks on it it pops ...
Which event should I use if I want to make sure
all the nested components inside a component
have been created?
Creationcomplete doesn't seem to work this way.
...
I just got Flex Builder Professional for the profiling support, and although I can make the profiler work, I am having trouble isolating samples to just a section of my code. Trying to click "clear profiling data" and "stop collecting" in the UI just isn't cutting it.
I'd like to be able to, in my code, do something like:
startProfilin...
I've got this mxml:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:htmlText>
<![CDATA[
<a href="foo">link me</a><b>bold me</b>
]]>
</mx:htmlText>
</mx:Text>
</mx:Application>
(In reality, the html content is coming from an xml file.) ...
We develop applications for the Flash platform, which have LOTS of run-time loaded assets (graphics, data, audio, code-libraries, etc.) Those assets are logically organized within project folders. Programmers and designers get the latest from version control, check-out their code or design work, test within a full local copy of the app...
The site I'm working on displays some proprietary 3rd party data that's quite valuable. As such they want to stop people copying and pasting their information. They understand that, of course, there's nothing we can do to stop users just writing down info or printing it off, but they want to make it as difficult as possible for their dat...
Can anyone recommend a way to do versioning in Flex applications?
Should I embed a version string somewhere in the swf?
Should the version be part of the URL?
Should it be in code?
...
Hi there.
I'd like to know what Browser the User is using to view my Flex application. How can I get at the User Agent string and other information?
...
I'm in the beginning phases of a project that uses a flex front end with a java/glassfish back end. I'm curious which technology is better to connect the two, WebORB or BlazeDS. At first glance WebORB seems a little bit easier to deal with, but BlazeDS has a larger support community.
...
Problem Definition: To be able to dynamically load a CSS at runtime to skin a Flex Application.
More Information: I've found that loading and applying a CSS is as simple as using "mx:style source="../assets/default.css"". But what I would like to do is something more like (pseudocode):
If (condition == 1)<br />
mx:style source="../as...
I have a flex app, where the user can provide a link to a resource. I want to perform a simple validation and check if the url is actually valid (not just structure, but actually test the link to ensure I get a 200 OK).
I figured I would just use HttpService and use the HEAD method, but it seems that this is only available when you set ...
I am struggling with an air flex application. Whenever I click ALT+something, vista makes a sound. I suspect that it is connected with non-existing menu bar.
Any ideas how to disable my app responding to shortcuts where alt is involved?
Here's the code:
stage.addEventListener(KeyboardEvent.KEY_UP, onKeyUp);
...
public function o...
I have a number of labels in my Flex application which have the "truncateToFit" property on them set to true. The problem is that, instead of displaying '...' at the end of any truncated text it displays null.
I.e if my label's text was: "Hello Stackoverflow!" I might expect my label to look like this:
"Hello Stackov..."
Instead it...
I have run into strange behavior drawing a sprite into a BitmapData. This sprite looks fine when drawn directly to the screen. But when this sprite is drawn into a BitmapData, the sprite is being masked... but there is no such mask applied to that sprite!
This "bad mask" can be toggled off and on... by applying / not-applying a differ...
My application consists of a Panel with 3 VBox's inside it. the left most VBox contains a TileList. The TileList has many tiles and scrolls down very far so I want to give them an option to expand it. I want the Tilelist to stretch to the right covering the other 2 VBox's. Since it is on the left it is first in the MXML which I believe m...
Is it possible to directly set the properties of NumberFormatter according to windows
" Regional Setting "?
If not, it there a function in Flex by which we can get
the Regional Setting, and then we can change the properties of NumberFormatter
according to it.
...
Hi Folks,
I need to programmatically change the background color for a single row in a datagrid in Flex. I've scoured the Net and found reference to "dg.setPropertiesAt," which is not a supported method (according to the compiler). Also, there are suggestions to extend the dg's "drawRowBackground" method but I need to set the backgrou...
OK I have an application that loads product images using the < mx:Image /> tag and changing the source. the .SWF is on the http side of the website and the images are on the https side of the site. so at first I was getting this error:
SecurityError: Error #2122: Security
sandbox violation: Loader.content:
http://www.MYDOMAIN.com...
In Action Script 3, you can write a class that defines a dynamic object (MovieClip and Object are two examples), this objects can be modified in run-time. What I want to know if is there some way (in run-time, of course) to know if certain object is dynamic or not.
PS: Without making something like this:
function isDynamic(object) {
...