CS3 Missing Components Or How To Use Flex 2 Components In CS3
Does anyone have a good resource for how to use Flex2 components in CS3?I found an install that said it would install Flex2 components in CS3, but all it added waas the UIMovieClip for packaging Flash MC in swc's for Flex.Right now I am specifically trying to solve the missing dateField component in CS3.But I would like to find out if anyone has found a good resource for alternatives to all missing components in CS3.I'm hoping the answer is not to build them from scratch.Thanks,Hunter
Adobe > Flash General Discussion
Posted on: 07/20/2007 10:18:21 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Flash Components Vs. Flex Components
I know almost nothing about Flex. Just wanted to establish that at the outset.
A client sent me an API component - an swc file - to use in a project I'm doing. I installed it in my Flash folders, but it didn't show up in the Components panel when I launched Flash. When I queried the client about it, he said that it was actually a Flex component.
My question is, what's the difference between a Component written for Flex and one written for Flash ? Can a Flex component be adapted for use in Flash ? In that what I received is a .swc, I'm assuming it has to have been written in ActionScript.
Any help would be hugely appreciated. Many thanks.
Flash Components Vs. Flex Components
I know almost nothing about Flex. Just wanted to establish that at the outset.
A client sent me an API component - an swc file - to use in a project I'm doing. I installed it in my Flash folders, but it didn't show up in the Components panel when I launched Flash. When I queried the client about it, he said that it was actually a Flex component.
My question is, what's the difference between a Component written for Flex and one written for Flash ? Can a Flex component be adapted for use in Flash ? In that what I received is a .swc, I'm assuming it has to have been written in ActionScript.
Any help would be hugely appreciated. Many thanks.
Missing Components In CS3
Hi!
I finally upgraded to CS3. Yippee! But I noticed that a number of components
are missing despite installing them in the Extension Manager. Some of the
components are available while others are not. Is this a bug in CS3?
Are there ways to work around it? As I use some of these components
frequently.
Danke!
K.
CS3 Missing UI Components
Does anybody know what happened to the MenuBar, Tree, and Accordion components in Flash CS3? We are using these components heavily and need to migrate to CS3 soon.
Other Components Are Missing?
I was reading a marxscroller tutorial which teachs me using marxscroller. But I can not find that button"marxscroller"
Look at my picture: http://www.geocities.com/whongho/com.png
Also, some components are missing!!???
why??
Using Flex Components In An AS3-only App?
I'd like to use some of the mx.controls.* UI components in a more complex UI (as part of a PureMVC AS3 app) that's already partially built. I've already noticed that just importing and trying to instantiate component (for instance, mx.controls.HSlider) just throws an error, presumably because none of the UI setup is handled. I've also read that it's difficult or impossible to instantiate mx.controls.* UI elements from within AS3, but other sources mention wrapping AS3 in a minimal MXML wrapper to get access to the mx.* components -- what's the story here? (I also own Flash CS3 so I could use the flash.* components, but I understand they're similarly restricted and would also make the app dependent on having CS3 to compile, which I'd like to avoid).
Missing Components In Flash Cs3
hi,
I tried searching the posts and net for an answer for the missing components in cs3......but have not found any answer ?.
Does anyone know what Adobe is saying about this issue. For example what is the substitute for the window component in actionscript 3. what about the missing data components.
what is the logic behind dropping the old components.
regards,
sachin.
Flex Components In AS3 Project
I am trying to use the Flex components in an AS3 only project using FLex Builder
package {
import mx.core.*;
import mx.events.FlexEvent;
import mx.controls.Button;
public class UsingFlexComponents extends Application
{
public function UsingFlexComponents()
{
super();
this.layout = "vertical";
this.addEventListener(FlexEvent.APPLICATION_COMPLE TE, doInit);
}
private function doInit(e:FlexEvent):void {
var t:Button=new Button();
t.label="wassup";
this.addChild(t);
}
}
}
it compiles and runs fine but I do not see a button. ??
thanks
cheers
firdosh
Flex 3 ViewStack Using Components
Flex newbie here, stuck on what should be a simple task.
My application consists of a viewStack of 3 vBoxes. Each vBox consists of a component.
Within the first vBox, I have a button that will take the user to the next viewStack container, whose id is "search". The button calls handler goToSearch():
<mx:Script>
<![CDATA[
public function goToSearch():void
{
myViewStack.selectedIndex = 1
}
]]>
</mx: Script>
This causes FlexBuilder to give this error:
1120: Access of undefined property of myViewStack.
Could anyone take a moment to steer this newbie in the right direction? Many thanks.
Using Components (SWF) From Flex In Flash CS3
The Flex documentation clearly says that you can import and embed SWF files from Flash in Flex, but is it possible to do the opposite ... generate an SWF in Flex and import and use it in Flash CS3?
I am particularly interested in this as a solution to the conspicuous absence of any web service support in Flash CS3 using ActionScript 3.0. We have licenses for both Flex and Flash and would be willing to develop the web services in Flex, but our main application is a Flash application, not a Flex application.
Both Flex and Flash CS3 support ActionScript 3.0, both run in the same version of the Flash player and both consume and generate SWF files ... so it seems reasonable that this should be possible, but I have not seen any of the MANY people who are complaining about the lack of web services support actually try this or even suggest it. I am relatively new to the Flash and Flex world so I'm hoping someone else can comment on whether this should work or not.
Thanks
Bill
Using Flex Components Instead Of AS3 Classes
Hi: after my first great Flex experience using pure AS3 code, I'm going to try the "visual style", using mxml, but I have found a show stopper. Although I am sure it a silly question:
- I have a loop to display picture thumbs, with name and comments.
- The picture, the text fields and the graphics ornaments are in a component.
I think about a Component as it is a Class, isn't it true?
So I have instantiated the component as any other class, but I can't communicate with its functions (setPictureName) or the properties. It fires an error in the main container.
On the other side: if I comment out the references to the functions, all the thumbs are perfectly displayed, with the ornaments I have drawn in the component. So the component IS there!!
No problem using a class written in pure AS3, but I think Flex components are better for graphic layouts, so I want to try it if someone can help me.
Regards: Miguel
Flex Creating Components
Does anyone know of a tutorial out there which will tell me how to going about creating a flash CS3 component from Flex builder?
[Flex] Components To State
Hello Folks,
I am using FB3 running on OSX 10. I have encountered a annoying error when trying to drag a component on to any state in design view. Instead of displaying a green + sign when dragging the component onto the state, all I get is a white circle with a line through, and the component isn't added. I created a new flex project and was able to drag the components on a state as intended!?!
I am wondering if this has happened to anyone else on the forums, I googled the issue quite extensively and was unable to come up with any conclusions on what may be causing this issue.
Any insight would be appreciated,
Thanks,
odedvard
Using Flex Components In Flash 9 Preview
I'm starting a project in Flash Player 9 preview so that I can take advantage of all the great and super thing in AS3.0 - but unfortunately there have been no components released for 3.0 that is allowed in the flash player - and in fact the components panel is disabled when writing as FLA in AS3. I need some filetree, listbox, etc components, and I really would rather not reproduce them - my question is - is there any way to take 3.0 components that have been written in flex and modify the SWC files to allow me to use them? Maybe, if they were usable, I could use import from external library to bring them into my flash 9 as 3.0 file. Any ideas?
Help Components Between Flex And Flash? Uggghh
Hi All,
I used to post on these forums when I last used flash (MX2004), and it seems that things have changed a bit in the world of flash. I'm very happy to discover that, mainly because I used to hate using MX2k4. Now I can use AS3 to program everything and generate swfs.
Anyway, I'm trying to code a dynamic ad slot picker. As a starting point, I want to get a play/pause button, and a progress slider on the stage. The slider is meant to move with the mp3, and then if the user drags it, the position of the song will change appropriately.
So heres where my problem comes in. I'm using flex 3, and I want this project to be comletely AS3. I'd prefer to be coding in linux, but I couldn't quite figure out how to get the mxmlc compiler working. Regardless, I want everything to be born of AS3. I tried using mx.controls.sliderClasses.Slider, as well as fl.controls.Slider. In flex, I added the mx and fl libraries to the project's build path, and I get no errors.
When I compile and view the swf, I don't see the sliders. I tried using something like fl.something.textArea and that showed up, but the slider won't. Very confusing for me, at the moment. I'm kinda apalled that there isn't a shared library of some sort between flex, flash, and actionscript.
So, kirupans, any suggestions? Should I just code it in Flash cs3, or do something while in Flex? I'd rather not code buttons and sliders from scratch (why reinvent the wheel).
Any help is appreciated.
Thanks a ton.
-Chris
[edit] one more thing -- I'm also importing fl.controls.Button, and when i set myButton.label = "i has a label"; the label shows up in the swf..... weirdness..
Flex - Loading Components Through A Function
Hello,
I am fairly new in Flex, and recently stumbled this issue. Here's how my application is setup:
Main.mxml
/components/sample1.mxml
/components/sample2.mxml
I can include them just fine by dragging or manually writing the codes in "Application"... But I am trying to include the components based on an event.
Here's the code I have for far in my application:
main.mxml
Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
private var Step:int = 0;
private function StepHandler():void
{
if(Step == 0)
{
//Load Sample 1
}
else
{
//Load Sample 2
}
}
]]>
</mx:Script>
//Code to launch StepHandler();
</mx:Application>
Could you tell me how I can load the components in the function, and launch StepHandler() function?
Thank You.
Odd Loading Error, Missing Components On Load
I've a movie that has multiple frames as steps or processes.
When the movie loads, most of the components of step 2 fail to load, and you can't go back a step, but if you move on to step 3, you can then go back to step 2 and everything is there.
It's located at http://www.mechphisto.net/flash/ named cardtool.swf.
(Where it belongs is in a Web page elsewhere with a set size, so just opening it up like this it scales to fit your browser. Annoying side effect, please ignore.)
The .fla is there too if you're interested, but I warn you it's an embarassing MESS!!
I think is has something to do with the fact I have another movie being used as the source for embedded fonts linked to it. But, I have it set to load on frame 1, but you can sit forever at frame 1 and it doesn't matter, it still fouls up the 1st time you visit step/frame 2.
Now, I have several other movies just like this with some differences that also use the font source movie, but they don't do this. Their step/frame 2 loads fine from the start.
Any ideas? I'm really stumped!
Thanks!
Liam
Odd Loading Error, Missing Components On Load
I've a movie that has multiple frames as steps or processes.
When the movie loads, most of the components of step 2 fail to load, and you can't go back a step, but if you move on to step 3, you can then go back to step 2 and everything is there.
It's located at http://www.mechphisto.net/flash/ named cardtool.swf.
(Where it belongs is in a Web page elsewhere with a set size, so just opening it up like this it scales to fit your browser. Annoying side effect, please ignore.)
The .fla is there too if you're interested, but I warn you it's an embarassing MESS!!
I think is has something to do with the fact I have another movie being used as the source for embedded fonts linked to it. But, I have it set to load on frame 1, but you can sit forever at frame 1 and it doesn't matter, it still fouls up the 1st time you visit step/frame 2.
Now, I have several other movies just like this with some differences that also use the font source movie, but they don't do this. Their step/frame 2 loads fine from the start.
Any ideas? I'm really stumped!
Thanks!
Liam
Odd Loading Error, Missing Components On Load
I've a movie that has multiple frames as steps or processes.
When the movie loads, most of the components of step 2 fail to load, and you can't go back a step, but if you move on to step 3, you can then go back to step 2 and everything is there.
It's located at http://www.mechphisto.net/flash/ named cardtool.swf.
(Where it belongs is in a Web page elsewhere with a set size, so just opening it up like this it scales to fit your browser. Annoying side effect, please ignore.)
The .fla is there too if you're interested, but I warn you it's an embarassing MESS!!
I think is has something to do with the fact I have another movie being used as the source for embedded fonts linked to it. But, I have it set to load on frame 1, but you can sit forever at frame 1 and it doesn't matter, it still fouls up the 1st time you visit step/frame 2.
Now, I have several other movies just like this with some differences that also use the font source movie, but they don't do this. Their step/frame 2 loads fine from the start.
Any ideas? I'm really stumped!
Thanks!
Liam
Flash Components For Flex Compiler That Are In Packages?
Hi,
I'm using Flash CS3 to create custom components for use with the Flex2 compiler (in fact it's an AS project, not a Flex project but the situation is the same).
My question is: Is it possible to use base classes that are in packages?
if I e.g. use components.FooClass as the base class in a component I always get
Error #1009: Cannot access a property or method of a null object reference.
... when launching the SWF. Anyone know a way around this and use packages? Because it sucks to have classes flying around in the top package or create a second source folder for them.
Accesing Mxml Components From AS Class (flex 3)
hey everybody,
I have a big deal here, and havent be able to solve it.
Im creating a flex chat, with php sockets and the AS3 xmlSocket class basically.
I have a main class Chat, there I stablish the connection, send and receive the messages. However, I have seen how it is possible to get access to a button or textArea from an AS script wrote in the main mxml file, I mean, something like this works clearly:
ActionScript Code:
<mx:Script><![CDATA[
private function setLabel():void {
if (myButton.label=="Click Me") {
myButton.label = "Clicked";
} else {
myButton.label = "Click Me";
}
}
]]></mx:Script>
<mx:Button id="myButton" label="Click Me" click="setLabel();"/>
However, when I try to access the same way, but now from my class it does not recognize Im referencing a component at mx.core.Application. I have tried to pass the reference from the application to the class (just as you we do in Flash) but it doesnt work. So my problem is How do I access mxml components in the main application from an ActionScript class , I get the messages from the socket and I need to write them on a textArea.
This is how I import the class
ActionScript Code:
<mx:Script>
<![CDATA[
import com.Chat;
public function initApp():void {
var myChat = new Chat();
myChat.Connect();
}
]]>
</mx:Script>
And my classs:...
ActionScript Code:
package com {
import flash.events.*;
import flash.net.XMLSocket;
public class Chat {
//private var hostName:String = "192.168.0.102";
private var hostName:String = "192.168.0.123";
//private var hostName:String = "192.168.0.106";
private var port:uint = 9999;
private var socket:XMLSocket;
private var usern:String="";
private var head:String,body:String, msg:String;
private var window;
public function Chat() {
//usern = "Xtian";
socket = new XMLSocket();
configureListeners(socket);
}
public function setUsername(user):void {
this.usern = user;
}
public function Connect():void {
socket.connect(hostName, port);
msgArea.text += "Connecting to server
";
........
The problem is right here!
ActionScript Code:
msgArea.text += "Connecting to server
";
msgArea is a TextArea on the main Application.
Thanks for any help, I hope everything is clear
::Goto::
Error Making Chart Components Selectable In Flex
Hi all,
I'm getting the following error when I make a bubblechart selectable
TypeError: Error #1034: Type Coercion failed: cannot convert mx.charts.events::ChartItemEvent@41747c1 to mx.events.IndexChangedEvent.
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:dev3.0.xframeworksprojectsframeworksrcmx coreUIComponent.as:9051]
at mx.charts.chartClasses::ChartBase/http://www.adobe.com/2006/flex/mx/internal::selectItem()[C:Workflexdmv_automationprojectsdatavisualisa tionsrcmxchartschartClassesChartBase.as:2503]
at mx.charts.chartClasses::ChartBase/processRollEvents()[C:Workflexdmv_automationprojectsdatavisualisa tionsrcmxchartschartClassesChartBase.as:2277]
at mx.charts.chartClasses::ChartBase/mouseDownHandler()[C:Workflexdmv_automationprojectsdatavisualisa tionsrcmxchartschartClassesChartBase.as:4248]
The only code I changed was
adding in the following to the <mx:bubbleChart tag
selectionMode="multiple"
and making by bubbleseries selectable
bs.selectable=true;
Anyone have any idea why I'm getting this error!?
Thanks,
Derm
Custom Classes, Encapsulation And Flex's Display Components
Hi all,
I'm quite new to OOP and would appreciate some help if anyone can spare me the time?
I've written some ActionScript classes in Flex Builder 2 and to the best of my early knowledge, am (hopefully on the right track by...?) trying to keep my classes like a black box and only allowing access to their properties through their own API of methods.
I have explicit getters for properties I would like to display in Flex display components whose dataProvider is an ArrayCollection of these classes for example.
The problem is that eg: a DataGrid obviously isn't going to recognise my explicit getters as being properties I want to display.
I don't know what to do here, I'd have though I shouldn't be making these properties public, and I don't really want to use implicit getters either.
I'd appreciate any advice you might have, thanks a lot.
Use FCS Components In Flash MX 2004. Components Already Installed. Help
Hi,
I have Flash communication server 1.5 insatlled and Flash MX 2004 too. When I create new fla file and want to use Flash components, I don't find them to use. I dont see any panel etc to use them. Some one tell me how to list the components to add them in my Flash fla file please
Thanks
Removing Components From The Components Panel
This seems like a stupid question, but I can't seem to get my old components out of my Components panel!
I put some custom made components, just for a try, into the folder
C:Program FilesMacromediaFlash MX 2004enFirst RunComponents,
found them in the Components Panel, but wanted to get rid of them immediately. Deleted the components from the folder, but they don't seem to disappear from the panel! I have no idea where they come from, since I should not have them even on my hard disk anymore!
Cheers!
Components Inside Components (Flash 8)
Hi,
I have an Accordion component which needs to contain a number of small forms, each of which is built as a MovieClip containing TextInput, Button, ComboBox, etc.
So, I build my little forms in Flash, make them into MovieClips, give them a linkage identifier and assign them the AS2 class "mx.core.View", as the documentation says.
Then I use ActionScript to attach these to my Accordion control, using my_accordion.createChild(). OK, fine. Works nicely.
The problem is that in the next few lines of code I also want to be able to populate the TextInput and ComboBox components which reside inside my accordion. I can't do it. Trying to do so fails silently. Tracing out the path to the Components shows that they are "there", but if i put some content into, say, one of the TextInputs up-front (i.e. in the Properties panel inside Flash) and then try to trace... my_acc.my_form.my_textInput.text... i get undefined.
So, it looks like the components inside the form inside the Accordion aren't yet "initialised" when I am trying to get/set their values. I've seen similar behaviour before, but it's not clear in the documentation how to get around it.
Anyone help? What is the correct way to use components inside components like this? I don't want to have to call a second function or put any code on the timeline or anything like that!
Many thanks,
Andy
Components Inside Components (Flash 8)
Hi,
I have an Accordion component which needs to contain a number of small forms, each of which is built as a MovieClip containing TextInput, Button, ComboBox, etc.
So, I build my little forms in Flash, make them into MovieClips, give them a linkage identifier and assign them the AS2 class "mx.core.View", as the documentation says.
Then I use ActionScript to attach these to my Accordion control, using my_accordion.createChild(). OK, fine. Works nicely.
The problem is that in the next few lines of code I also want to be able to populate the TextInput and ComboBox components which reside inside my accordion. I can't do it. Trying to do so fails silently. Tracing out the path to the Components shows that they are "there", but if i put some content into, say, one of the TextInputs up-front (i.e. in the Properties panel inside Flash) and then try to trace... my_acc.my_form.my_textInput.text... i get undefined.
So, it looks like the components inside the form inside the Accordion aren't yet "initialised" when I am trying to get/set their values. I've seen similar behaviour before, but it's not clear in the documentation how to get around it.
Anyone help? What is the correct way to use components inside components like this? I don't want to have to call a second function or put any code on the timeline or anything like that!
Many thanks,
Andy
Communication Components Do Not Appear In Components Panel
Hi! I've installed Flash MX and Flash Media Server. I would like to use the communication components in flash MX however, I can not see it in my communication components panel in flash MX. I've already added the communication components.fla to my ---Flash MX/First Run/Components directory under the
Macromedia Flash MX installation directory and updated the ASC files
in my /scriptlib/ directory.. But after adding this, only four components (audio conference, av presence, chat and connection light) appeared in my component panel. I need to use other components but its not available. What should I do? Any help will be appreciated.Textcommunication components
Add On To Using New Built Components Or For Building Components?
My version of Flash won't even let me use components created by other people... Is there a plug-in or an add-on that I have to get to use components that didn't come with Flash? Is there something else I need to get to build my own components? If so.. Where can I get it? Is there a homepage I may purshase it from? Where? How much?
Can Components Be Put Inside Components?
Does anyone know if components can exist and function properly within other components??
For example, I have a large form with radio buttons and checkboxes that is in a movie. This movie then shows up in a scrollpane and doesn't function at all.
Just curious if that is a limitation.
Thanks.
MX Components V MX2004 Components
Appreciate any help to this problem.
I'm working on a project using MX2004 and my business partner is working on the same project using MX only. I design and he codes. He has created a form in MX using a few components such as the Combo Box. However, when I recieve it, although it works fine I cant seem to swap the components to MX2004 - when I try I get a blank box/boxes!
Is this a known issue? He can't afford to upgrade to MX2004 at this stage or else we probably wouldn't have this problem!
Thanks, Steve
FMX Components Vs. FMX2K4 Components
Hi,
I would like to export movie clips as components and let other developers use those to create applications.
I have very little experience with components; I did use FMX components in the past.
I would like to let users change the components features, for instance, totally redo the animation of a button's components rollover effect.
1.Can this be done with FMX2k4 components (I think not).
2.Can this be done with FMX components?
3.Can I export FMX components with FMX2k4 IDE?
4.What effect will components have on file size and performance?
Thanks in advance,
DMZ
UI Components V/s Flash MX UI Components
I am having a problem with traceing a combobox using UI Components. I am tracing the value of the selected combobox using a combobox with the UI Components. I prefer the UI Components because they have the glow, rounded corners and are more attractive. the code works fine with the Flash MX UI Components. However, when I use the UI components it doesnt. The combobox populates however I can not trace. Does anyone have any suggestions? I use the following code to trace the value of the combobox:
myCombo.setChangeHandler("myFoo");
myFoo = function(myCombo){
trace(myCombo.getValue());
I also used this code:
myCombo.setChangeHandler("myHandler");
function myHandler(obj)
{
trace (obj.getValue());
trace (obj.getSelectedItem().label);
}
The code for the entire section is:
function getStateArray(){
myStates ="AL,AK,AZ,AR,CA,CO,CT,DE,FL,GA,HI,ID,IL,IN,IA,KS,KY,LA,MA,MD,ME,MI,MN,MO,MS,M T,NC,NE,NV,NH,NJ,NM,NY,NC,ND,OH,OK,OR,PA,RI,SC,SD,TN,TX,UT,VT,VA,WA,WV,WI,WY";
myStatesArray = new Array();
myStatesArray = myStates.split(",");
return myStatesArray;
}
myArray = getStateArray();
myArray.unshift("--");
myCombo.setDataProvider(myArray);
myCombo.setChangeHandler("myHandler");
function myHandler(obj)
{
trace (obj.getValue());
trace (obj.getSelectedItem().label);
}
Please help. Thanks in advance for any help.
Justice
Components Inside Components
I have built a custom component which I call 'VComboBox'. This component is composed of a single label and an instance of Macromedia's builtin ComboBox 'FComboBoxSymbol'. I named the instance of the FComboBoxSymbol to 'comboObject'.
Now when I drag a copy of my component onto the stage and in ActionScript I use the following code:
_root.myVComboInstance.comboObject.addItem("red", 0);
It works and adds the item into the combo box inside my custom component. However when I dynamically create an instance of my VComboBox it does not work at all, like below:
_root.attachMovie("VComboBox", myNewCombo, depth++);
_root.myNewCombo.comboObject.addItem("red", 0);
The combo appears but however no item is added. And when I click on the arrow for the combo to drop-down nothing happens. I am trying to find out what I am doing wrong? Is there a way to make this work? Also why is my custom component acting completely different based on whether it was created at design-time, or whether it was created dynamically at run-time? Any assistance would be greatly appreciated.
Flash UI Components V/s Flash MX 2004 Components
I am using Flash MX 2004 Professional. I am having a problem with traceing a combobox using UI Components. I am tracing the value of the selected combobox using a combobox with the UI Components. I prefer the UI Components because they have the glow, rounded corners and are more attractive. the code works fine with the Flash MX UI Components. However, when I use the UI components it doesnt. The combobox populates however I can not trace. Does anyone have any suggestions? I use the following code to trace the value of the combobox:
myCombo.setChangeHandler("myFoo");
myFoo = function(myCombo){
trace(myCombo.getValue());I also used this code:
myCombo.setChangeHandler("myHandler");
function myHandler(obj)
{
trace (obj.getValue());
trace (obj.getSelectedItem().label);
}
The code for the entire section is:
function getStateArray(){
myStates ="AL,AK,AZ,AR,CA,CO,CT,DE,FL,GA,HI,ID,IL,IN,IA,KS,KY,LA,MA,MD,ME,MI,MN,MO,MS,MT, NC,NE,NV,NH,NJ,NM,NY,NC,ND,OH,OK,OR,PA,RI,SC,SD,TN,TX,UT,VT,VA,WA,WV,WI,WY";
myStatesArray = new Array();
myStatesArray = myStates.split(",");
return myStatesArray;
}
myArray = getStateArray();
myArray.unshift("--");
myCombo.setDataProvider(myArray);
myCombo.setChangeHandler("myHandler");
function myHandler(obj)
{
trace (obj.getValue());
trace (obj.getSelectedItem().label);
}
Please help. Thanks in advance for any help.
Justice
COMPONENTS
I am trying to work on a ticker tape component, but there is absolutly no documentation or examples I can find, and I understand how to make it work, but I am trying to use advanced features and methods. If anyone has or knows of where I can look for an example, please let me know.
Thanks
Mx Components
Hey guy were could i find some good flashMX components. I went to flashcomponents.net but i need more. help me please
MX Components
I have Flash MX installed in my machine but whenever I am trying to install any MXP file it is giving me a warning "You require Flash 6 or above".
Please advice what to do
UI Components 1 & 2
Am I just an idiot or is there no real documentation of how to configure the resource menu, the progress bar, the tree and such. Is there any real documentation on how to get these components to work?
Please advise,
Moshin
Components Within Components
Whenever I put a component within a component weird things happen. I was using the splitview for the first time and loaded a dictionary search MC. The component buttons were not displaying properly and the scrollbars on my text field were not showing up at all. Even a normal button wouldn't display. The other weird thing is I was using dynamic text boxes with HTML and the SHOW BORDER feature. These items would display outside of the actual component. Has anyone else experienced any of this? Is there any way of getting around this?
Components
I am using one of the flash UI components (the combobox) in Flash MX, but I am having trouble with the action script side of it. I am trying to use an 'If' statement that goes something like this (this is in human terms) --
"if this is selected from combobox1 then goto frame two."
Can anyone help me with the appropriate commands??
Thanks
Components
Anyone who knows how to implement the components from Flash UI Components Set 2?
Components In Components....
ok guys i got two swf files one is a news box whit dynamic text whit a scroll bar and i have a calendar whit scenes for each months.. can i put a split view components to see only one of them and drag if i whant to see the other swf files..?
Components
can anyone help me , and list down the properties of
combo box components.
thanks!
Components
Hi,
is it possible to expand the FlashMX Components window with my own controls?
So I can access my special button like the FlashMX PushButton ?
Thanks,
David
Components
Hi,
is it possible to expand the FlashMX Components window with my own controls?
So I can access my special button like the FlashMX PushButton
Thanks,
David
Components Help, Plz
i would like to have several items in a combobox each having a different value...now, the selected item/label should fill a variable and then show that value in a dynamic txt field after the user has clicked on an item
how do i do that. i mean what code should i write... thanx
UI Components
Alright, I was OK at 5 but I just got MX. I think the components are a wonderful addition except they make ZERO sense to me. I would like to find out a CLEAR tutorial on how to use them.
I am using Scrollpane and I want t ocustomize the way it looks, meaning the arrows and the actual bar. Could anyone help me out?
|