ActionScript 3.0 :: Altering List Box Lines?

Jan 27, 2011

I am using a listbox and have worked out how to alter the format of the text. However, how do i:make the black lines between each item a different colouralter the height of each item - I thought that by making the font bigger, and the leading this would force the list item deeper - but it didn't work

View 3 Replies


Similar Posts:


Flex :: Display Grid Lines In A List?

May 27, 2011

I am using a spark list control to display certain items with my custom Item Renderer. I am trying to achieve the following: (1) show a separating line between rows in my list control (2) even when not a single row has been added, I want a horizontal grid lines to be displayed in the background

I am not sure whether (1) and (2) can be achieved in one go. I can solve (1) by modifying my item renderer to have a border, I guess. But I want to know whether there is a better or more conventional way.

View 1 Replies

ActionScript 3.0 :: XML Lines Into Flash Component List, And Saving?

Apr 12, 2011

I want to make for my fellow classmates. The idea is to have to lists with selectable items in each of them. And they are supposed to be tasks, one list with the "To Do" items, and one with the "Done" items. What I want is that the .swf can remember(save) what items I have moved from one list to the other from time to time.

Example:
List1(To do list):
* Homework [code]..........

and when I click on "Homework" and a button, it would go from list1 to list2(i have made this work).

List1(To do list):
* Fix motorcycle
* Clean the garage[code]........

But of course when I close the .swf, the lists would be reset until next time I open it.I was thinking of something with .xml files for each lists, so I would rewrite the .xml's when I transfer one thing from list1 to list2.

View 0 Replies

Actionscript :: List Displaying Multiple Lines Adobe Flex?

Mar 30, 2011

Im currently creating a list in Adobe Flex/Actionscript for a person search app. At the moment, the list shows 1 line of text:

<fx:Script>
<![CDATA[
import model.PersonSummary;

[Code].....

View 3 Replies

Actionscript 3.0 :: Blitting Lines - Draw Approximately 50000 Lines And Performance Is Poor?

Aug 17, 2011

I have been working on a map viewer based blitting technique. As part of the map I need to draw approximately 50000 lines and performance is currently really poor.

Code: Select allvar movie:Shape = new Shape();
for( ... )
{
movie.graphics.clear();[code].....

View 2 Replies

ActionScript 3.0 :: Drawing Lines Between Mc's, Getting Lines In Stage Co-ords, Not Mc's?

Nov 15, 2009

My code is on the main timeline.I call a function loop to draw lines between them.The lines are drawing between the right x, y values BUT between those values on the main stage, not those values within the kite.For example, dot1_mc is at x100, y0 inside kite. the line that should go from its center, draws from stage x100, 0.How do I draw the lines inside kite so that they draw between the dots?Heres my code that draws the linesPHP Code:

function loop():void{ lineDrawing.graphics.clear(); var a:Point = new Point(kite_mc.dot1_mc.x, kite_mc.dot1_mc.y); var b:Point = new Point(kite_mc.dot2_mc.x, kite_mc.dot2_mc.y); var c:Point = new

[code].....

View 4 Replies

Mouse X Position Altering Object?

Nov 20, 2009

I want to do something which is probably pretty simple but I've got absolutely no idea how to do it!What I want is for the Alpha value of an object (movie clip) to change depending on the x position of the mouse. So when the mouse is at 0 the alpha of the object will be 0%, and when it's at 100 the alpha will be 100%

View 4 Replies

ActionScript 3.0 :: Malfunction After Altering Variables?

May 12, 2011

I've copyed the same source code to several scenes, hence I've had to change the variables on each scene, "var spawn" to "var spawn1"I don't get any errors, it's just that in the scenes where I've changed the variables the collision detection does not work.I've checked and rechecked the code and I just cannot figure out this issue.Bottomline, what could have caused functions to malfunction after altering variables and what's an effective way to find the error?

View 0 Replies

ActionScript 3.0 :: Dynamically Altering A Shape's Vectors?

Jul 26, 2009

I don't know if i'm in the right category here.I have a line in the center of the screen, and i want it to bend. i guess i have to use vector operations? (I mean, what Illustrator uses. visuals, with vectors instead of pixels). I want to be able to set points, so that the line bends towards that point. And the color under the line should be different than the color above the line. Does anyone know how to get started on something like this?

View 1 Replies

Shrinking Flash Objects Altering Its Shape?

Aug 28, 2009

The bug is where when I shrink a simple circle, it appears to have somehow been altered to the point where the curves are no longer completely circular. Object becomes jagged, then when I bring the the object back to its original shape using the scale tool there the shape is no long a perfect circle.

View 1 Replies

ActionScript 2.0 :: Altering/stripping Info Out Of Code?

Jan 6, 2009

I've toyed with this script for some time now and I am having issues removing lines of code and still getting my script to work. Basically I want to keep how this code loads and centers the parts of that code that refer to "mc" but I want to take out anything that refers to "bkg". I have gone through the code step by step to comment out areas but when I get to the very bottom, if I comment out this line:

[Code]...

View 9 Replies

ActionScript 2.0 :: Altering Movie Clips On Different Frames?

Jun 27, 2009

how can you set it so that you can click a button, and it will make a movie clip goto a different frame- on a different frame?

View 1 Replies

ActionScript 2.0 :: Altering Customers Existing Code

Aug 10, 2010

Since allmost a week i'm trying to solve the following problem : Load an image int the background of the text animation with the same xml file. I have the following AS2 code which loads the textanimation from a xml file :

[Code]....

View 0 Replies

ActionScript 3.0 :: Altering External Swf Render Time

Nov 14, 2011

I'm in the middle of a AS3 project and I'm stuck.In my class I'm trying to control the render speed of imported swf file.I would like to make this file play single frame and then decide when to go to the next one.Can it be done without changing the external file?

View 9 Replies

ActionScript 3.0 :: Altering The Alpha Of The Member Of An Array?

Feb 21, 2012

I want to set all the movieclips that belong to the objects in an array to .5 . The array is enginesForSale.

Code:
for (var i:Number = 0; i < _model.enginesForSale.length; i++)
{
var callName:String = _model.enginesForSale[i].name;

[Code]....

View 14 Replies

ActionScript 2.0 :: Altering/expanding SetTextFormat( ); Function

Sep 23, 2004

is there a way i can change the standard setTextFormat() ; function? I found out that after you change the text, the format sets back to default. I want to add a "on text change, settextformat again" bit but im completely lost on how to do this? something to do with prototypes doesnt it?

View 3 Replies

Alter Frame Rate Without Altering The Overall Time Of The Animation?

Nov 24, 2009

I've created a complicated animation at a stupidly high frame rate. The .mov file at the moment just runs too slowly. The animation is of a watch interface so the timing is very important and I can't just have the movie file take twice as long at a lower frame rate.

How can I drop the frame rate without altering the overall time? and without manually changing the frame length of each motion tween?

View 1 Replies

ActionScript 3.0 :: Altering Properties Of Loader Added As Child?

Mar 26, 2010

I have a holder movieclip on screen, then I create a loader, load an external SWF into the loader and addChild to my holder:

var bgloader1:Loader = new Loader();           [code].....
 
This all works.  Now if I want to come back later on and alter the alpha or position I get an error:
 
//Neither of these work:            MyHolder1.bgloader1.alpha=0;            MyHolder1.bgloader1.content.alpha=0;
 

TypeError: Error #1010: A term is undefined and has no properties. at flash.events::EventDispatcher/dispatchEventFunction()    at flash.events::EventDispatcher/dispatchEvent()    at flash.net::URLLoader/onComplete()

View 7 Replies

Flash :: Altering The Appearance Of An AdvancedDataGridColumn And Mx:ToggleButtonBar In Flex

Dec 1, 2011

I have two things I wish to change with the display elements in flex. The first on relates to and AdvancedDataGridColumn in a AdvancedDataGrid. This is shown in the picture URL with the words "Word Student Teacher ..." These are the headertext of an AdvancedDataGrid. I want to remove the little "1" symbol and disable the abiliy to click on the column and have them sort.

The second is also shown in the picture and it relates to the mx:ToggleButtonBar shown with the text "Pronunciation Pitch Timing Loudness" At present "Pronunciation" is selected, but is is possible to make this clearer? For example have the currently selected tab show in a different color?

[Code]...

View 1 Replies

ActionScript 3.0 :: Save Drawing On A Website So It Accessable For Altering Later?

Aug 24, 2009

Lets say that a user has a profile on my webpage and is logged in. Hes using a flash draw app on that site and now he wants to save what his drawn. He wants to save it to his profil in an archive, so he can access it again later on. is this possible? and how would you go about it? the drawing is all within one movieclip (with tons of other movieclips inside it) it has to be saved in such a away so its possible to access the individual movieclip inside main movieclip.

View 9 Replies

ActionScript 3.0 :: Looping Through An Array Of Objects And Altering Their Properties?

Sep 7, 2009

ActionScript Code:
for (var i:uint = 1; i<=10; i++) {
var ball_array:Array = new Array();
var newBall:ball = new ball();

[Code].....

View 4 Replies

ActionScript 3.0 :: Altering A Variable From An Action Frame In An Instance?

Sep 11, 2009

I have an animation and i want a variable to eb set to false once it is done. I was currently using the statement below when i simply used addChild(name); to add it.

MovieClip(this.parent).hero.landing = false;

However i now changed that statement to gamelevel.addChild(name); and the above statement no longer works properly, it changes the variable to false, but it resets immediately after. How do i reference this properly?

View 2 Replies

ActionScript 3.0 :: Copy / Paste Frame 1 And Just Altering Different Textfields

Oct 4, 2010

I have just finished a movie, and want to duplicate it to some other frames.Its a movieclip on frame 1 and it contains a kind of work-calender for 2011 with a lot of different movieclips inside - I want to place a combobox in it where the user can choose what year he wants to see.Is there a easy way to copy frame 1 and just altering the different textfields and data to fit the new year or do I have to duplicate every movieclip and rename functions and variables in AS for the entire movie?

View 2 Replies

Altering The Link In A Flash File So It Doesn't Open In A Ne

Nov 22, 2010

I have a flash file on the homepage of my client's website. When you click "Enter", the new page opens in a new tab. I want it all to stay in the same tab. If you would like to view the entire code yourself to identify how I could solve this issue, the site is: [URL] - but if not here is the code of the Flash file itself:

[Code]....

View 1 Replies

ActionScript 3.0 :: Altering Drawn At Authoring-time At Runtime Graphics?

Feb 13, 2009

Is it possible to access the graphics.* - characteristics of objects that I have drawn at authoring-time at runtime? If I have drawn a single line in a movieclip I'd like to do sth like this:

[Code]...

View 2 Replies

Professional :: Altering The Link In A Flash File So It Doesn't Open In A New Tab

Nov 22, 2010

I have a flash file on the homepage of my client's  website. When you click "Enter", the new page opens in a new tab. I want  it all to stay in the same tab. If you would like to view the entire  code yourself to identify how I could solve this issue, the site is: [URL]- but if not then I will paste the code of the  flash object below:
 
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="720" height="540">
<param name="movie" value="Scripts/FrontPage2.swf" />

[Code]....

View 3 Replies

Flash :: Set ScaleX Property On A Sprite Without Altering The Child Inside

Mar 25, 2010

My site is set up with next and prev buttons on the right and left sides respectively, and as you roll over either of the hit areas around the buttons a Sprite fades in which contains a TextField that describes the next page. Said Sprite calls the StartDrag() method, so it follows the mouse within the bounds, which is all fine and dandy on the left side of the page. Adobe, however, seems to have forgotten to put a way to dynamically alter the registration point of a Sprite, MC, whatever else, so when you roll over the right side of the page, the sprite is displayed from the top left and is mostly off the stage.

Trying to hack this problem I have tried numerous things ( classes written by others, other hacks) and the best that I have found is to use the scaleX method on the Sprite, changing the scale to -1. This, of course, makes the Sprite seem like it's reflected from its normal point, which means all its children show up backwards.

Is there anyway I can use this hack without it altering the text?

OR

Does anyone know a different way to go about displaying a Sprite from another corner? Any way to make a Sprite fade in and follow the mouse on the LEFT HAND side of the mouse pointer?

Here is a snippet to give an idea of what's happening:

naxtPage.labelBG.scaleX = -1;
nextPage.labelBG.startDrag( true, nextHitRect );
nextPage.labelBG.x = nextPage.labelBG.parent.mouseX;
nextPage.labelBG.y = nextPage.labelBG.parent.mouseY;

View 1 Replies

ActionScript 2.0 :: Load Movie At Correct Size And Altering Position?

Dec 12, 2010

How can i get the file to load at the correct size by using the onloadInit at the moment the file is loading but its loading in the centre. [code]...

View 7 Replies

ActionScript 2.0 :: Altering Code So One Object Can Drag To Multiple Targets

Jun 6, 2011

how I could create a simple drag and drop. So far I am able to get one drag_mc to go to one target_mc. Howver I would like to know how I could change the code so that drag_mc could have multiple targets?

[Code]...

View 0 Replies

ActionScript 2.0 :: Altering Kirupa's Xml Gallery Load Any Size Image

Oct 28, 2009

I want to load photos of different sizes for the XML photo gallery, as of right now you can only load a preset size.[code]

View 4 Replies







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