I'm trying to port a big library to Alchemy. I've run into something that looks like an Alchemy bug. I have a class with a static member. There's a static function that uses it. Something like this:
In foo.h:
class Foo
{
static Bar m_pBar;
static void doSomething (int a);
}
In foo.cpp:
Bar Foo::m_pBar;
void Foo::doSomething...
I have an item renderer that checks an external source for display information. If that information changes, I want to force all item renderer instances to check it.
What's the best way for force all the item renderers in a list or grid to either commitProperties or execute some other method?
I've read that resetting the
grid.itemRend...
The below code show the labels from previously selected list any ideas?
Steps to reproduce:
Click on List AB
Open the list but don't select / click any item
Now click on List CD
Open the list again and you see A, B as labels instead of C,D but if you click on any item then everything comes properly
<mx:Script>
<![CDATA[
...
I have a map in a panel.When maximizing the panel,the map remain the smaller size.How to make the map growing synchronizely with the Panel?
When maximizing the Panel,I added Resize Effects.How to apply Resize effects on the Map when the extent of the map changing?
It seems to me that I should dispatch extentChange event when maximizi...
I've developed a simple file upload program with flex. After adding files, and clicking on upload, the progress bar works fine. However, when I click on remove all and start adding files again, the progress bar does not seem to reset. I have tried searching this forum for answers but failed to find any. Could anyone help me with this ple...
Hi,
I'm building a Flex 4 + Rails 2.3.5 application. First I was using XML to pass date through and I used to get an error complaining about Authenticity Token which I passed manually then to get through the error.
After that I re-factored my code to use RubyAmf which seems to be working but I didn't pass in the authenticity_token at f...
Hi
I have no problem with runtime embedding of fonts, there are plenty of online tutorials for this.
However, what I can't get to work is runtime embedding for extended character sets, even if I omit the unicode range and embed the entire font.
I've tried various approaches, and though I am able to runtime embed the font properly, can't...
How can I show an confirmation message in Actionscript 3 ?
I use Adobe Flex 3 and as3 for Air application
...
I'm interested in developing for the iPad and iPhone, but I'd prefer not to learn Apple's whole development stack (and good golly, I sure don't want to go back to manual memory management). Oh, sure, I could learn it, but I don't have that level of commitment to the environment at this point. I've got professional experience with Flex al...
re: spark.components.ButtonBar
In the spark ButtonBar's mouseOver event, how do you determine which of the several buttons the mouse is hovering over? There is, of course, no selected index at this juncture. If it makes a difference, my ButtonBar is not defined in MXML but is instantiated in ActionScript and an ArrayList is assigned t...
I am using HSlider to implement a one-thumb slider control. The thumb position is updated by a timer. However, the user can also update the thumb position by either clicking on a position in the slider track, or by dragging the thumb.
Judging by the Flex documentation, I figured all I needed to do was write a handler for the change even...
I am using SeriesInterpolate to animate the values of my ColumnChart and CartesianChart. The CartesianChart is using a CircleItemRenderer to produce dots on the line. The columns & lines are animating, but I can't find a way to get the dots to animate. They don't update until the animation is complete.
How can I animate the dots as well...
Hi,
I'm new to RubyAmf. I noticed that you can send an object with RubyAmf as follows:
format.amf { render :amf => @user}
Which works fine. But I wasn't sure what to do what when I have two ,or more, objects:
@projects = @user.projects
@tasks = @user.tasks
How can I can send @projects and @tasks without having to do multiple reque...
Hi!
I've been scouring the web to find a tutorial on how to implement a flex uploader, but didn't find any :(
Some tutorials just give the code and doesn't explain how to use them(sorry, i'm a newbie to flex)
can u geeks suggest some good tutorials? :)
thanks.
...
Hi,
Is there a way to access other active windows in AIR?
I want to make an AIR app that look into the active application text and look for a specific pattern and make a transparent window into that text position to create a button.
Its a bit like the skype plug-in in Mozilla ... It replaces the telephone number with a button to launch ...
Hi,
It seems like there are various hacks out there to change the background colour of the row of a datagrid but all of them seem to happen at render time.
See: http://stackoverflow.com/questions/748213/setting-background-color-for-datagrid-row-in-adobe-flex
I have a datagrid where I need to change row colours to red then back to norm...
Hi,
I'm kinda new to Flex. I have trying to send Hash from Ruby on Rails application to Flex using RubyAMF.
Results look like this:
result (mx.utils.ObjectProxy (@22b207d9))
|
|-->errors (object (@16c64dd1))
|-> Name -----"Name is too short"
|-> Email-----"Email has already been taken"
|-> Password--"Password is too sh...
Hey guys ,
I want to count the online user,when each client login the system,it's connecting to the server and increase a variable stored in a remote shared object.
But when client connecting server,problems arises:Error #2126: NetConnection object must be connected
My web layout:
Website --- apps --- userLogin
Code snippets:
rtmp...
My question is, that how can I get the node in witch I want to insert:
I.e
<folder id="1">
<folder id="4">
<folder id="5"></folder>
</folder>
</folder>
<folder id="2">
<file id="4"/>
</folder>
<folder id="3">
</folder>
I want to get folder with id = 4, but that can...
In the following XML:
<myxml>
<photos>
<photo url="1.jpg"/>
<photo url="2.jpg"/>
<photo url="3.jpg"/>
<photo url="4.jpg"/>
</photos>
</myxml>
How do I use e4x to extract the urls and push them in an array with the least possible code?
...