Flex :: Adjust NumToChar To Support Any Key (AS3)?

Aug 18, 2010

I have a flash conversion function that I call like this:[code]...

View 1 Replies


Similar Posts:


Professional :: Why Flash Plugin Only Support .swf Not Support .flv

Nov 18, 2010

i don't understand flash plugin only support .swf file,not support .flv file? always require load a swf file for play flv file, for exampes:

<embed type="video/x-flv" src="http://www.my.com/test.flv"></embed>
 
must be use a swf for play

<embed type="application/x-shockwave-flash" src="http://www.my.com/player.swf" flashvars=""></embed>

View 2 Replies

Flex :: Data Binding - How To Adjust ComboBox Width

Sep 15, 2009

In Flex 3, I've created a ComboBox within an MXML component similar to the following:

<mx:ComboBox id="comboBox" dataProvider="{_choices}" />
<mx:Script> <![CDATA[
import mx.collections.ArrayCollection;
// etc...
public function get choices():ArrayCollection { return _choices; }
[Code] .....

In the parent MXML application, I'm modifying the contents of the choices property:
myComponentId.choices.removeAll();
myComponentId.choices.addItem({data: "NY", label: "New York"});
myComponentId.choices.addItem({data: "CA", label: "California"});
// etc...

The binding is working in that the ComboBox is automatically picking up the new contents added at runtime, however it is not adjusting its width. The initial width of the ComboBox is wide enough only to show the initial item "All" declared in the component. However, I want and would have expected the ComboBox to re-size automatically during binding to be able to show "California", but it isn't. How can I get the ComboBox to update its width after I have added new wider labels to its dataProvider?

View 4 Replies

Flex :: Adjust Contrast / Brightness Of An Image Inside Control?

Apr 29, 2010

I have an image loaded into an Image control and I'd like to know the most efficient way that I can darken/lighten the image programatically.

View 2 Replies

Flex :: Adjust Font Size To Align A Label To An Icon?

Nov 9, 2010

I'm building a small Flex UI component that displays a colored square next to a label of text. I want to be able to specify a size for the square and internally adjust the label's properties such that the line height matches the square and the text is vertically centered with respect to the square.

At the moment, I'm using mx.controls.Label for the text. Setting the fontSize style to the square's size does not work, the label then becomes too big. After tracing a couple of values in the debugger, I found that

the line height of the internal text field (sum of the ascent and descent properties of the TextFieldMetrics object obtained through getTextFieldMetircs()) seems to end up about 120% of what I specify a s font size.there's a default "leading" of 2 pixels that I can not change directly at the Label level, this adds to the overall height of the internal text field (getTextFieldMetrics().height)the height of the Label component then is an additional 5 pixels larger than that, I don't know where those come from.

View 1 Replies

Flex :: 3 - Diagonally Draw Text In A Shape And Adjust Size

Mar 30, 2011

I'm trying to create the following component: Just for information, the blank space will contain a text control, and I'm creating a component that represents the black corner with the (i) icon and the "promotion" text. The part I'm having issues with is this component representing the black corner with the diagonal text. The text has to be able to hold 2 lines. And the black corner has to be able to adjust to the text's size. What's more, the text has a rotation... I'm having some doubts on how to do this:

Should I have different controls for each text line? Should I draw the text in the shape (after doing the rotation) or should I just overlap both components? [When I talk about drawing the text in the shape, I mean in the same way as asked in this question] Is there any way to get the proper size of the triangle shape without doing some extravagant calculations?

[Code].....

View 2 Replies

Flex :: Compression Support In AS3 / AIR?

Sep 26, 2010

Is there a way to open RAR / zip / 7z in AS3? Is it easy to use compression library in C with Alchemy?

View 3 Replies

Flex :: Does 3 Support Threading

Apr 12, 2011

Does Flex 3 support threading? If so, are there any examples or links I could look at?

View 3 Replies

Java :: Does Flex Not Support Hashmaps

Sep 28, 2009

I have a Flex object which collects a DTO from the server. All the fields arrive filled in correctly except for the one that is a HashMap. It arrives as null.I've tried giving it a type of both ArrayCollection and Dictionary, but that hasn't fixed it.Does anyone know if there's an inherent incomaptability between Java HashMap and Flex?If not, what might I be doing wrong here? I'm looking at my jboss console and I see the data being populated correctly in the server side before delivery to the client.

View 3 Replies

Flash -Flex 4 Support Put Request?

Feb 24, 2011

Does Flex 4 support put request?

I know that Silverlight 4 support put request using its client http stack.

View 2 Replies

Actionscript 3 :: Flex And PHP With Transaction Support?

May 26, 2011

I need to create an application that will use Flex on the client side and PHP on the server side. In my application I will need to have transactions opened for a long time (maybe 1, 2, 3 minutes). Can you give me any toughts on what PHP-FLEX fraework to use? I even found something like AS3FlexDB but it seem to not supporting transactions for a long time.

View 1 Replies

Eclipse :: Does Support Flex Development

Aug 11, 2011

I was about to start with a chat application like this one. I was wondering how to do it on Eclipse. Does Eclipse support Flex development? Is there a plugin or a tool which I need to download for Eclipse? I installed Flash Develop on my machine, but I am getting some issue in unzipping the zip file for Flex SDK which I can't figure out why. Thus I was thinking of switching to Eclipse.

View 2 Replies

Flex :: Resource Tag Not Support Localization?

Mar 27, 2012

Some places in my flex app, I use ResourceManager.getInstance().getString, and other places I use mxml @Resource tag to retrieve resource properties dynamically loaded from ResourceManager. resourceManager.loadResourceModule(resourceModuleURL); But only strings from ResourceManager.getInstance().getString show proper locale based values, while the @Resource tag only returns values from en_US resource. I guess it is because en_US is what I compiled with (-locale=en_US ). So I am wondering if I am using a dynamicly-loaded resource, do I have to abandon the @Resource tag and use ResourceManager.getInstance().getString ?

View 1 Replies

Flex :: Why Doesn't ActionScript Currently Support Threading

Jun 15, 2010

Why doesn't Flex/ActionScript currently support threading?

View 5 Replies

Flex :: Libraries That Support Image Editing?

Mar 8, 2011

I'm looking for something that will support image rotation, multiple image layers, cropping, etc., and allow the client to customize which features are to be shown.

View 1 Replies

JavaScript :: How To Get HTML5 FileAPI Support In Flex

Feb 4, 2012

I need Flex code to support HTML5 File API. Because I need to support File API feature for those browsers that did not support File API. Do you have any code or link?

View 1 Replies

Flex :: How To Edit Item In DataProvider With Support For Cancellation

Jul 9, 2009

I have a DataGrid of objects, and I want to modally edit them; pop up a dialog, change the item, and if the user clicks "Ok", save the changes back to the original item, and if they click "Cancel", do nothing. It seems obvious that if I simply pass in a reference to the original object and change it using data bindings to the fields in the edit form, I won't be able to cancel my edits. How can I support that capability?

View 1 Replies

Flex :: What AMF Servers Support Remote Shared Objects

Mar 29, 2010

I'm planning on building a Flex based multiplayer game, and I'm researching what will be required for the server end. I have PHP experience, so I started looking at ZendAMF.

Now in this game, I'll need the concept of rooms, and real time updates to clients in those rooms, so it looks like I'll be using remote shared objects (correct, yes?). I'm not seeing where ZendAMF can support this.It seems to indicate that ZendAMF isn't going to do what I want. WebORB for PHP seems to be the only PHP based solution that does messaging, but on that page it doesn't mention "real-time" next to it like the Java based ones below it do.

View 3 Replies

Flex :: Why Doesn't Mxml Support Component Constructors

Sep 22, 2011

Why doesn't the Flex framework's mxml language support a constructor for components or accept constructor arguments for components? It's as far as I know not possible to declare an ActionScript object in mxml if it takes constructor arguments. I'm curious about the reason. Is it a design choice by Adobe or related to how declarative languages work? For example, why not allow:

<myNameSpace:MyComponent constructor="{argArray}"/>

View 1 Replies

Java :: Support Both HTTP And HTTPS Channels In Flex/BlazeDS?

Jun 17, 2009

I've been trying to find the right configuration for supporting both http/s requests in a Flex app. I've read all the docs and they allude to doing something like the following:

<default-channels>
<channel ref="my-secure-amf">
<serialization>[code]..........

I'm running with Tomcat 5.5.17 and Java 5.The BlazeDS docs say this is the best practice. Is there a better way? With this config, there seems to be 2-3 retries associated with each channel defined in the default-channels element so it always takes ~20s before the my-amf channel connects via a http request. Is there a way to override the 2-3 retries to say, 1 retry for each channel?

View 4 Replies

Actionscript 3 :: Flex - Text Layout Framework Multilingual Support?

Dec 24, 2009

I am using text layout framework in my application. I am using textflow as editor to my application. As text layout framework supports multiple languages. I a m able to see the text in multiple languages. Now my doubt is, can I type in different languages? For example: As in word if we choose the font as Hindi then whatever we type it comes in Hindi.

View 1 Replies

Flex :: Custom Sorting Capabilities With Server Side Support?

Feb 22, 2010

The sorting capabilities that are available in Flex assume that you have access to all the data, but I'm using a paginated datagrid (with custom code), the datagrid is binded to an ArrayCollection instance, on the next page call I change the data of the dataprovider and everything works ok, but for sorting I need to override the click or event better override the sort method of the arraycollection

All this is to be able to do a server-side sorting.

View 4 Replies

Flex :: Does The Latest Sdk Now Support RESTful Methods Like PUT And DELETE Using Their HTTPService

Apr 20, 2010

does the latest sdk now support RESTful methods like PUT and DELETE using their HTTPService?

View 2 Replies

Actionscript 3 :: Streaming Support For Flex With Ruby On Rails (working With Live Data )

Mar 9, 2010

I am working on flex dasboards and charting stuff. Till now I have build them for static data only now I want to upgrade them to work for real time data where new data is continuosly sent to client (swf file) from server and it updates the same.I am using Jruby with RoR.

View 5 Replies

Flex :: Can Enterprise Apps Requiring HTML5's New Feature(s) Support Non-HTML5 Browsers

Nov 16, 2011

I'm just trying to understand how once HTML5 enters the picture, the current concerns about browser incompatibility and other issues go away? Wouldn't HTML5 simply add another set of browsers to the large list of current browsers that the application must target?

That is, assuming the enterprise web app requires one of these new HTML5 features (e.g. playing audio and/or video, integrating SVG or vector graphics, etc.). If such a feature isn't critical then graceful degradation may be acceptable and then my question is moot.

But for those apps that require one of these new HTML5 features, are you planning to support older browsers, or expecting it's acceptable to restrict to HTML5 browsers because the enterprise in question has made one of them their new corporate standard (or other scenario, etc.)?

View 1 Replies

Flex :: Mxmlc Doesn't Support The "file" Attribute?

Dec 14, 2009

Just moved my Flex app onto Ant with a basic ant script and I am getting this stupid error: mxmlc doesn't support the "file" attribute. I looked through docos and it seems that my code is right, so hows it going.

<!-- load previously defined configuration properties file -->
<property file="build.properties" />
<!-- points to our flexTasks.jar we copied to the libs folder to distribute with the project -->[code]...........

View 1 Replies

Adjust Ease Of Slide?

Jun 3, 2009

adjust ease of slide

View 1 Replies

Elements That Adjust To Screen Resolution

Mar 2, 2011

I'd like to know where to look for documentation on how to make elements that adjust to the site resolution, or what this technique is called.

Like in here (the floating clip on the left upper corner, there is a menu divided into 2 parts like float:left and :right (like I would make this in css))

[URL]

Basically I'd need a menu always aligned to the bottom-center of the page that won't change the size, but the background always stretched proportionally to the width of the page upon resizing.

View 1 Replies

ActionScript 3.0 :: Adjust Xml Text Height?

Jan 17, 2010

I have a textfield 300 width x 300 heigth  in the instance.after i loaded the xml into this textfield (xml_txt) , all the content stays within this txtfield. so if i select the text i scroll down..but i dont want this..
 
is it possible to, after loaded the xml, to adjust the heigth of the textfield to fit in the text, so i dont need to scroll it.?

View 3 Replies

ActionScript 3.0 :: Adjust The Size Of Images?

Sep 6, 2010

I am trying to develop a Image Gallery in which I have images of different dimension I don't able to understand how to adjust the size of images using actionscript.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved