Все вопросы: [mxml]

144 вопросов

похожие теги:
0
голосов
3ответов
1521 просмотров

Flex BitmapData or ImageSnapshot for uninitialized components

I would like to make some kind of thumbnail with capturing BitmapData or ImageSnapshot of some UNINITIALIZED components in my Flex application. Is it possible? Thanks in advance! m.

1
голосов
1ответов
1803 просмотров

Thumbnails for mxml components in Flex

Is it possible to make some kind of 'dynamic' thumbnails for mxml components which I'm using in my application? By 'dynamic' I mean if I change some layout in mxml component, my thumbnail refreshes according to new layout without any screen capturing, photoshoping or similar =) Edit: I am using ...

1
голосов
2ответов
1686 просмотров

Problem using flex to read XML in e4x format from SOAP webservice

UPDATE: The problem was not to do with namespaces or flex at all. My webservice was returning the wrapped xml. I was blaming the language I had least experience with before questioning the java... I have a basic soap webservice that I am having trouble reading the result from in flex. ...

6
голосов
2ответов
14955 просмотров

Flex 4: Build a Group with a background

I'm trying to build a simple component extending spark.components.Group to have a background color, more specifically a spark.primitives.Rect component stretched to fill the background. This is what I've come up with thus far: <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="libra...

4
голосов
3ответов
1367 просмотров

static/private child component in mxml?

Are there any way to declare a child component in mxml which is private/protected or even static? Sure we can do this inside a script tag, but are there any other way?

1
голосов
6ответов
870 просмотров

Flex: Binding to an MXML-esque "binding string" in action script?

Is it possible to specify MXML-esque "binding strings" in ActionScript? For example, I want to be able to do something like: MXMLBinding(this, "first_item", this, "{myArrayCollection.getItemAt(0)"); MXMLBinding(this, ["nameLbl", "text"], this, "Name: {somePerson.first} {...

1
голосов
1ответов
798 просмотров

Global States in Flex 4

Flex 4 introduces states that are localized within a skin, and within a component. This makes sense on an MVC model, so the visual elements can have their own states (i.e. for a button: up, down, over, etc.) which are separate from a component's state. Yet, how would one go about making a global ...

0
голосов
2ответов
1480 просмотров

Flex - changes to mxml not reflected in browser

I have a Flex project and am using a trial version of Adobe Flex Builder 3 to build it. I do the following: 1. Change an mxml file in the project (for simplicity, assume I changed the text in a label). 2. Right click on the project, Export, Release Build 3. Right click on the main mxml file, Ru...

0
голосов
3ответов
597 просмотров

Flex Playing Media

Is it possible to play mpeg, avi, divx or other video types in Flex or do they need to be converted? I've looked around and I can only find that flv files are supported.

0
голосов
1ответов
307 просмотров

page control in flex(like php)

I'm new in flex. I have a design like this in one page have two option like this Hard & soft when i click hard(option) there will show three option(in php got to another page) like standard, square & pocket and in the page below BACK(when click this option it will back previous state...

3
голосов
4ответов
710 просмотров

flex newbie: can MXML be generated on the fly

Flex newbie question: can MXML be generated on the fly, like HTML is generated by a server? If yes, is it ok to do so or am I missing an important Flex architectural principle.

3
голосов
2ответов
2380 просмотров

Any good Wizard libraries in Flex?

I'm looking for a good "Wizard" library in Flex before rolling my own. The important features are: Multiple custom input panels in sequence. Ability to prepopulate the data fields using an object, but cancelling at any point leaves original data unmodified. Ability to move to back and forth in ...

0
голосов
2ответов
1055 просмотров

Converting a Flex custom component to a module

How to take an existing custom component in Flex and convert it into a module? EDIT: What should be done in the mxml where this custom component is used? Should it be replaced with a to load the module? If yes, how to deal with code that uses instances of the components?

0
голосов
3ответов
1064 просмотров

Flex - AS3 vs. MXML - Is there a compilation speed difference, and how does the mxml compiler work?

Does MXML get compiled down to as3 and then converted to flash bytecode? Also, is there a significant performance penalty to compiling mxml vs compiling as3?

1
голосов
1ответов
471 просмотров

What is the preferred way to embed an SWF graphic in a Flex 4 application?

In Flex 3, you just said <mx:Image source="@Embed('foo.swf')"/> What is the preferred way to do this with Flex 4? Should I just keep using Image?

1
голосов
1ответов
1965 просмотров

Check boxes just on tree leaf nodes in Flex

I'm having difficulty getting checkboxes on only the leaf nodes of a tree. Before anyone links it, I've seen http://www.sephiroth.it/file_detail.php?id=151# and this isn't exactly what I need. I don't want a 3-state checkbox system including both branch and leaf. I understand applying the check...

0
голосов
2ответов
264 просмотров

Flex: Nested tags in MXML == run method.... how to set this up?

I have a class called JDChart, and a class called JDLine. Inside JDChart there is a method called addLine() that expects 1 parameter of type JDLine. This is all good. but I want to be able to put this in XML Like this: <JDChart> <JDLine/> <JDLine/> <JDLine/> </JDChart&...

0
голосов
2ответов
915 просмотров

Left property in MXML - Flex 4 SDK

Why does the following button not line up 100px from the left edge? <mx:Button left="100"></mx:Button> I am using the Flex 4(Gumbo) SDK, I am pretty sure that if you try to do it in FlashBuilder, it would work.

1
голосов
6ответов
805 просмотров

Flex MSML components

I want to load a MSML component from another MSML component in Flex. To be more specific, I have a Login MSML component that loads from my main Application file and a Overview MSML component. When a user clicks on some button from that Login component it should redirect to the load Overview MSML ...

0
голосов
2ответов
1417 просмотров

Flex component visibility on application

Is there a way to tell at runtime if a flex UIComponent is in the user's view or not. For example, if I have a tabNavigator with a combobox on each tab, is there a property of the comboBox that will tell me if it is visible to the user or not when I switch from one tab to another? I know it is no...

0
голосов
2ответов
209 просмотров

Detecting out-of-view flex controls

In my flex app I have custom tooltips on buttons that hide and show based on user context. The problem that I dealing with is that when I call my showTips() function I only want to show tooltips on the buttons that visible in the view. So buttons that on a un-selected tab (tabNavigator) should no...

1
голосов
1ответов
1353 просмотров

How do I dynamically populate the options in a combobox inside of a grid based on another row in Flex?

I'm trying to setup a DataGrid that contains a column of combo boxes. The values of the combo boxes are defined by data specific to that row. I cannot get this to work though, I'm asking for a solution to this, either fixing what I have below or a recommendation on a different way. One of the ...

0
голосов
1ответов
168 просмотров

funny behaviour with tabNavigator

I have a tabNavigator in my flex app. I am using: tabNavigator.getTabAt(indx).y to get the y-position of each tab. For some odd reason the y-position comes out to be different for tabs that have visited by the user, as compared to un-visited ones. I am using a creationpolicy = "all" on the tabNav...

0
голосов
4ответов
1374 просмотров

Watching a bindable property

In my flex app I have a public bindable property. I want it so that every time the value of that property changes, a function gets triggered. I tried using ChangeWatchers, but it seems those only apply to built-in components like a text box change. I would like to do that same behavior with a pro...

2
голосов
3ответов
1478 просмотров

flex 3 play effect removedFromStage

I'm removing a component from the WindowedApplication, using removeChildAt(), and want to play an effect (defined within the component, say mx:Resize) which reduces the height of the component (an hbox) to 0 before it is removed. I was using the removedFromStage event within the component, but ...

0
голосов
1ответов
546 просмотров

Flex tab's x and y position

In a tab navigator, I need to find out the x and y coordinates of each the tabs. Is there a way to do that? I am using HBox as Tab in the TabNavigator.

0
голосов
3ответов
920 просмотров

TileList item selection

In my TileList, I want to select the TileList items on rollover, as opposed to the click event. I already have the TileList setup to allowMultipleSelection = "true".

0
голосов
4ответов
1610 просмотров

Using a composite MXML component from ActionScript

I'm trying componentize one of the pieces of UI in an AIR application that I'm developing in Flex. In this example, I want to display file information on a single line (which has an icon, some text/link and the size). My code looks like this (component is called FileDisplay): <?xml version=...

1
голосов
1ответов
221 просмотров

TileList item location

In a flex tileList, is there a way to get the cell-address of a given item? i.e. for a given item, get the row/column location for that item in the list.

2
голосов
2ответов
782 просмотров

Using ASDoc with Bindable metatag and mxml

I am creating the documentation of my flex project using ASDoc and having some issues with the bindable metatag. ASDoc doesn't document public Bindable values unless the Bindable tag has an event name associated with it. For example: //This is documented correctly [Bindable("someEvent")]...