Flex :: Actionscript 3 - Flex Label Baselineshift Supported On Mobiles?

Jun 13, 2011

I need to create subscript text for mobile. I read at [URL} that label's baselineShift property is not supported on the mobile theme. So I created a plain mobile project using the default mobile theme with a couple of test labels and in the FB 4.5 emulator the baselineshift worked fine.

View 1 Replies


Similar Posts:


Flash - Migrating From Flex 4 / 4.5 To 4.5.1 For Mobiles

Aug 31, 2011

I am trying to migrate from flex code written in flex 4/4.5 using mx to be compatible with flex 4.5.1 using only spark. The problem is that I can't find a few mx component in spark

mx:tree
mx:text
alert.show()

View 2 Replies

Flex :: AIR 2.0 NativeProcess Is Not Supported

Jun 29, 2010

I have built a application that use a nativeProcess to open exe. The application into Flex Builder 3 run whitout errors. Then the problem come when I export the aplicaction AIR in .air and install the applicaction in the developer pc or other pc. When I push the button to open the .exe, appear the message "Native Process is not supported". The code in the main.mxml that I use:

[Code]...

View 3 Replies

Flex :: EncryptedLocalStore Not Supported?

Aug 15, 2011

I am trying to create a secure database for a mobile app using the as3corelib EncryptionKeyGenerator package from here but when I run it I get the following error:Error: EncryptedLocalStore is not supported on the current platformat flash.data::EncryptedLocalStore$/setItem()Googling around I see it is becaue the ELS is not supported for mobiles. Does anyone know of the best solution to this problem? I guess I could use the persistence manager to store the information but I am not sure this is the most secure method.

View 2 Replies

Android :: Which APIs Are Supported In Flex Air

Nov 23, 2010

Anyone know where I can find what Android APIs are supported in the latest Flex AIR SDK (Hero). In particular is the speech to Text API supported?

View 2 Replies

Flex - Determine If Mx Classes/libraries Are Supported?

Feb 25, 2011

I'm writing a helper class and I want it to be used in both flex and pure actionscript projects. For example:

public static function listenToPositionAndSize(control:DisplayObject):void
{
if (mxLibrariesSupported)
{
control.addEventListener(mx.events.ResizeEvent.RESIZE, onControlResize);
control.addEventListener(mx.events.MoveEvent.MOVE, onControlMove);

[Code]...

EDIT: One simple reason to do this is: if you check the above example, I would prefer mx.events.MoveEvent.MOVE (if available) instead of flash.events.Event.ENTER_FRAME for performance issues.

View 3 Replies

Actionscript :: Flex Filter Operator Not Supported

Jun 12, 2009

[code]For the above Flex Code, when I click on the label lb, I get the following message at the runtime:[code]

View 1 Replies

Actionscript 3 :: Flex: Setting A Style That Is Not Supported By A Component

Sep 2, 2010

I am wondering if flex enforce style settings and throws compilation errors if a style that is applid to a component that is not supported by it. Has any one tried it before ?

View 1 Replies

Flex :: DropShadowEnabled No Longer Supported In Hero Build 17689?

Nov 12, 2010

I am using Flash Builder Buritto with the latest "nightly" Flex 4.5 SDK, build 17689. It seems the dropShadowEnabled property is no longer supported with the Hero default skin. I get this compilation error:

The style 'dropShadowVisible' is only supported by type 'spark.components.Panel' with the theme(s) 'spark'.

Is there any way to disable the shadow without making a custom panel skin?

View 1 Replies

Flex :: Make Flex Spark Label To Be Auto - Resized?

Mar 11, 2011

I'm creating the Label component like this

var label:Label = new Label();
label.text = "some text";
label.styleName = "someStyle";
addChild(label);

But it stay invisible until I explicit set the width and height.How can I make the label to be auto resized according to it's text?

View 3 Replies

ActionScript3 :: Flex - What Types Of SVG Gradient Fills Are Supported When Using The Embed Meta Tag

Jul 7, 2009

I've been trying to embed some svg files into an AS3 project using the Embed meta tag. For example:

[Code]...

However when displaying these files as Sprites only some of the gradients are surviving the embeding process. From what I've found simple (2 step) horizontal gradients seem to stand the best chance of being preserved, but sometimes other kinds of gradients are as well. In one case simply rotating an object 90 degrees causes the gradient to vanish when displayed in flash. Does anyone know a rough set of rules to use when creating svg gradient fills so they are preserved when rendered in flash? BTW: I used Inkscape to create the images in question.

Update: Bizarrely the solution to this seems to be setting the opacity of any object in the svg file whose gradient isn't displayed properly to a value below 1. Don't ask me why this works but it does. It does however have the unwanted side effect of the objects edges not being rendered as smoothly.

View 4 Replies

Flex :: Error 1123 - Filter Operator Not Supported On Type Object

Jan 25, 2012

I have a a structure like this:
e.item.fatturato_ac_s1
e.item.fatturato_ac_s2
e.item.fatturato_ac_s3
e.item.fatturato_ac_s4
[...]
and so on...

In order to compute dynamically the string I wrote:
e.item.(myStr.toString()) where myStr (type string) = "fatturato_ac_s" + Index (so I can have fatturato_ac_s1, fatturato_ac_s2, ...)
I can correctly retrieve the value of e.item.(myStr.toString()) (a numeric value), but if I try to put it in a variable I get the error in the title:
myVariable = e.item.(myStr.toString())
myVariable is a Number.

I also tried:
myVariable = Number(e.item.(myStr.toString()))
But doesn't work... the same if I try String to String....

View 1 Replies

Flex :: Warning: Css Type Selectors Are Not Supported In Components 'sparks.component.TextInput'?

Jun 26, 2010

I am trying to do a simple CSS declaration. However, I got the warning above and not sure how to solve it. I thought s|(type) should declare the style for me

<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";[code]....

View 1 Replies

Flex :: Flex 3 Resize The Label And Text When Resize The Window?

May 11, 2010

i am creating flex 3 component when i re size the window i need to re size the labels and text.how to do this?

View 1 Replies

Iphone :: Flex & Flash Supported On IPhone?

Jul 18, 2011

I am a Flex developer. I wish to make flex applications for iphone. But, when I google up for the same, most of the link shows up that Adobe Flex and flash aren't supported on iphone.

Is this right ? Why it isn't supported ? If it is supported, which are the good books for developing iphone applications via flex.

View 4 Replies

Flex :: Add Superscript In Label?

Oct 15, 2009

How do I use superscript text in Flex?

View 4 Replies

Flex :: Change Label In Repeater?

Nov 21, 2009

In actionscript, when I click a button I would like the label to replace from "add to list" to "added" without override with super method.

Is this even possible to change label in repeater?

View 1 Replies

Image As Label With Checkbox In Flex?

Jan 15, 2010

I want to use an image in my checkbox as label, anybody know how ?

View 2 Replies

Flex :: Change A Textinput Into Label

Mar 21, 2010

i create a form for order a item in flex. i use <mx:TextInput /> for getting the information from client and use a <mx:Button /> for submit the information in database. But client requirements is when user click on button then first show a confirmation page with details information that client give. But can't use another page or <mx:TextInput /> in this confirmation page, it will be <mx:Label />. After show the confirmation page if clients click on Button then submit the info. How can i convert a <mx:TextInput /> into <mx:Label /> with all properties in flex? Is it possible?

View 2 Replies

Flex :: S:Label Does Not Load The Font

May 24, 2010

I have a mxml component with a "s:Label" and

fontFamily="notes"

as an attribute.

Source code:

<?xml version="1.0" encoding="utf-8"?>
<s:SkinnableContainer xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com

[Code].....

So I thought, that would be okay and the text of my s:Label will be formatted with this special font. But the output is the normal font. By changing the "s:Label" to a "mx:Label", the font is "loaded". So, what can I do that the font will work with s:Label?

View 2 Replies

Flex :: Place A Label On Chart?

Jul 1, 2010

In flex, how to add a label on a chart? I need to display some thing on the chart.

View 1 Replies

Flex :: Spark Label Be Skinned?

Aug 22, 2010

I would like to add some fancy drawing beyond the CSS formatting. How can I put a skin on a spark Label ?

View 1 Replies

Flex :: Remove All Padding From Label?

Nov 18, 2010

I am trying to remove all the padding from a Label contained in an HBox. I set paddingTop and paddingBottom to 0 in both the Label and HBox but there is still quite a bit of padding. I also tried setting verticalGap to 0 on HBox. If I just have a checkbox in the HBox the padding is removed fine.

View 2 Replies

Flex :: RichText Vs Label Control

Apr 16, 2011

I have a flex project where I uses the spark RichText control quite extensively, there are places where it is possible for me to replace RichText with the Label control - (The rich text occurred due an import from Flash Catalyst). My question is, is there any space/performance advantage in using Label over RichText, since Label seems like a much lighter option, I am building a web app, size matters.

View 3 Replies

Flex :: Width Of Spark Label?

Aug 5, 2011

I need to set the text of a spark label and then position such label along the x axis depending on its width. Unfortunately, it seems that the width of the label does not update right away and thus the positioning will fail. I can listen to updateComplete events on the label and update its position then, but that means repositioning the label a lot more often than I would like (updateComplete fires off a lot more often than upon changing width). how to properly handle what would appear to be a trivial task?

Here's a code snippet that shows what I described above. If you press the button you will see 3 traces: the label width before changing its text, right after setting its text, and when the label is done updating itself. Would love to know if there's a way to get the correct width without having to listen to updateComplete events... The button and the VGroups are just there to run the example

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[Code].....

View 5 Replies

Flex - Advantage Of Using Mx:Text Over Mx:Label?

Aug 18, 2011

What is the advantage of using mx:Text over mx:Label in Flex?

View 1 Replies

Flex :: Different Font Size In Label?

Feb 23, 2012

I would like to display a set of Text like this "DISCONTINUED (02-02-2012) Crocin" in label. But i need smaller font size for Date. How can I set the value to Label so that I can display smaller size font for Date.

I only need to assign a single string to label? like this "DISCONTINUED (02-02-2012) Crocin"

View 3 Replies

Flex :: Getting Measured Width Of A Button Label?

Aug 18, 2009

Is there a way to get the measured-width of a button label in flex based on its style properties at runtime?

View 2 Replies

Flex :: Override Function Set Label Of A Button?

Sep 24, 2009

I trying here to avoid having to bind resources to all my components labels ( ie a button) and find a way to have this automated.

Problem: It corrupts the layout in design mode to bind directly in the mxml label="{resourceManager.getString('myResources', 'submit')}" and makes the design view useless. but when declaring bindings elsewhere, in actionScript or via a bind tag, it is counter productive and prone to many errors and miss.

Proposition: I would like to create my own button that automatically invoke resources to localize a button label. So the author puts "Submit" in the mxml description of my button, and when running it would take the value of the label ie "submit" and use resourceManager.getString('myResources', 'submit').

but I can't find the way to override the set label function, Is it possible if yes how? else how can I go about it?

Maybe I am missing an essential process here that would make the use of resources more elegant, as well as how to override such thing as a button's label.

View 1 Replies

Flex :: Word Wrap In Button Label?

Oct 31, 2009

The standard Flex button does not allow the Label Text to word wrap. I read in the internet that there are some undocumented ways to handle this but I did not get them to work.

View 2 Replies







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