Can you load the dynamic movieclip into a movieclip that extends oscars class. That way you just change the coords on the container and not necessarily on the dynamic movie. Either way it should have exactly the same effect.

Would that help or am I just not getting your problem?




On 14 Apr 2008, at 15:47, Stuart (FunkDaWeb) wrote:

I have got the code working in the way they do it however i need to use it in a different way!

I want to set the registration point to an already created movieclip and it seams using Oscars class you have to use his new dynamicmovie()

I dont need all the functions that come with it i just want it to set a new X/Y position
 ----- Original Message -----
 From: Michael William Ypes
 To: Flash Coders List
 Sent: Monday, April 14, 2008 1:54 PM
Subject: Re: [Flashcoders] setting registration point via actionscript [AS3]


 I have used that class to great effect,

 
http://www.fitnessfirst.co.uk/UK-Gym-Health-Club-Locator/Fitness-First-Gym-Locator.aspx

 What seems to be the problem. the map mentioned above is in as3 and
 changes the registration point all the time depending on where the
 user clicks or pans to. What does your code look like?


 On 14 Apr 2008, at 13:05, Stuart (FunkDaWeb) wrote:

Hi guys ive been trying to figure this out now for over a week, i
want to dynamically set the registration point of a dynamically
created movieclip. ive come across a class by Oscar Trelles (a re-
written AS1/2 class) that does what im after but it does not seam to
be very portable and can not get it to work with my app.

I have also tried to use negative values by creating a blank mc and
loading the image into it, this gives me an image that's in the
correct place but the blank MC does not use the negative values set
so i have an overall MC thats bigger that it should be!

So heres my question....

I want to create a movieclip with the X/Y set to 0 but have the
actual registration point set to X = mc.width / 2 and Y =
mc.height / 2 so when i use the transform controls ive created it
scales, rotates etc... from the centre.

I also have a second question how do i set the initial value of a
colorpicker box via actionscript? this too also seams to be really
hard to find the answer!

SM
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


 _______________________________________________
 Flashcoders mailing list
 [email protected]
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to