I am new to flash and learning action script 3.
I am using flex. But i find it hard.
Should i use Adobe flash so that i can insert the components by drag and drop
Does anybody know if it's possible to call a webservice with an attachment from Flex Webservices?
I was looking around, and it seems that you can do that in Flash Player 10... any clue? Any documentation?
Thanks in advance!
hi,
what's the easiest way to cut string in Flex ?
I mean, I have a sequence of urls, I want them at most 60 characters length. If they are longer they should be cut and "..." should be added at the end.
<mx:LinkButton label="{bookmarksRepeater.currentItem.name}" click="navigateToURL(new URLRequest(event.currentTarget.label.toString()))" />
thanks
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 actual result is 3 alert windows all showing C !
I appreciate your comments.
-A
I'm creating a flex app with multilanguage support.
But there's a problem with the design when I try to implement multilanguage support.
For example :
In Chinese : ??
In English : Good Morning
The button size is not enough when I change the language to English. Although I set the button width with dynamic size, but the button will closing the objects around it
Code is here http://pastebin.com/7fDB2VU2
Hi guys,
I'm wondering if it's possible to load assets through proxy in flex,
for example to load image.
As far as I discovered there isn't such way, but I thought it wouldn't be any harm to examine your huge knowledge also :).
Thanks,
Royee
I have a flex line chart. Instead of the default behavior of having to hover over parts of the line to see the data points, is there a way to change the rendering of each point and have them always displayed? (almost like a connect the dots type view).
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 properly, or am I going to need to manually replace those strings regex style?
How to connect to MYSQL DB from Java, create table, insert data, retrieve it with datatypes.
How to make use of the data to/from in Flex application.
plz help me out..
i have basic knowledge in sending and receiving messages using BlazeDS.
and calling JAVA METHODS USING ...
I want to develop a game in flex to build a building. In canvas i want to spirit into number of squares and place a different type of building in that square(Using click and drag). If small building means its take two square and big building means its take four squares. Please anybody help me
I'm loading a rather large swf as style with the following command:
StyleManager.loadStyleDeclarations("assets/modules/"style.swf",true,false,ApplicationDomain.currentDomain);
The style is loaded fine but now I would like to add a progress bar to it, but I do not know how to do so. I am rather new to Flex and found only examples referring to HTML service calls.
Thank You for Your Help. It would be great to receive a small code example.
Why does my flex app open a blank page in firefox? Example http://localhost/flexApp/flex_bin/test.html. IE works fine--no blank pop up along with my test page. I'm not asking for one, yet ff feels the need to serve one up. Does anyone know why?
Is there a way to prevent a component from rendering in Flex (to save memory or processing power)?
I tried doing something like:
<components:AddNewItemGroup id="addItemGroup"
visible="false"
enabled="false"
horizontalCenter="0" bottom="0" />
I noticed that the component gets rendered but it's just not visible or functional.
I am looking into internationalizing a Flex application I am working on and I am curious if there are any best practices or recommendations for doing so.
Googling for such information results in a handful of small articles and blog posts, each about doing it differently, and the advantages and disadvantages are not exactly clear.
Edited to narrow scope:
Need to support only two languages (en_CA and fr_CA)
Need to be able to switch at runtime
Hello communitiy!
I have a flex web application and I would like to "transform it" into an Air application.
Do you know of any way to accomplish that?
Thanks for your help.
Regards,
BS_C3
Hi All,
i am using a data grid in flex and i am generating data from a mysql server. However, my problem is with adding a button within the datagrid so each row has one.
i have set the columns itemRenderer to mx.controls.Button although with the buttons shown in the grid there is no label on them (even though one has been set) and the assigned click event does not trigger when hitting the button. anyone have any ideas or guidance on what i am doing wrong.
Thanks
Mark
Are there any best practices when it comes to styling Flex applications ? I would like to give the html page designer as much flexibility as possible.
Any tips, pointers?
i have in my flex application various mxml components that all need to show stats based on the same data. how can i go about doing that? do i need some mvc framework like cairngrom or puremvc for that or can i do it without them?
any design ideas?
<mx:Label text="{(item1 as INewsItem).displayName}"/>
For the above code in Flex, I get this warning :
: Data binding will not be able to detect assignments to item1.
Why? How to Fix it?
hi,
I'm using a Repeater object in Flex. Would be possible to stop the repeater after 50 iterations.. even if my dataProvider is bigger ?
I want to display only the first 50 items. I'm using MXML to implement the repeater.
thanks
In Flex ActionScript, a new object can be instantiated via the parameterless constructor with or without (). Example:
var array:ArrayCollection = new ArrayCollection()
or
var array:ArrayCollection = new ArrayCollection
Is there are difference between these two? Is one preferred over the other?
hi,
The key event is not listened by my Flex app. Since it is really simple code, I cannot understand where the problem is...
init() {
stage.addEventListener(KeyboardEvent.KEY_DOWN, escHandler);
}
private function escHandler(event:KeyboardEvent):void {
debugF.text = "ESC pressed";
}
thanks