Hi
I need to customize my alert box with two button and both the button need to have different skins on them.
I was able to do it for one skin. But i am unable to figure out about the two skins.
My code that i have right now is below:
public function Messages():void
{
Alert.buttonWidth = 100; ...
Hi
I want to mix alignments in a single line in flex using TLF.
Ie., on each given line, I'd like something like this:
the quick brown fox|1
jumps over the|2
lazy dog|3
In essence there's simply 2 columns there - the left column is right aligned, and the right column is left aligned.
The docs on this are pretty scar...
Hi
Well the heading is basically what my question is:
How can I have different colors for different tabs in SuperTabNavigator.
Below is the code to my SuperTabNavigator with three tabs:
<containers:SuperTabNavigator x="0"
y="10"
width="100%"
height="100%"
...
I am trying to debug an application in Flash Builder 4.
The application I am working makes use of php session variables to ensure that the user is logged in.
When not debugging, after logging in I can simply path to the container html file and everything works fine. However, when I am debugging a new IE window is launched but for som...
How to create vertical gradient in flex.
What i currently have is a horizontal color gradient. And its working fine. But I am unable to figure out how should I make it vertical (which ofcourse is the requirement)
I use styleName = "chatWindowLeftGradient"
<mx:VBox id="chatTabBarVBox" height="100%" styleName="chatWindowLeftGradient">
...
What are the rules for something to be a GC root in Flash?
I'm using the Flash Builder 4 profiler, and I'm finding odd things are labeled as GC roots in the object reference details (e.g., an Image control that is no longer in the display list, nor static).
...
If a SWF file or even a component within it has scrollbars, wouldn't it make sense that if the user is hovered over that area (it's in focus) and uses the mouse wheel, that this movement would automatically translate to the scrollbar moving.
Any ideas how this is done, the events or classes used for this? I'm open to outside components ...
I'm in the process of choosing a framework for my flex development, and one of the questions that was asked about a framework was "is this a framework or a micro-architecture"?
Can someone clarify what's the difference?
What exactly is a framework, and when can we start calling what we have a framework? I work with FlexBuilder3 (now c...
hi,
i want to give deep linking for named destination..
is that possible?
i am using this tool : http://flexpaper.devaldi.com/
This tool is loading PDF from converting PDF to SWF using PDF2SWF(www.swftools.org)
is there any way to get the named destination and give deep linking for the named destination..?
Please help me.
thanks in a...
Hi I need a little help:
How to get profile URL given an UID?
Thanks,
...
so I am trying to drag around some images in a canvas.
I am adding eventlisteners to the components and calling startDrag() and stopDrag() to pick them up and stuff:
component.addEventListener(MouseEvent.MOUSE_DOWN, component.startDrag)
The problem is that it is selecting the image at its (0,0) location and not where I initially click...
I'm trying to send some XML to a rails app in Flex. I'm using the URLRequest and URLLoader objects. However, I'm having trouble determining how to send the XML and _method parameter to the rails app using these flash objects. Below is how I'm currently trying to achieve this.
var request:URLRequest = new URLRequest();
re...
Hi,
My server for some reason displays .AIR file inside the browser, but I want to have it downloaded. How can I do this?
...
I'm looking for a flex 4 compatible way of adding a sprite generated with graphics library to a skin.
If I generate the sprite like this:
private function drawShape():void {
theshape = new Sprite();
theshape.graphics.beginFill(0x666666);
theshape.graphics.drawCircle(3,5,10);
theshape.graphics.endFill();
}
What would be t...
I'm trying to create a menu component for my flashbuilder app but when I separate the menu from the main application it stops working.
Can someone show an example of how to do this?
Also if this is a bad idea could some explain why?
It just seems like it should be a natural thing to do.
Thanks
Dave
...
I have 2 skins, almost identical, but differ in 1 small way that can be accounted for if I could pass a Boolean to the skin while assigning it to the host component (a button).
<s:Button skinClass="MyBtnSkin" />
Is there a way while assigning the skin to the button, I could also pass a parameter to the skin somehow?
...
I'm building my first website with AS3, and I'm using Flash Builder 4 to create/edit my AS classes. I have two .fla files (preloader.fla and portfolio.fla) which I both published as .swc and loaded them into my ActionScript project in FB4 (build path). When I hit debug, FB4 automatically generates a .SWF in bin-debug folder called Preloa...
My operation system is Window XP in Chinese.
I'm running flex sdk > asdoc in command line. Asdoc picks up the system default language.
How can I force it to be run in English language environment?
...
How I actually merge both together?
one arraycollection would contain value of 0...30 with Object name "sxx" with another arraycollection retrieve from database.
...
I downloaded the swc file from here: http://developer.yahoo.com/maps/flash/flexGettingStarted.html
And put it in my flex 3.0 lib folder - just like where all my other 3rd party libraries are in place, however with the yahoo flex map lib, i get that error.
Any ideas? Appreciate your help, thanks.
...