ActionScript 3.0 :: Flex Displaying One Component After Another?

Jan 28, 2009

This is probably a very easy question but i dont really have an answer for it... what i want to do is show one full-size element after another. Currently im using a VBox with 2 elements inside, but it just divides itself into half and adds sliders onto both elements. What i want is to show both elements in their full size and for the VBox to add a slider if necessary.

View 9 Replies


Similar Posts:


Flex :: Displaying One Component On The Top Of Other?

Jul 22, 2010

How can I display one component on the top of another one in flex without explicitly mentioning x-axis & y-axis?

View 2 Replies

Flex :: Displaying Branched XML On A Tree Component?

Apr 13, 2011

i have a namespaced Xml structure :

<rootlevel xmlns="http://www.wigo.org/simo"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.wigo.org/wigo ./schemas/lexicon.xsd">
<name>simulation</name>

[Code].....

now, i have a labelFunction that passes in the xml..as an object but when i ran the programme, the tree view has each node, name, num_vars and variable as branches but the content in each of them was null and blank.

how can i properly display the namespaced XML on a tree view such that it shows every branches and elements in each branch?

private function treeLabel(item:Object):String{
var label:String = item.localName();
return label;
}

View 1 Replies

Java :: Component For Displaying (>25MB) Text File In FLEX

Feb 6, 2012

Flex front-end using AMF to Java back. Trying to read, in real-time, a file that is being written to. For example, a log. I'm using Java's RandomAccessFile class to read the "new" lines of the file and send them back to the UI as a byte array along with the byte offset to start reading from next time. Using an mx:List to display all lines of the text file. The problem I'm running into, is Flex, or Flash Player, running out of memory on mildly large files, >25MB. Is there any preferred method of displaying large amounts of text data in Flex that I'm missing? Or does Flex/Flash just handle this poorly and I'm basically screwed?

View 2 Replies

Flex :: 4 - Null-component - Checking If The Cancel Button Component In The Child Component?

Jun 23, 2011

I have a component "child" which has a cancel button. Now this component is placed in a state called "newChildComp" I also have another component called "parent". In the parent component, i have a button that dispatches an event. Here is the event code:

[Code].....

so, basically,i am checking to see if the cancel button component in the Child component, while i am still in the parent Compoent, was clicked, if it was clicked, call the cancelButtonHandler. The problem is by the time the addNewChild handles the event, that cancel button was still null. My question is how do i solve this without using the itemCreationPolicy on the cancel button?

View 1 Replies

Displaying Text As HTML In The UIscrollbar Component

Sep 9, 2009

I have a window on my Flash stage that has some scrollable copy in it.  The problem is, I can't seem to have any formatting for the text ... if I select a word or two to make bold, it all turns bold.  I gather I need to use the "Display Text as HTML" checkbox and then paste in some HTML formatted text but this doesn't seem to work.  I searched this forum and found that others were designating "htmlText" in Actionscript instead of just "text" ... that didn't work either.  I probably just did it wrong, or maybe it's becuase I'm using the UI component "UIscrollBar" for it's scrolling of the text.

Is there anything else I need to do to be able to format some text with strong tags and maybe some href links?
 
I have my properties inspector with the following check marks:

Display as HTML
Multiline
Dynamic Text
selectable

View 1 Replies

ActionScript 3.0 :: Displaying Image In Scrollpane Component

Mar 14, 2010

I need info regarding ScrollPane tool in Flash CS4. As I need to display a image in it. I have a "zoom" effect set up to where when the user pushes the + button,the x and y scale is increased. But when I does so Scroll bar does not get resized automatically. And thus due to increased size only half of the image remain visible.

View 3 Replies

ActionScript 2.0 :: Displaying Images In A List Component?

Jan 19, 2007

I am trying to create a thumbnail viewer using a list component. I used list.cellRenderer to display a test image and it displays that image about 50 times vertically down the list component. how to use this component with images?

View 1 Replies

IDE :: Loader Component - Slideshow Not Displaying When Uploaded

Jun 2, 2009

I have used loader component in my flash website. In that I have used slideshow of images. But it is not displaying slideshow when uploaded.

View 3 Replies

ActionScript 2.0 :: Text Not Displaying On TextInput Component In MovieClip?

Oct 27, 2010

how to set a text in a TextInput which is placed inside Movieclip. when ever i set a text its not display on it.I have a MoveClip which contain a TextInput Component. this TextInput have name "letter". when the Application runs it dynamical add the MovieClip like

[AS2] Code
this.timeline.attachMovie("Key_MC2","key"+1,1);
after adding the movieClip i tried to set a Text

[code].....

View 2 Replies

ActionScript 3.0 :: Displaying Images With List Component For Flash CS4?

Feb 9, 2010

I am an inexperienced user of Flash CS4 Pro (v10.0.2). I am attempting to use the List component with ActionScript 3.0 to make a different image display when a user clicks each item in a list. I did find a tutorial that showed me how to make different text display using a dynamic text box and the following ActionScript:
 
[code]...

...where My List is the instance of the List component and ListText is the dynamix text box. In this case, the user clicks an item in the list, defined by the label value in the dataProvider parameter of the List component, and text displays as defined in the data value in the dataProvider parameter.
 
However, as I mentioned to start, what I really want to do is make images display instead of text. Can anyone provide me the steps to do this?

View 5 Replies

Actionscript 2.0 :: EmbedFonts, List Component Not Displaying Font

May 4, 2009

the embed fonts stuff in flash, it sometimes works and then again it does not. my problem I need to embed a greek font to be used with the List Component. what I did so far:

1. library-> new Font ( Named it myFont, exported it as:MyFont )

2. put a list comp on stage called it myList

3. got a xml file called index.xml encoded in UTF-8 (so it displays greek chars) that gets loaded (makes no diff if you use component inspector to insert the labels)

4. set system.codepage to false;

Code: Select allmyList.setStyle("embedFonts", true);
myList.setStyle("fontSize", 13);
myList.setStyle("fontFamily" , "MyFont");

what it does not work. I am at a loss as to how to get this to work. I am attaching the file and the font used. (verdana arial should work too, but even they don't embed)

Mabe it has something to do with the xml encoding, but if you try to just copy the greek characters into the component inspectors lable field they are still not displayed. So I guess xml encoding is not the problem.

View 3 Replies

ActionScript 3.0 :: Displaying Buffer Message/ Mc With FLVPlayback Component

Apr 6, 2009

Flash version CS3 AS version AS3 Skill level - AS2 Flash 8 - better than Average. Skill level - AS3 - a little better than beginner.

Problem: Creating an FLV movie using CS3 / AS3 FLVPlayback component. Having problems with buffering issues - large FLV file 23 MB

I'd like to add either text or an animated movie clip that displays a "buffering" message before the movie is loaded enough to play AND if the play head catches the buffer, I want it to show again until the movie has rebuffered and then disappear when it starts playing again.

how this can be done with a custom player using netstream, but having a heck of a time finding anything that shows how to do it with the FLVPlayback component.

What I've done:

This is my video as it stands at the moment. [URL]

I have added a progress bar per the instructions in this tutorial [URL] (I used the section titled: "Adding a progress bar component" - the code is identical to what is displayed there.)

However, even though the progress bar is displayed, it is not displayed long enough for enough of the FLV to be buffered to play smoothly.

Hence my interest in adding a 'buffering' message. Either that, or display the progress bar long enough to buffer enough of the movie so that it doesn't stutter or stall during initial playback.

View 1 Replies

ActionScript 2.0 :: Text Not Displaying On TextInput Component In MovieClip

Oct 28, 2010

Dear Friends. Please tell me how to set a text in a TextInput which is placed inside Movieclip. when ever i set a text its not display on it. I have a MoveClip which contain a TextInput Component. this TextInput have name "letter". when the Application runs it dynamical add the MovieClip like [AS2] Code this.timeline.attachMovie("Key_MC2","key"+1,1); after adding the movieClip i tried to set a Text [AS2] Code this.timeline["key"+1].letter.text = "Some Text"; So nothing is displayed on TextInput.

View 1 Replies

Professional :: Live Preview Not Displaying If Added To Existing Component?

Feb 22, 2010

I've created a swf for a component live preview. The live preview appears to work ok when creating a new component, and setting the live preview in the component definition panel.

When I update an existing component definition (in a separate component library FLA) the live preview does not work. The strange thing is if I copy the entire (component FLA) library and paste it into a new FLA it works fine (although in doing so I receive a whole bunch of errors in the output window saying - Plugin tool script error in method ik_isIKContainer).

View 1 Replies

ActionScript 3.0 :: TextField And TextArea Component Are Very Limited In Displaying And Formatting HTML Pages

Mar 25, 2009

i'm working on a game project and i got some trouble with displaying stuff in the game Launcher. everything is in AS3. I'm actually looking to achieve almost the same results as the World of Warcraft launcher with a news section. the way i think to work it is that i create either a textArea component or a textfield and display html page in it. This html page could contain text, image and flash SWF.

but here's the problem, textField and textArea component are very limited in displaying and formating HTML pages. So i don't know if i should continue to search and try developping this way or find another way for displaying dynamic stuff that can be easily updated.

View 2 Replies

Flex :: Make A Custom Component Or Extend The List Component For A 2D Top Down View MAP ?

Nov 11, 2010

I'm building a top view 2D map, that it's objects are stored on the server.The kind of objects are 10 and might be a photo, label, button, lists, mix of them or labels with tooltips.The component must request the "areas" that are missing on screen.An area is 1000x1000 px and is cached in flex.To move in the map, will be like in google maps (drag-and-drop).I should be able to have another list and move objects from one to another using drag-an-drop on objects. Ex.: I grab an objects from a list and I move it on this map, I release the mouse button and the item is placed there.Now the problem is: I build a custom component for this trying to emulate the item renderer for performance and recyclage, implement drag-and-drop on objects and request the areas that are missing?

or

I extend the List component from spark and I add some features as multiple kind of itemrenderers and use recycle on them. Of course it must be able to request the missing areas on the screen and cache it's data.Maybe create a custom layout is needed too.What I need is something that must be really fluid, so the lighter this component is, the better.

UPDATE: *There will be not any object over another.

*I will not use hitTest on bitmaps because all bitmaps are wrapped in another component,as they,for now are itemrenderers.

Anyway I already begin to do this using a class that extends the SkinnableDataContainer and a custom layout. As the layout is not like a grid, is sparse, random items at diferent points(x, y).How to get the localX and localY, relative to item renderer and not to the Spark List, from a DragEvent in Flex 4?

View 1 Replies

Actionscript 3 :: Flex - Access Component Inside Another Component In MXML?

Sep 3, 2009

I have two components. One is called "InsideComp" and one is called "OutsideComp". OutsideComp has InsideComp as one piece of its component, and in my main MXML file, I have embedded an instance of OutsideComp. How do I access a public variable of InsideComp within my main MXML file?In Actionscript, I could just do something like:OutsideComp.InsideComp.valToChange = 5; But I dont know how to do it in MXML. I know this is probably an easy question.

View 4 Replies

Flex :: Access The One Component Properties Form Other Component With Out Binding?

Sep 21, 2011

I would like to bind two components with out binding and which resides in different MXML.for eg: A.mxml has textinput and B.mxml has a combobox when choose one item in B.mxml selected item should be display in A.mxml textinput.

View 2 Replies

Android :: List Component Good For Chat Displaying Chat Data?

Mar 29, 2012

i want to create a chat app using flex 4.5 mobile project for android device. For the chat screen, i wanted it to look glossy and stylish. Hence i thought i would use the list component and disable the selection in it. I m able to add the chat messages into the list. But i doubt if large chat data might hinder the performance. Im using a collection and i ve binded it with the list. Whenever i receive a chat i update the collection and it gets displayed in the list. Can someone tell me if his could pose a performance problem as list component is not intended for this purpose.

View 1 Replies

Flex :: Access Component Properties From Extending Component

Jul 29, 2011

I have a component with a public variable declared

[Bindable]
public var mnuSource:String;

When I extend this component, I can reference mnuSource (it compiles) but Runtime complains about the property not being accessible (error 1056).

How do you modify / declare component properties so they are actually available to other components?

View 2 Replies

Flex :: Displaying Images/icons Besides Y-axis In Flex Bar Charts?

Jul 28, 2011

I am trying to place an image besides the label in y-axis. So I have created a custom label renderer(A HBox containing and ). The source for the image has to be set based on a property present in the data provider. The problem is, I am not able to access the BarSeriesItem in the fnSetSource() method.

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"
width="1280" height="750">

[code].......

View 2 Replies

Flex :: Remove A Component Using A Button In The Component?

Sep 29, 2010

I'd like to use a button within a component to remove it. So, you click it and the component is gone. But, I haven't figured out how you reference the component from within the component. What should I put in click=""?

My component: popCanvas

<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Panel width="200" height="200" title="hello"
click="remove=">

[Code].....

View 1 Replies

Flex - Define A MXML Component And Update MXML Component In Flex Application

Aug 12, 2009

A Flex components values are initlized by init methord. In an application flow, How to refresh a mxml component data value ; as init is callled at the start up it self only.

eg. of mxml componet may be as simple as button label or text as complex as repeater whose data provider is a web service ( means a fresh quesy should be made to pull the data and refresh the dataprovider of repeater )

View 3 Replies

Flex :: Displaying List Of Flex Progressbar Using Itemrenderer?

Sep 25, 2010

I want to create a list of progress bars and update the list accordingly.I have group data in an Array as

<mx:Array id="arr">
<mx:Object label="Group One" min="0" max="200" currentValue="60" />
<mx:Object label="Group Two" min="0" max="300" currentValue="50" />[code]....

The values in the array object indicate name of group,minimum,maximum and current value for the group (to be used in progressbar).I used the list with "mx.controls.ProgressBar" as itemRenderer as

<mx:List width="100%" dataProvider="{arr}"
itemRenderer="mx.controls.ProgressBar"/>

Now what I need is whenever currentValue field of Array "arr" changes i want to update the progressbar "progress" value to currentValue (where min and maximum value of progressbar are stored in Array "arr").

View 3 Replies

Flex :: Extending Mxml Component With From Another Mxml Component With Visual Child Supported?

May 18, 2011

I've been trying to create a custom mxml component that extends another custom mxml component (i.e.MyMXMLComponent -> BaseMXMLComponent -> Group). I've been reading that trying to add visual children to MyMXMLComponent caused error with Flex 3 but that's no longer the case with Flex 4.

What I want to know is whether this is a supported/fixed/documented feature of Flex 4? or just some undefined behavior in Flex 4 that may get changed with future updates?

if this is supported and documented feature, does anyone have link pointing to adobe document stating it as such?

View 1 Replies

Flex :: DataGrid Not Displaying Data

Mar 31, 2010

I have a custom dataGrid that acts more like a 2D list (if that makes sense at all). I am dynamically creating the columns and recreating the dataProvider to suit my needs. While debugging I can see that I am creating the columns and setting them to the dataGrid and creating and setting the dataProvider, but for some reason I am able to see the dataGrid and the columns but not the data.

[Bindable]
private var mockData:ArrayCollection = new ArrayCollection([
{value: "425341*"},
{value: "425341*"},

[Code]....

View 2 Replies

Actionscript :: Flex Image Isn't Displaying

Apr 20, 2010

I'm trying to extend the Image class but hit a problem that I can't get past. I have a private image (img) that loads an image and a function that takes that image and copies it onto the parent. The debug function "copyit2" displays the image fine (so I know it's loaded OK). But the function "copyit" doesn't work - it just displays a white rectangle. I can't see how to make copyit work so that the original image is copied to the BitmapData and then subsequenty copied onto the parent?

(The idea is to do some processing on the Bitmap data before it is displayed, although this isn't shown here to keep the example simple.) I suspect it is something to do with the security of loading images, but I'm loading it from the same server as the application is run from - so this shouldn't be a problem?

[Code]...

View 1 Replies

Flex :: Datagrid Column Not Displaying Value

Sep 7, 2010

We have a Datagrid:[code]where practiceJoinRequestThicks is an ArrayCollection of PracticeJoinRequestThick object.The PracticeJoinRequestThick has an Practice Object.Practice has an arraycollection "PracticeContactAddresses" which is an arraycollection of PracticeContactAddress object and Practice ContactAddress object has Address object which has the field city:String.Now when I try to display the City, it does not work.

View 2 Replies

Flex :: Addchild Not Displaying Content?

Dec 24, 2010

In the following code i dont have any error but why is that the addchild(video); i.e, the the video captured by webcam is not displayed

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>

[Code]......

View 1 Replies







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