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

Reply via email to