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




ReplyREPLY THREAD
 
Thread Tools Display Modes
  #1  
Old 11-25-2007, 02:30 PM
zdoar zdoar is offline
Registered User
 
Join Date: Nov 2007
Posts: 9
Rep Power: 0
zdoar is on a distinguished road
Question controling the X and Y of where an external jpg loads into an empty_mc

I am trying to control the x and y coordinatesof where jpgs get loaded into an empty_mc. Anyone know how to do this. I am not having any problems loading them but what if I don't want them to be left justified?

Last edited by zdoar : 11-25-2007 at 02:36 PM Reason: spelling
Reply With Quote
  #2  
Old 11-25-2007, 07:56 PM
m. allen west's Avatar
m. allen west m. allen west is offline
Super Moderator
 
Join Date: Jul 2006
Location: United States
Posts: 1,672
Rep Power: 8
m. allen west will become famous soon enough
Take a look here
Tell me if this helps.
__________________
There are dangers to being self aware, the realization that you are not the first. aA+(1-a)B

Reply With Quote
  #3  
Old 11-26-2007, 04:48 PM
zdoar zdoar is offline
Registered User
 
Join Date: Nov 2007
Posts: 9
Rep Power: 0
zdoar is on a distinguished road
Smile Thanks! But.....

Thank you so much. But....... The thing is I don't want to move the empty_mc that I am loading images into. I want to control the coordinates inside the empty_mc.
Because if I change the location of the empty_mc then I have to change it for every single images that gets loaded in and I have like 30 or so.

here is some of what my code looks like.
As you can see with the last image I added in the code for the x and y like you suggested (thanks) but it now changes the coordinates for all the other images that get loaded in.
Actionscript:
peo1_btn.onRelease = function(){
    mcLoader.loadClip("pictures/img/hirez/peo1.jpg", big_emc);
};

peo2_btn.onRelease = function(){
    mcLoader.loadClip("pictures/img/hirez/peo2.jpg", big_emc);
};

peo3_btn.onRelease = function(){
    mcLoader.loadClip("pictures/img/hirez/peo3.jpg", big_emc);
    big_emc._x = 500;
    big_emc._y = 125;
};

So not to be a pain but do you know if there is another way?

Last edited by m. allen west : 01-08-2008 at 02:10 AM Reason: needed tag added
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
using loader component for external swf and jpg. HELP 72monkeys Actionscript 1 Components 4 02-26-2006 01:31 AM
Position screen contentpath content, preloading external jpg within external swf Manca Flash MX ActionScript 0 01-16-2006 07:09 PM
Scroll Pane that loads external data vane Actionscript 2.0 Components 2 02-07-2005 12:09 PM
load external jpg into the background. cybercampbell Newbies 4 07-26-2004 06:53 AM




All times are GMT. The time now is 08:35 PM.