Actionscript 3 - Generating User Created UI Components?

Jan 14, 2011

I'm creating a library of UI elements, and I want the graphics to be custom. At first, I was going to draw everything with code, and take properties such as "background-base-color", "background-gradient-color", etc. I was concerned that the user would need to modify too many properties and might get confused. I eventually talked myself into using external graphics, such as button_top_left_over.png and etc. Now I'm back and forth. I want people to easily be able to change the skin, so my options are, have them create external graphic libraries, or have them update properties in a front end that would write to XML, such as background-base-color, background-base-highlight,etc.

View 1 Replies


Similar Posts:


Flash :: Flex Dynamically Created Components Added To Custom Components

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

ActionScript 3.0 :: Generating Random Number - Pushing Into The Variable And Displaying It To The User

Jan 24, 2012

I am having a really frustrating problem with creating 2 random numbers. When I run the program, everything works fine, until I hit my object and go to the screen "math". Once there, all it shows is one number in one of the 2 boxes. Below is the code used to generate the numbers. I used the "trace" command to see if it was actually generating the numbers, and it is. The problem seems to be with pushing that number into the variable and displaying it to the user.

[Code]....

View 5 Replies

Flex :: Assign Xml Values To Dynamically Created Components

Oct 5, 2010

xml values are stored in 'arr' array collection. depending on the length of the array stored, the below described components are created and assign those values to relevant components dynamically. For Example:

[Code]....

View 1 Replies

Flex :: Dynamically Bind Properties Of Components Created At Runtime?

May 27, 2007

I need to dynamically bind properties of components created at runtime. In this particular case please assume I need to use bindProperty. I don't quite understand why the following simplistic test is failing (see code). When I click the button, the label text does not change.

I realize that there are simpler ways to go about this particular example using traditional non-dynamic binding, but I need to understand it in terms of using bindProperty.

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ns1="Tools.*" minWidth="684" minHeight="484" xmlns:ns2="*" creationComplete="Init();">

[code]....

View 1 Replies

Professional :: Customize In Flash: Components> User Interface> Button?

May 31, 2010

Flash Componants> User Interface> ButtonHow to cusomize components?The button works, but where is the code that is making it work?

View 2 Replies

ActionScript 2.0 :: AttachMovie - User Allowed To Click Components On Window Behind

Apr 7, 2008

I have a slight issue with my application I'm working on. Whenever I attach new "windows" to the stage (using attachMovie), it seems that the window that is currently on top allows the user to click the buttons and components on the window behind it. I'm using Flash CS3 Professional, but exporting to AS2.0/Flash8.

View 3 Replies

ActionScript 2.0 :: Properties In A User Created Class?

Sep 16, 2005

If I create a class and set up one property which is a variable initiated at the start of the class but not within a function or a constructor and I reference the property from the .fla in a for loop as:Book is the class and myBook is the new object.

myBook:Book = new Book(); // (fla script).
for(var prop in myBook) {
trace(prop);
}

[code]...

The trace does not return anything. However when I include myProp (the class variable) in a function (other than Book function) and call that function from the .fla then the trace works and I can see myProp. Do I need to include Class variables in called functions (methods of the Class) in order for them to be properties of the Class?

View 2 Replies

Professional :: Where Are User-created Flash CS4 Templates Stored

Jul 31, 2010

This seems like it should be MUCH simpler than it is turning out to be: I have made a custom template in Flash CS4. I want to share it with a colleague. The obvious solution, I would think, would be to COPY the template file from my hard drive, and provide it to my colleague.

However, I have looked high and low, and CANNOT FIND WHERE USER TEMPLATES ARE STORED on my hard drive. I have found the Adobe-provided templates that are included with the product (the "Advertising" templates) at Program Files>Adobe>Adobe Flash CS4>en>Configuration>Templates>Advertising; but MY CUSTOM TEMPLATES are not in the Templates directory.

I have also looked in My Documents, and run several searches on my hard drive, but still cannot find the location of my custom templates. Surely they are SOMEPLACE on my hard drive, as they are available from the Splash page every time I boot up Flash CS4.

View 6 Replies

ActionScript 2.0 :: Created An Activity In Which The User Is Invited To Click On Some Buttons?

Mar 19, 2009

I have created an activity in which the user is invited to click on some buttons. There are approx 60 buttons to choose from with 7 of them being the correct ones. If the user clicks on 1 of the incorrect 53 buttons i want a hint pop up to appear to steer them in the right direction. Is there a efficient way of doing this without having to create a function and apply it to all the incorrect buttons? Perhaps an event listener? (AS2).

View 1 Replies

ActionScript 3.0 :: Compare User Inputted String To A Variable Already Created?

May 22, 2010

I am trying to compare a user inputted string to a variable already created.  When I do this with int it works fine but when I try changing it to strings I can't get it to work.

[Code].....

View 3 Replies

Actionscript 3 :: Use The Facebook Graph API To Change The Wallpaper On A User Created Page?

Jul 22, 2011

I can't set a picture as a user-created page wallpaper and i also cant "like" this same page using a Facebook Desktop Graph API request.how to use the Facebook Graph API for AS3 to change the wallpaper on a user created page and also set the "like" status for that page of a user? Is this even possible?

View 1 Replies

ActionScript 3.0 :: Trace() A Variable Nested Inside Another Clip That Is Created At Run Time By The User?

Dec 21, 2009

on my stage i have 24 instance MC Page created at runtime (when cliked the button execute 24 instance MC Page from the library). Each of those MC Page create an xml  with infos (not important), this variable_XML created is nested inside each MC Page.. From my stage i want to call each XML from each MC Page  for make 1 unic  big xml, then send it to the server.
 
So from the main stage i created a button that call each xml of each MC Page (there is a definit number of Page only 24, no more, no less). So when the 24 instances of the MC Page are created I push there instance name inside an Array "Page_Array". Now in my function exportxml i use get ChildByName(Page_array[number]) for find them then i can apply my method to the according MCPage.. Until here no problem, trace(dispObject.name) work. but when i try to get my variable inside the MC Page : trace(dispObject.my_variableXML), it doesnt work..
 
here is my function (only 1 page for this example ):
 
function exportxml(evt:MouseEvent):void {    dispObject=getChildByName(Page_Array[0]);    trace(dispObject.name); //trace  Page1      trace(dispObject.my_variableXML);// here it dont trace the variableXML
}
normally if i trace(Page1.my_variableXML); , it should trace "my_varableXML"  no ??

View 2 Replies

Flex :: Components - Components - Any Component With The Functionality Such As Horizontally Collapsible Window Or Panel

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

Is It Bad Design To Nest Components Inside Components Using Flex 4

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

Actionscript :: Use Components Code In Mmxl Components

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

ActionScript 3.0 :: System Resource Use - Flash Created Vs Photoshop Created?

Mar 14, 2009

I have only one question but phrased it 3 ways:

1) Is it better to pre=render things say in photoshop or have flash render them?

2) if I have a field of stars that drift along; is it better to create that Star Field in photoshop as a single picture (say a .png) or to create a star in my library and add it to a movie clip and then have that drift along?

Lets say I have a blur effect on my stars and have an equivalent on the photoshop.

3) I have heard (and experienced) adding effects like blur takes a fair amount of CPU and memory so was wondering if I created the effect in photoshop and then imported the 'blurred' object into my flash if I could cut down on system resources?

View 2 Replies

ActionScript 3.0 :: Keyword "this" - Refer To The Current Instance Variable Being Created When Its The Only One Being Created?

Dec 11, 2009

When an instance variable is constructed by a constructor method, why do you need to refer to the current instance variable being created when its the only one being created? I understand assigning an expression to it but why name it "this." when it is the only object that the constructor is building? Does it have some hing to do with being able to naming that object in the Local Variable? In other words am I creating a generic object that will be named in another class?

View 7 Replies

IDE :: 3 Flashsliders Generating 1 Value

Jan 16, 2009

I'm trying to make 3 sliders that, depending on each other, changes the value of a text-box.

Example, If Slider A moves to 150, the value in the text-box changes to 150.

If you then move Slider B to 40, the value in the text-box changes to (150+40) 190.

Same thing for Slider C.

So basically I want the value of what you select in each Slider to be added together in real time like this:[URL] Only this shows just one slider, and I want three, added together

View 1 Replies

ActionScript 3.0 :: User To User File Transfer Via FMS Or RED5 In AIR Application?

Jun 25, 2009

It is possible to make file transfer from air application via server?I think need to create like byte array streaming or somethink like this from sender and write the destination file on receiver user pc.

View 2 Replies

Flash - Webcam Service For A Website: User To User Directly?

Mar 14, 2010

I wonder wether on a website like chatroulette for example, the streaming video is going directly from user to user or wether it is going through a server.

In other words I wonder wether it is possible to offer a webcam service on a website, so that the streaming video goes directly from user to user, without overloading the system.

View 1 Replies

ActionScript 2.0 :: Is There User Input Text Box For User To Type In A Box From A Keyboard

Apr 17, 2011

is it possible in actionscript for the user to type in a box from a keyboard like a user input text box..

View 3 Replies

ActionScript 3.0 :: Flash Sending User-generated Info To The User

Feb 22, 2011

We have a sort of game, generated with Flash in AS3, on our website where the reader is invited to eliminate the California Budget Deficit. It's connected to a database where we keep track of the responses and print them in chart form and post the results on the website so everyone can see the most popular budget items the readers want to cut.

See the interactive in question here:

[URL]

We've had many, many requests to have an option where the reader can get a copy of his/her choices that he/she can print out. I've thought about having a movieclip pop up that shows those choices (and that would be simple enough), but in addition to that, what I'd really like to do is have a way to download those choices to the reader's computer as a text file or maybe have a "Print" button on the movieclip showing the choices that would print just that movieclip. The database we have wouldn't really be suitable because it's set up to simply show which were chosen and which not, and the names of the submissions and choices are variables that don't really mean anything except to us when we put it all in an excel file.

View 1 Replies

ActionScript 3.0 :: User Input Textfield - Get The Information The User Put In The Box?

Feb 25, 2009

I have some text that says go to page with a input textfield box and a go button. This is a flash cs4 file.I want to have the user input the page number and have it go to that frame.I am using actionscript 3.0 and have bought 4 books and researched online and still can't find what I am looking for.I can make the go button go to whatever page I want I just don't know how to get the information the user put in the box.

View 2 Replies

Looking For Gallery Component W/ User Sign In & User Uploads

Nov 8, 2009

Id like to find a gallery with user sign in , and user uploads but how difficult would it be to put in a gallery component ,and make a button to allow users to upload straight to a folder on the server? once th epicture is on the server the gallery will do the rest auto

View 1 Replies

Flash :: Approach For User To User Audio Communication?

Jul 2, 2010

For one of my projects I need users to be able to communicate with each other in an audio mode. The thing I'm concerned about is the scalability of the project if it even gets big in terms of bandwidth consumption.

What are the alternatives to passing the audio through my server to the users?Is it possible to create a link between two users so they can exchange their stream of data (audio in this case) so that it doesn't pass through me, while still being able to control the time they've been connected to each other and some other information?

As for now it's just an idea I have in mind but I don't really know what to look into. I think it will probably need to be some plugin dependant solution so that's why I tagged the question like that.

I'm not looking for a concrete solution, just a little push in the right direction from someone who has been through something similar.

View 1 Replies

Generating A SWF File To Put Online?

Nov 9, 2009

I have an FLV file but need to generate an SWF to then upload onto the internet (with a play/stop bar)
 
I have no idea how to do this. Is there a step by step I can access or can someone point me tell me where and what to do!!!! I have CS4
 
I understand that I need to have all the files in the same folder and then link them all in. I will be uploading onto the website (back of house html) is there a basic code that i can modify that will suit my needs?

View 5 Replies

ActionScript 2.0 :: Generating 16 Numbers In A Row?

Feb 11, 2003

I want 16 numbers generated in a row, like a credit card
3456 6765 4564 3453
Is there a good way to do that? The card would generate The numbers when it's loaded.

View 2 Replies

ActionScript 3.0 :: Generating The Random Facts?

Mar 18, 2009

What I'm looking for is to have a button on the screen. When clicked it will generate a random fact. I'd like to have around 25 facts, although the number doesnt matter at this stage.

I'm only learnigng flash and actionscript at the moment so my thoughts are a bit confused. Would I store all the facts in an array and use the math function to generate a random number that will access the fact stored in the array? not sure how the code would look like.

View 2 Replies

ActionScript 3.0 :: Generating Links From A File?

Aug 9, 2009

I'm trying to dynamically create links from data in a JSON file.
 
I can load the JSON file and extract the data, but I'm not sure how to keep track of which URLs go to which titles.

For example, I create a text box and put the words "AOL Homepage" in it and another that says "Google Homepage". I know their respective URLs are [URL] and [URL], but how do I store that information so that when someone clicks on "AOL Homepage" it knows to take them to [URL]

I considered creating a dictionary that stores Titles and URLs so that whenever someone clicks "AOL Homepage" it looks that up in the dictionary and sees [URL]. However, if there are two equal titles, this method will not work.

View 3 Replies







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