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 am trying to convert an Adobe CS4 based plugin to CS5. This project has never been mine, this is the first time that i am seeing it.
When I compile the source with what i was given, I get errors like: Does not name a type
Example:
SPAPI SPErr SPBasicAcquireSuite( const char *name, int64 version, const void **suite );
I get that:
...
How to use compiled LibPng sample? I have compiled it (lib png) now I want to use it with bitmap data. Can any one please share some simple AS code for USING compiled lib png?
...
Hi
I have developed a Flash Video player in Flash CS3 with Action Script 2.0 to play video from Adobe Flash Media Server 3.5. To play video from FMS 3.5, first I have to verify my swf file on FMS 3.5 server console so that it can be ensure that RTMP video URL only be play in verified SWF file.
Right now I am facing problem of "NetCon...
I'm using the <s:ComboBox> flex component which I suspect is very similar to the mx one <mx:ComboBox>
What I'm trying to do is listen to the event of the mouse moving between the items of the list. There's a change event, but it kicks in only when the item is clicked/selected from the list.
What event would I need to listen for when i...
Hi,
I have been searching about a good tutorial about integrating Adobe Contribute with a .Net
but i haven t found anything.
Could you give me some tips about how to do it?
I guess there are some 'special' tags to insert into the aspx pages. but in practice how do i connect the two?
Thanks
...
Hello,
i just checking Flash Builder 4 ( i come from Flex builder 3 ), and it was painfull to see that old CSS visual editor, that it was very convenient for skinning components, has dissapear when select version 4.
Also creating new project appear option between Mxml and 'Mxml+Spark'.
What is this spark?
Do you recommend using this? W...
I want to use command line, to execute licensed adobe acrobat 8 to recognize OCR text a already scanned pdf document and make it fully searchable pdf?
Do you know what is the command line switch, parameter?
Thanks in advance!
...
I've got an flex application where I have a left side TREE control and a viewstack on the right and when someone selects the tree it loads the named viewstack based on the hidden node value of the XML of the tree.
But it's throwing a error 1065 variable not defined on a viewstack which worked on the last browser refresh/reload. It's not ...
Is there something like selectedIndex for SkinnableDataContainer? It doesn't seem to be one of the available properties.
...
I've got HTML component as part of a datagroup itemrenderer which I need to resize the content of (there are lots of them).
This works quite well but the content looks really crusty. No font antialiasing. Even at 50% looks crusty.
I've considered generating thumbnails bitmaps on load 'complete', but that would be my last resort.
<mx:...
Hi all,
As I understand it Firefox does not support H.264 encoded video using the tag. I've been told that Flash will quite happily handle such content however I have no experience with Flash nor do I have access to Adobe Creative Suite. I'm developing primarily for Firefox users and recoding our video content to OGG would not be pract...
Hi I am working on tabNavigator in flex 3.
I have tileList within it. Contents in the tab comes dynamically so I cannot provide explicitly fixed height and width.
I need to resize the tabs depending on the contents within it.
To resize the tabs I have enabled 'resizeToContent' property of tabNavigator.For some reason it is not resizing ...
Hi there.
I've created a couple of shared templates (.xdp) which will be shared among several clients. Obviously, each client has their own logo and I'd like to set the logo upon form generation.
I've managed to change the logo dynamically although I'm not sure if my approach is good.
In the xml datasource I've got this element: <Clie...
Hello
I need to make a resizable window. Here is my code:
stage.scaleMode = StageScaleMode.NO_SCALE;
resize_btn.addEventListener(MouseEvent.MOUSE_DOWN, moveWindow);
function moveWindow(event:MouseEvent):void {
var corner:String;
corner = NativeWindowResize.BOTTOM_RIGHT;
stage.nativeWindow.startResize(corner);
}
It is mean...
We have a number of AS/Flex components that we've built over time and improved upon. They've been turned into components so they can be reused in different projects and save us time. So you can think of them as part of an in-house framework of sorts.
We're now realizing that it doesn't make sense to release the source code for these com...
Hello
I'm creating a simple AIR app with resize-functionality. Of course i need to position a resize-arrow to the bottom-right corner. Here's my code:
stage.addEventListener(Event.RESIZE, handleResize);
function handleResize(e:Event):void{
resize_btn.y = stage.stageHeight-resize_btn.height;
}
This doesn't work, my button gets out...
Hey,
I'm trying to get familiar with the whole keyboard event detection thing.
Here's my sample code.
<fx:Script>
<![CDATA[
import flash.events.KeyboardEvent;
import mx.controls.Alert;
private function init():void{
addEventListener(KeyboardEvent.KEY_DOWN,reportKeyDown);
}
...
I usually write something like this:
<mx:VBox height="100%" width="155">
<mx:Button label="b1" width="100%"/>
<mx:Buttonlabel="b2" width="100%"/>
<mx:Button label="b3" width="100%"/>
<mx:Button label="b4" width="100%"/>
</mx:VBox>
...
I know that all the cool animations are created in Flash (the program) unfortunately, I am not very good with it. However I like flash builder, because you can use a markup language and because it is better optimized for large projects.
Can you create animations that are as good in flash builder?
...