Hey guys,
I have a page with an some normal javascript, a swf file and some jquery.
I'm running my jquery code inside the $(document).ready(function() {}) function. But the code is being run before the Flex component (the swf file) has finished loading. Is there something I'm doing wrong?
Thanks for reading!
...
basically I have an admin flex page that allows the user to enter text into database. Then the frontend app will take the database entries and display them to the user.
However there is no formatting. Do I need to insert html into the database then read that html again?
For the user using the admin, they probably wont know html, so is...
Hi guys,
I want to extend AdvancedDataGrid to show a Waterfall Chart in one of its columns.
To do that I already created custom cell render that shows bars as I need.
Now I have a little challenge: I have to pre-process data to show my Waterfall Chart properly. I have to do it before my grid is show. So, I assume that I have to extend...
I want to create a complete (and real) 2-dimensional array.
In order to use a maximum of Adobe code, I want to use ListCollectionView which can manage sort and filters. But to use a second dimension, I need to override getProperty method, like following code.
package
{
import flash.utils.flash_proxy;
import mx.collections.ListC...
Hello guys, I made a webapp where I need html content to popup on top of the swf objects I have. I ended up using the swfobject setting wmode: "transparent" which works fine in all browsers (Chrome, safari, IE) except firefox. In firefox I can't click the flash buttons, i tried to remove wmode=transparent and, of course, I can click any ...
Hello,
i'm new to flex, and i've an exam on it next week. I'm following how to build an application in 1 day tutorial from adobe.
I'm stuck on how to recieve data from database.
First, i choose to use AMF to connect with data :
my PHP class to access my database doesn't work (got an error like: is zend correctly installed,include ....
Hi
I hope someone can help me.....
i am trying to build a dynamic form for a questionnaire module. Building on some previous posts I am using the process similar to that in question "http://stackoverflow.com/questions/629021/how-to-generate-a-formmxform-dynamically-in-flex" i have managed to prove out the fact of extending the XML to ...
Im trying to create a loop of items like this...
for each (var btn:Object in ViewButtonData)
{
// build element
var box:HBox = new HBox();
box.styleName = "lefttab";
box.width = "100%";
box.addEventListener("rollOver", HoverTab(btn.id, 1));
box.addEventListener("rollOut", HoverTab(btn.id, 0));...
For example i have an ArrayCollection, and i want to find persons with telephone begines with "944" how can i do this?
<mx:ArrayCollection id="arrColl" >
<mx:source>
<mx:Array>
<mx:Object telephone="944768" subscriber="Smith P.T."/>
<mx:Object telephone="944999" subscriber="Peterson Q.T."/>
<...
In my application this works:
<s:VGroup width="100%" paddingLeft="100">
... stuff ...
</s:VGroup>
This doesn't:
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
.myStyle {
paddingLeft: 100;
}
</fx:Style>
<s:VGroup width="100%" ...
I need to display price of item for every date in the month.
The chart can be Bar chart or plot chart.
Question:
Suppose there is no data available for 01/15/2010 then,
Is there a way to display (01/15/2010) on x axis but no (bar or plot point) corresponding y axis point ?
i.e. there will be a empty space between 2 bars or plot points...
I've got a list with a custom itemRenderer that's just a rectangle of specific size.
The list
<s:List id="thelist" width="100%"
dataProvider="{thelistdata}"
itemRenderer="ListItem"
borderVisible="true" />
Note the list's border is visible to help with debugging
The itemRenderer
<s:Rect id="box" width="50...
Hi All,
I am having a situation with my actionscript/flex front end.
for each (var sym:String in ["A","B","C"]) {
const handler = function (data:Object):void { Alert.show(sym); }
asyncCallback(handler);
}
I am expecting to have 3 Alert windows containing A, B and C. But the actua...
Here's the gist of the problem:
I have a set of rows of data with (say) field1 to field4 in them.
I'm using a GroupingCollection to group on field1 and field2.
So, I have something like this:
f1.1
f2.1
f3.1 f4.1
f3.2 f4.2
f2.2
f3.3 f4.3
f3.4 f4.4
f3.5 f4.5
f1.2
f2.1
f3.6 f4.6
f2.2
f...
I have a Flex/Actionscript 3 application that displays RSS feeds in a Text element. It strips out any HTML formatting present, but it's not handling HTML special entity codes properly -- it's rendering &mdash as the literal string instead of replacing it with an em-dash, etc. Is there any systematic way I can make it handle those codes...
Is there a way to cast dynamically in Actionscript? What I want to accomplish is illustrated by the following code:
var Val:*;
var S:String=SomeTextEdit.text;
switch (DesiredTypeTextEdit.text) {
case 'int':Val=int(S);break;
case 'uint':Val=uint(S);break;
case 'String':Val=String(S...
HEllo,
i try to do that in FlashBuilder (FlexProject)
protected function btn_detail_view_clickHandler(event:MouseEvent):void
{
CurrentState="Statistiques" || "PartMarche";
}
But it's not working, i guess this is not the right syntax but what's the right syntax ? Thanks
PS: i want to when the state is equ...
If I want to know if an object has a particular property I can code this:
if (SomeObject.hasOwnProperty('xyz')) {
// some code
}
But some styles masquerade as properties at design time such as Button.color... How can I know what style properties are valid at runtime? ie: What is the equivalent of hasOwnProperty for getStyle/setSty...
Isn't there some way to re-write the following code, such that I don't need a gigantic switch statement with every conceivable type? Also, if I can replace the switch statement with some way to dynamically create new controls, then I can make the code smaller, more direct, and don't have to anticipate the possibility of custom control t...
How can I import all files and classes into my AIR bundle... it must take a note that I created first a flex project, and set it's main class as Actionscript (.as) .
When I build a release all my imports (org) etc.. are not included in the .AIR installer... i have checked this by installing the app and then after show package contents, ...