IDE :: How To Use Components
Jan 21, 2010
how to use independent components(for example: just radio button or just checkbox)?I only now how to use the Alert components, while the others I only know when I use them on "Learning Interaction" movie clips
View 2 Replies
Similar Posts:
Aug 22, 2010
Do you know any flex component with the functionality such as horizontally collapsible window or panel I found arc90, but it folds vertically.
View 1 Replies
Sep 8, 2009
I am created a dynamically adding a VBox, that contains two images. Into a Custom Component that is derived from UIComponent. The problem is the Vbox that contains the two image is only a really tiny size. I would like the VBox stretch to the size of the two images. This is how I am creating the Vbox....
[Code]...
View 1 Replies
Sep 15, 2010
Is it bad practice/design to nest components inside components using Flex 4? Should I simply be creating components and inserting them into my main application as below, or doesn't it matter?
<com:MyComp1>
<com:MyComp2>
<com:MyComp3>
[code]....
View 1 Replies
May 8, 2011
how i can use actionscript component code in mmxl components,as in actionscript components we use classes ,but in mmxl component we can not use classes function, so how i can use actionscript component code in mmxl component
[Code]...
but i cant use this code in mmxl components how i can use public class DialogTitle extends HBox implements IBindingClient in mmxl component code,what are the way to use it,sorry i am newbie if it is silly question
View 1 Replies
May 7, 2009
Project. To create a flash box that allows a visitor to enter 1) email 2) phone number 3) preferred method of contact. Then they can hit submit. That information is sent to a php which sends an email to the administrator letting them know to contact someone. Reason it is done in flash. I have a "tab" graphic appear and in the tab is the entry form. When they hit submit the information is sent and the tab lowers out of site then raises back up with a confirmation message that the message was sent.
Problem: The tabs work in annimation. I know that the code works to send information to php and that the php works to send the email. But, my issue is with the GUI. When the flash is rendered, the field boxes do not show up. See image below. Setup: To get the fields to move with the tab I have them as separate objects within the symbol of the tab that moves.
[Code]....
View 2 Replies
Feb 20, 2009
why are the components in my FLA disabled? nothing happens when i click on them.
if you cant open the attachments, change thier extensions from .zip to .rar
View 1 Replies
May 31, 2009
how to get this to work, but I've finally gotten Loadvars working dynamically. However, now I need to take the "avatar" variable and use it to populate a list component. I keep reading dozens of different ways to do it - turn your variable into an array in Flash, etc. What is the best method?
View 6 Replies
Oct 5, 2009
the problem is that when i want to put the secound checkbox i get 5 as the width of the first checkbox, and then i cann't know where to put the secound one.how can i create a row without checkbox running each other?
Code:
// here i create the first checkbox
this.createClassObject(mx.controls.CheckBox, "filter_0", 10,
[code]......
View 1 Replies
Sep 12, 2009
I have bought some flash components that used to work in Flash 8 and CS3, but suddenly they do not appear in my components list within Flash CS4 ! I have reinstelled them with components exchange and apparently they are successfully installed , but once I enter Flash CS4 there are not.
View 3 Replies
Nov 20, 2009
This might seem a silly question but I am sitting here for a few hours wondering how I could change the text color for my components.
For example I have a DropDown Component and I change its skin (all the states) and put in a dark skin (I dragged the component on the stage and edited it). The text on the component, however is black and cannot be read. How could I change the component's text to white.
View 7 Replies
Feb 2, 2010
why are those "values" input and component windows so badly designed, not resizable (well kind of albeit terribly badly) etc... This is an eyesore and a practical pain in the a**. Seriously Adobe... all these talks about "accessibility" etc... shouldn't it start in your own software ?!? You can fix this it's 2010.
View 1 Replies
May 5, 2010
if I drag a component out on the stage, and run, it will work. I can drag the sliders for example. But if I change the settings for the slider,and then run the movie, I will not be able to drag it.
View 9 Replies
Jun 1, 2010
I've got some dynamic text fields that have tabindex properties on stage.
There are some V2 components in the swf as well, so there is an instance of the FocusManager running.
I've got a pause button that I use to pause the playback of some other animations that are playing.
When I click the pause button I would like to have the focus go away from text entry fields (if they have it).
Is there a way to tell the FocusManager that nothing should have focus?
Selection.setFocus(null)
FocusManger.setFocus(null)
None of those work.
There is also an off-stage dummy text field that is used to capture focus for some other stuff in this file, but that doesn't work either.
The content that gets paused is variable and could have all kinds of designs and layouts, so having it respond to some kind of pause event is out. I need it not to be aware of the pause state. I just need the pause state to grab focus.
View 7 Replies
Jul 28, 2009
I have a dozen different custom components in my flex app. I want to use an external xml config file to load the components at run-tine. Can someone tell me whats the best way to architect this? I want to load these components and add dataProviders and event liseners to them at runtime.
View 1 Replies
Dec 10, 2009
I am mostly intersted in modyfing the components appearance in Flash (CS4) than pulling an swf file which I could include in swf-lib. Right now I am kind of forced to make it via movie clip export it, and build functionality in Haxe.Which as you imagine is not handy and timeconsuming (especially that fl.controls used to work for me very well, I barely had to modify any mechanics, sometimes was just adding functionality).
View 1 Replies
Feb 18, 2010
<mx:Repeater id="rep" dataProvider="{headingData.component}">
<mx:HBox id="panel" label="{rep.currentItem.title}"
width="100%" height="100%">
[Code]....
When i am not placing it under a repeater tag, the components are created from XML, but if i do then the components are not getting created.
<components type="array">
<component type="mx.controls::ComboBox" title="Title One" description="Lorem Ipsum
is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
" width="230" height="220">
<link linkname="Option one"/>
<link linkname="Option Two"/>
</component>
<component type="mx.controls::RadioButton" title="Title Two" width="230" description="Lorem Ipsum
is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like AldusPageMaker including versions of Lorem Ipsum.">
<link linkname="Option one"/>
<link linkname="Option Two"/>
</component>
[code]....
View 2 Replies
Apr 3, 2010
so I am trying to drag around some images in a canvas. I am adding eventlisteners to the components and calling startDrag() and stopDrag() to pick them up and stuff:
component.addEventListener(MouseEvent.MOUSE_DOWN, component.startDrag)
The problem is that it is selecting the image at its (0,0) location and not where I initially click on it. So there's a sudden "jump" when I click on the image. It is not smooth.
I noticed that startDrag() has two default parameters, one of them is lockCenter and it is default to false. Maybe do I set it equal to true somehow? (I don't know how to pass arguments to my second parameter in addeventlistener)
Another question: if I want to add more conditions to it, like make a new function that uses component.startDrag(), how do I pass the component to this function while adding event listener to it at the same time? for example: I want to do:
component.addEventListener(MouseEvent.MOUSE_DOWN, some_other_function);
where some_other_function uses component.startDrag();
View 2 Replies
Jan 16, 2011
I have a component
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="16" height="16" >
<mx:Script>
[code]....
View 1 Replies
Sep 20, 2011
I am trying to wrap some text with a component but can not figure out how to align them correctly. Here is what I am looking for:If you have not entered your credentials, enter your credentials by clicking Set Credentials.
The "If you have not entered your credentials, enter your credentials by clicking" is a string.The "Set Credentials" is a button so it can be clicked by the user.I tried putting the string in a textarea which wrapped the text but could not get the button to horizontally align with the text. I also tried adding them both with Tile, then I do not get proper wrapping.
View 2 Replies
Sep 29, 2011
I am using IFrame and adding it dynamically, and it hides a new Alert.show and a previously made TitleWindow.How do I arrange it to go back or to make that Alert or window on top of all ?
View 2 Replies
Apr 30, 2009
How to load flex components through xml?
View 1 Replies
Apr 30, 2009
How to load flex components using XML. The scenario is simple as like this, i need three buttons to appear in my panel, but the option true or false whether to appear should be in xml.
View 4 Replies
Nov 22, 2011
I'm developing a website in flash which have the option to be displayed in fullscreen, but the website has a video player inside which has the same functinoality. When I change the web to fullscreen mode the video is displayed instead of the main web. I have figured out that the instruction is also the same, so how can I decide which component should be displayed in fullscreen ? The video or the main web depending on the situation
View 1 Replies
Feb 3, 2010
I'm struck in a particular issue.. (Already it ate my two days)..
I have a numericStepper Component, but in a particular case, I need It'll clear all events including the keyboardevent and up down arrow event. without enabled false,
Then, at the another one case it'll be retrieve their all events..
View 3 Replies
Feb 7, 2010
I am trying to understand how to make components, I have found this:[code]How would I use that in my flash? I don't understand.. I tried doing trace(intHeight); thinking I would get 100, but all I got was NaN.
View 9 Replies
Mar 30, 2005
How to extend Components, like if i hav to place images next to the content inside a listBox Component, how do i do that?
View 1 Replies
Jul 10, 2005
I have a form in my flashdocument with two textinputs and one button. User, pass, and submit. Yeah, as you might have understood by now, it's a login-form. Anyway, my question is - how can I submit this information to 'actions.php' through POST?
[Code]...
View 10 Replies
Apr 15, 2010
I'm used to item renderers in Flex but inexperienced with Flash AS3 components.I want to create a List that renderers items like this:
1) a slider
2) a couple of text fields that my designer can place and style as he likes
It's a survey form. I expect to grab the _listData.owner and dispatch the user inputs and bubble them up to the form.
1) drag a list onto the stage
2) create a symbol in the library with the base class of com.blah.skins.renderers.SurveyItemRenderer
3) Export this class as SurveyItemRenderer
4) set the list's cellRenderer style to SurveyItem renderer
5) give the list data to show
I tried using CellRenderer, but the class seems to reject being associated with a symbol (and I could not find any examples of CellRenderer being used that way), so SurveyItemRenderer implements ICellRenderer.When I run it, other library symbols and graphics shows up in the renderer--WITH THE EXCEPTION of the slider. Other Flash components that I put on the stage do not show up either, until you roll over (Button), or if they have text in the them (Label). Slider never shows up.
Components will show up on the stage, just not in the SurveyItemRenderer. WHY NOT? I feel like I'm missing something basic. Here is the class, minimal because I'm still testing:
Code:
public class SurveyItemRenderer extends MovieClip implements ICellRenderer
{
protected var _listData:ListData;
protected var _data:Object;
protected var _selected:Boolean;
[code]...
View 1 Replies
Sep 28, 2004
I have a four checkboxes in my contact form. Here's the code in the function layer. I'm pretty sure this code below is correct. I believe the problem is my CGI-file (attachment).
[Code]...
View 1 Replies