ActionScript 2.0 :: FLASH8 Create Columns For My Thumbnail_mc?

Jan 14, 2007

i wan't modify my AS for have 2 columns in my thumbnail_mc.

stop();
var thumb_spacing = 60;
// load variables object to handle loading of text[code]....

View 8 Replies


Similar Posts:


ActionScript 2.0 :: Clearing Thumbnail_mc In Photo Gallery?

Feb 7, 2007

I was wondering if anyone knows how to clear the thumbnails created by the thumbnail_fn() function in the thumbanail photo gallery.

This is the function:

Code:
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();

[Code]....

But this has no results. I think this is becuase the seperate thumbnail movieclips that are created by the thumbnail_fn() function are placed at different depths (well that's what I think is happening ...)

how to clear the the movieclip but not destroy/delete it?

View 2 Replies

ActionScript 2.0 :: AttachMovie To Create Multiple Columns?

May 6, 2008

I have this code that I've used before to dynamically attach a movieclip to create one long list of movieclips, however for a design I'm working on I need to be able to create multiple columns of 4 (configurable) items so the 5th items get's a new _x position, and starts over calculating the _y position.

Code:
var x:XML = new XML();
x.ignoreWhite = true;
var thumb:Array = new Array();
var thumbTitle:Array = new Array();
var thumbDesc:Array = new Array();

[code]...

View 1 Replies

Flex :: Save State Of A DataGrid: Visible Columns, Columns Width And Order?

Jan 11, 2010

I want to save remotely (on a database) the state (visible columns, columns width and order) of a Flex3 DataGrid.For width and visibility I can simply save them by accessing each column attribute.. But for the order? Do I have to create the dataGrid dynamically?

View 2 Replies

ActionScript 3.0 :: Create A Multidimensional Array With A Certain Number Of Rows / Columns From Variables

Mar 1, 2009

I need to create a multidimensional array with a certain number of rows/columns from variables that store the number of rows/columns. For example say I have:

var r:int = 5;
var c:int = 10;

I want a multidimensional array that has 5 rows and 10 columns, every space within the array filled with the value 0.

View 2 Replies

ActionScript 2.0 :: Create A Dynamic Datagrid That Receives Dynamic Columns?

Jan 3, 2006

I am tryng to create a dynamic datagrid that receives dynamic columns:

PHP Code:

for (i=0; i<DadosModelos.total_produto_modelo_recebe; i++) {
var coluna:DataGridColumn = new DataGridColumn();
coluna.width = 75;

[Code].....

Now i want to add a row that receives a value for each column that i add dynamic above, i tried all but nothing..

View 13 Replies

Flash8 :: Create A New Line In An Array?

Aug 24, 2010

I created a multidimensional array and I am having a hard time using .push to start another line. I have tried many thing however this is where I am at right now:

Actionscript Code:
arrayName = new Array(new Array());arrayName[0].push("cats");arrayName[0].push("dogs");arrayName[1].push("panthers");trace("arrayName[0][0] = "+arrayName[0][0]);trace("arrayName[0][1] = "+arrayName[0][1]);trace("arrayName[1][0] = "+arrayName[1][0]);

As you can see the last trace (arrayName[1][0]) comes back undefined. How do I add the [1][0] level of the array?

View 2 Replies

Flash8 :: Dynamically Create XML File References?

Jun 29, 2009

I need to create two combo boxes that are populated by an XML file. In the first combo box there are 13 choices and depending on what the user selects I need to populate the second combo box with the correct information. Now I can create the first combo box just fine but when I try to dynamically create the XML file name for the second combo box it doesn�t seem to work. What I am doing so far is taking the data from the first combo box and adding the quotes and .xml with this piece of code:

PHP Code:

pModCombo = '"'+event_obj.target.selectedItem.data+"Combo"+".xml"+'"';
pModComboXML = new XML();
pModComboXML.ignoreWhite = true;
pModComboXML.load(pModCombo);

If you trace that code it creates the file name just fine however the xml file will not load. If I replace that code with the normal xml code like this:

PHP Code:

pModComboXML = new XML();
pModComboXML.ignoreWhite = true;
pModComboXML.load("new.xml");

The second xml file seems to load just fine. However, if I create an if statement with all the different xml file names I will have to update the swf every time I add a new choice in the first combo box. So my question is does anyone know how to dynamically create the xml file name?

PHP Code:

pmComboXML = new XML();
pmComboXML.ignoreWhite = true;
pmComboXML.load("brands combo.xml");

[code]...

View 6 Replies

Flash8 :: Create A Minimap That Can Register Each Object Location?

Mar 21, 2010

what im trying to figure out is how exactly do you create a minimap that can register each object location

View 2 Replies

ActionScript 2.0 :: Flash8 : Create A Movieclip In Which Different Colored Birds Are Flying?

May 19, 2009

I am trying to create a movieclip in which different colored birds are flying..I am tring to duplicate two or more MovieClips at the same time..but only either of them Works How should I modify the code so that I can achieve that ?

PHP Code:

function birds() {
for (m=1; m<=10; m++) {
firstEnem y= "bird"+1;

[code].....

View 2 Replies

Flash :: Create Adobe Air Application From An Existing FLASH8 Project?

Jan 7, 2011

Is there any simple way how to pack existing Flash8 project using AS2 and multiple files to to Adobe Air application?

View 2 Replies

Php :: Data For The Columns In Flex?

Jul 13, 2009

<local:CheckBoxDataGrid id="dg"
allowMultipleSelection="true" x="118" y="151" width="557">
<local:columns>
<mx:DataGridColumn dataField="firstName" headerText="Select" width="50" sortable="false" itemRenderer="CheckBoxRenderer" >
</mx:DataGridColumn>

[code]....

I am getting the values as ArrayCollection, but when i bind it to my Datagrid, i am not getting any values.... though the objects returned from PHP are fine.

View 2 Replies

ActionScript 2.0 :: F8 - Arranging MC's Into Columns?

Dec 8, 2005

PHP Code:

var i:Number = 0;
function goMe(){ 
if (i >= myArray.length){

[Code]....

i'm using this code to cycle through an array and move the movie clips to x:0, and y:height of clip, times whatever number it is.... if there are 4 objects in the array, object 1 would be 1 times it's own height.... etc... so they're spaced out.

however, when i resize my stage, i'd like to have them arrange differently... into columns... but i'm not sure how to specify breaking them off into columns. i tried something like this:

[Code].....

View 1 Replies

IDE :: Dynamic XML / HTML In SWF With Columns?

Apr 14, 2009

I am having a lot of trouble figuring out how to dynamically display 3 columns of text in my swf. They are somewhat long lists of song/album/label titles and all 3 columns need to scroll as one unit. My client gave me Excel files with the lists in spreadsheet form. I've tried exporting as XML and HTML. I've gotten the lists to disply in my SWF using dynamic text boxes but now I can't figure out how to get all 3 text boxes to scroll as one.

Is there a way to create a simple table in Flash and have each list load into Column1, Column2, and Column3 and then attach a srollbar to the table?

View 4 Replies

ActionScript 3.0 :: Multiple Columns Of Text?

Sep 30, 2008

I have a single text field that attaches numerous lines of text. Because each line has an individual hyperlink, I'm using += and a for loop to append the next line. Here's the problem... When the text reaches the bottom it keeps going past the viewable area instead of becoming a new column - obviously by default. I know I can use scroll bars and all that mumbo jumbo, but having several columns is the way the client wants it.

View 3 Replies

ActionScript 3.0 :: Sorting Columns In Datagrid?

Jul 28, 2011

I have a datagrid that uses a custom cellrenderer class to allow me to use a combobox. I have an invisible column that holds the value returned by the cellrenderer when the combobox value is changed. BUT sorting is wonky. Since what really lives in the combobox column individual cells is an object, it never really sorts properly. Is there a way to fire a sorting event to the column that holds the real value?

View 4 Replies

ActionScript 3.0 :: Datagrid: Columns Not Orderable?

Mar 19, 2012

in my AS3 Datagrid, I'd like the columns would not be reorderable by clicking at their top.Now it appears the datagrid that represent a players' classification.Now if I click at the top of every column, the reorder as like they want.

View 1 Replies

Actionscript 3 :: Wrap Lists Into Columns?

Nov 12, 2009

How do you make a List control wrap around to a second column (or multiple columns)? let me know if there is a solution for this with the List control or some other Flex control.

For example, if you have one list with 42 items in it, but I want to cap the height of a list to 20 items; then instead of having one list with 42 items all the way down, I would have that list of items look like the equivalent of 3 adjacent lists: the first with 20 items, the second with 20 items, and the third with 2 items (which represent the original list of 42 items). [url]...

View 6 Replies

Flex :: Set Different Columns To Have AlternatingItemColors On DataGridColumns?

Dec 3, 2009

On a DataGrid, setting alternatingItemColors will apply the color scheme to all of the columns of that grid. I'm looking for a way to define different alternating colors for each column.

View 2 Replies

Xml :: Reorder My Columns Based On The Title?

Nov 21, 2010

I'm using the following code to load XML directly into a datagrid:

import flash.events.Event;
import fl.data.DataProvider;
import flash.net.URLRequest;[code]....

How can I reorder my columns based on the title?

EDIT:My XML looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<contacts>
<contact first="Moshe" last="Doe" address="555 5th St" city="Somwhere" state="AA" zip="555555" phone="555-555-5555" />[code].....

View 1 Replies

Flex :: Sort Columns In AdvancedDataGrid?

Mar 15, 2011

I'm making an application where I display an AdvanvedDataGrid with one column with dates(in format DD/MM/YYYY) and another with datetimes (in format HH:MM). I'd like to sort dates according with the datetimes as well(just clicking in the header of the column), there is an examplen of the expected behaviour:

02/02/2011 | 10:42
03/02/2011 | 09:45
02/02/2011 | 11:45
03/02/2011 | 11:30

[Code]....

_currentDatosBusqueda is an arraycollection I receive from the Server (with the correct format of dates and datetime).

View 2 Replies

Flex :: Unable To Hide Columns

Mar 24, 2011

What I am trying to do is hide an entire column if the content is all null.

<mx:DataGrid width="100%" dataProvider="{service}" id="dg1">
<mx:columns>
<mx:DataGridColumn headerText="Location Origin" dataField="originLocation" visible="{data.originLocationExists}" />
<mx:DataGridColumn headerText="Location Destination" dataField="destinationLocation" visible="{data.destinationLocationExists}" />

[code]....

In the sample above, sometimes all the data in the "Location Origin" will be null, so under the visible property I put a value which is either true or false depending on the data. But even when all the data is null and the visible property equals false, it still stays visible.

View 2 Replies

Flex :: Add Total Columns In DataGrid?

Jun 9, 2011

I have one Datagrid in Flex. In datagrid there are 4 columns like mark1,mark2,mark3,Total.When i enter mark1,mark2,mark3 that time i want to update total.

View 2 Replies

Flex - Increase Space Between Columns?

Oct 26, 2011

I just added columnWidthRatio: 1; to my mx|ColumnChart to fatten up my columns a little. But now, there's no space between the X axis and columns, and between the columns themselves, so how do I increase this space?

View 1 Replies

ActionScript 2.0 :: Dynamically Add Columns In Datagrid?

Feb 20, 2009

I have a problem with the data grid in flex 2.0 , i want to add columns and header of the columns dynamically as it reads the text from a file .

View 1 Replies

ActionScript 3.0 :: Invert Columns And Rows?

Feb 12, 2010

i was wondering if it's possible to invert columns and rows - I need the rows to become columns a columns to become rows.

[Code]...

Problem is becouse number of rows (1,2,3) is changed dynamically. I was trying to create new arrayCollection and use different variations of addItem but non of them works and I'm stuck. Maybe some of you know how to do this?

View 0 Replies

ActionScript 2.0 :: Soemtimes Columns Populated - Sometimes Not?

Jul 13, 2010

I have a Web site here: [URL] If you click on 'Portfolio', there are two columns which read from text files, CSS files, and an XML file to populate the page. Yesterday, when I looked at this page, the 'Links' column was populated, but the 'Tutorials' column was not; today, neither column is populated. Last week, the 'Tutorials' colum was populated, but not the 'Links' column.

View 0 Replies

ActionScript 2.0 :: DuplicateMovieClip Into Rows And Columns?

Feb 21, 2003

duplicate a movie clip, let's say 15 times, and after the 5th clip a new column is created, on up to the 15 clips making 3 total columns of 5?

View 4 Replies

ActionScript 2.0 :: Loading Text Into Columns?

Jan 21, 2005

does anyone know if you can load text from an external textfile into two columns, going to the second when the first is filled??

I only found this (okay, three columns, but I mean the text here is not externally loaded)

article = "The Norwegian hacker famous for blablabla.";
words = article.split(" ");
targetColumn = 1;
for (i=0; i<words.length; i++) {

[Code].....

Maybe I could load my external text into such a string, does anyone jnow how to do that?

View 1 Replies

ActionScript 2.0 :: Columns In A Flash Textfield?

Apr 25, 2006

what i need is to imitate newspaper columns, so text will flow to fill the height of the textfield and then continue in a 2nd column. the only thing i can come up with is to fake it with 2 textfields side by side with a scroller that controls both. surely there's a better way?(and i know about the Flashloaded component, but i'd prefer to do it myself.)

View 6 Replies







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