LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-09-2002, 12:09 PM
cwalsh cwalsh is offline
Registered User
 
Join Date: May 2002
Location: Westhampton, NY
Posts: 20
Rep Power: 0
cwalsh is on a distinguished road
Guy Row results using an attached movieclip

Hey people,

Got a good question for ya!

I am using php to query a database, and then return the results to a flash movie, but instead of returning html or plain text, I want to attach a movieClip called 'resultRow', which is duplicated for each respective result. My problem is that I can't figure out how to set the next resultRow's _y position. The _x position stays the same, but I want the _y position to increment every 20 pixels, so that the following row sits below the preceeding one (Kind of like what a html table would look like, but we're using movieClips instead).

Here's what I have so far (this is not working by the way):

Actionscript:
numOfRows = _root.numRows.rowNums;
for(i=0;i<numOfRows;i++) {
	_root.resultbox.attachMovie("resultRows","result"+i,i);
	setProperty("_root.resultbox.result"+i,_x,0);
	setProperty("_root.resultbox.result"+i,_y,_root.resultbox["result"+i-1]._y+20);
}

CJ...
__________________
jezmond - the family berzerker
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
randomly (timewise) adding movieclip as2 floody123 Newbies 1 11-08-2008 08:02 PM
Remove attached MovieClip from loadMovie Mocha Flash 8 5 02-08-2007 08:23 AM
Drag/Drop ActionScript-Drawn MovieClip andrewcheong Newbies 4 02-23-2006 01:10 AM
Playing nested movieclip attached at runtime ADreamer_17 Actionscript 2.0 11 08-22-2004 05:52 PM
Multiple row results are not showing up cwalsh Flash MX ActionScript 5 08-26-2002 03:42 PM




All times are GMT. The time now is 06:36 PM.