Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Understanding The Transformation Matrix



Hey guys, I recently read Senocular's tutorial on the topic. I was just wondering if anyone knew a fix for the gap at the edges of the faces. Sometimes when rotating theres a white gap at the edges (on his example too) and I'm not sure how to fix it. Like here:The best I've gotten is drawing lines at the edges so it's a not so obvious, but that's a little pain staking (don't run both these sites at the same time): Kind of disappointing cause when using masks I don't have this problem.Appreciate any suggestions (I've heard textured edges were possible), thanks!



KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 05-07-2006, 05:16 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Understanding The Transformation Matrix
Hey fellas, I recently read Senocular's tutorial on the topic: http://www.senocular.com/flash/tutor...ansformmatrix/. I was just wondering if anyone knew a fix for the gap at the edges of the faces. Theres a white gap on the box edges sometimes (on his example too) and I'm not sure how to fix it. Like here:
http://www.freewebs.com/torque1987/3dpicturebox2.html

The best I've gotten is drawing lines at the edges, but that's a little pain staking:
http://www.freewebs.com/torque1987/3dpicturebox.html

Kind of disappointing cause if you used masks you wouldn't have this problem.

Appreciate any suggestions, thanks!

Transformation Matrix
Hi all

I was wondering how efficient would be for me to use the Transformation Matrix class to create any application capable of allowing movie clips (images) to rotate, scale as well as removing them from the stage at the runtime.

From what I read at http://www.senocular.com/flash/tutor...ansformmatrix/ the matrix is really powefull and can reduce the amount of code for things such as rotate,and scale images.

What I'm almost trying to achieve is available here

Or if there is any other way that this could be achieved I would really appreciate. Stuff like hints, tutorial, or sample codes

Thanx

Transformation Matrix?
I'm trying to get my character to rotate smoothly as he walks up a slope in my side-scrolling tile-based platform game.

Because He will need to rotate around either the bottom right or bottom left point of his bounding box when he goes up a slope on his right or left respectively, at the moment I'm moving the characters transformation point around by moving the character around within a movie clip.

Unfortunately, because I then need to do a bitmap hitTest(), the bitmapdata itself isn't rotated so doesn't hit test correctly!

I think I can solve this by rotating the bitmap data instead of the character, using a transformation matrix but I've never used one before and can't get my head around how to use them!

Here is the code:


Code:
if (htBR) {
duplicateCharBitmap.x = -40;
duplicateCharBitmap.y = -40;
charBitmapMC.x = charMC.x + 40;
charBitmapMC.y = charMC.y + 40;
while (!slopeHit) {
charBitmapMC.rotation -= 1;
if (duplicateCharBitmap.bitmapData.hitTest(new Point(charMC.testX, charMC.testY),255,hitTestBitmap.bitmapData, new Point(0,0))) {
charBitmapMC.rotation +=1;
slopeHit = true;
}
if (charBitmapMC.rotation < -50) {
slopeHit = true;
trace("broke out");
}
}
}
if (htBL) {
duplicateCharBitmap.x = 0;
charBitmapMC.x = charMC.x;
duplicateCharBitmap.y = -40;
charBitmapMC.y = charMC.y + 40;
while (slopeHit) {
charBitmapMC.rotation += 1;
if (duplicateCharBitmap.bitmapData.hitTest(new Point(charMC.testX, charMC.testY),255,hitTestBitmap.bitmapData, new Point(0,0))) {
charBitmapMC.rotation -=1;
slopeHit = true;
}
if (charBitmapMC.rotation > 50) {
slopeHit = true;
trace("broke out");
}
}
}
Thanks in advance for any help!

Transformation Matrix Help
I'm trying to get my character to rotate smoothly as he walks up a slope in my side-scrolling tile-based platform game.

Because He will need to rotate around either the bottom right or bottom left point of his bounding box when he goes up a slope on his right or left respectively, at the moment I'm moving the characters transformation point around by moving the character around within a movie clip.

Unfortunately, because I then need to do a bitmap hitTest(), the bitmapdata itself isn't rotated so doesn't hit test correctly!

I think I can solve this by rotating the bitmap data instead of the character, using a transformation matrix but I've never used one before and can't get my head around how to use them!

Here is the code:


ActionScript Code:
if (htBR) {
    duplicateCharBitmap.x = -40;
    duplicateCharBitmap.y = -40;
    charBitmapMC.x = charMC.x + 40;
    charBitmapMC.y = charMC.y + 40;
    while (!slopeHit) {
        charBitmapMC.rotation -= 1;
        if (duplicateCharBitmap.bitmapData.hitTest(new Point(charMC.testX, charMC.testY),255,hitTestBitmap.bitmapData, new Point(0,0))) {
            charBitmapMC.rotation +=1;
            slopeHit = true;
        }
        if (charBitmapMC.rotation < -50) {
            slopeHit = true;
            trace("broke out");
        }
    }
}
if (htBL) {
    duplicateCharBitmap.x = 0;
    charBitmapMC.x = charMC.x;
    duplicateCharBitmap.y = -40;
    charBitmapMC.y = charMC.y + 40;
    while (slopeHit) {
        charBitmapMC.rotation += 1;
        if (duplicateCharBitmap.bitmapData.hitTest(new Point(charMC.testX, charMC.testY),255,hitTestBitmap.bitmapData, new Point(0,0))) {
            charBitmapMC.rotation -=1;
            slopeHit = true;
        }
        if (charBitmapMC.rotation > 50) {
            slopeHit = true;
            trace("broke out");
        }
    }
}

Thanks in advance for any help!

Scaling With Matrix Transformation
Hi
I am creating an application using flash as3. Can some one give me idea for scaling formula. i am try to create objects which should be scalable at runtime just like flash .
the shapes (rectangle , circle) are creating ,now i am trying to attach the shape with transformation points with can be scalable .
Please give idea ....
Thanks in advanse
shobhaweb

Original Size Before Matrix Transformation
Hey guys, I'm not used to use Matrix transformation, but I just wrote a code that skews a MovieClip which then automatically changes the height of the MovieClip.
But I need to be able to find out what the height would be without the transformation (if skew would be 0).
Putting it into a variable before I transform it doesn't work since the actual height (without transformation) might change while it is skewed.
Does anyone know about an easy solution?

Perspective Shadow And The Transformation Matrix In AS3
I read Senocular's brilliant tutorial on Understanding the Transformation Matrix in Flash 8. I don't think I've ever seen an internet tutorial on any subject that was put together better than this one--kudos Sen!

I'm attempting to create a dynamic perspective shadow system in Flash 9 (AS 3) that would have the following constructor:

ActionScript Code:
public function PShadow(mcClipToShadow:MovieClip, nAngle:Number = 45, nDistance:Number = 20, nAlpha:Number = 90, nBlur:Number = 10, nXOffset:Number = 0, nYOffset:Number = 0)
{
//do stuff
}



The function would duplicate the mcClipToShadow MovieClip to use as the base shadow, apply a 100% black tint, set the alpha to nAlpha, and apply a blur filter with Blur X = Blur Y = nBlur. Then a transformation Matrix would be applied that would skew the shadow sprite so that it was cast in the nAngle direction with length nDistance.

The only part that I'm having trouble with is solving the math for the Matrix. I've played a lot with the swf's in your tutorial to better understand how the matrix manipulates things, but I'm still having troubles doing the math properly. My goal is to simply plugin the variables from the constructor into the Matrix constructor and the proper shadow will result.

Any suggestions?

Thanks!
~JC

Flipping A Display Object (matrix Transformation)
Hi,

Anyone knows the matrix that will flip a DisplayObject along the y axis. I don't want the scaleX = -1. It doesn't work on this particular case.

thanks

Understanding Matrix
i have quickly realized i am going to need to understand the Matrix class, what it is, how it works, and what it does...i reasearched some via Google, but i am confused...can you all help me out? Direct me? and if this is the wrong forum, HUGE apologies...i am starting anew here....thanks

Logic Help: Matrix.b Based Upon Matrix.a Values
Hi ya,

I have always had a hard time figuring out the best way to make a relationship between 2 changing values. Often times I use percents, but in this case that wont work very well.

Anyway, I'd like for the attached movieclip to scale up and then scale back down (and maybe one dip down some). What is the best way to corolate (sp?) these two values?

Cheers



ActionScript Code:
import flash.geom.Matrix;

// set up Matrix filter
var matrix:Matrix = new Matrix();
var totalSkew:Number= -0.3;
matrix.tx = text_mc._x;
matrix.ty = text_mc._y;

// initialize degress and radians
// conversion: radians = degrees * (Math.PI/180);
var radians:Number = 0;
var degrees:Number = 0;

text_mc.onEnterFrame = function():Void
{
    // increment the degrees of rotation and convert to radians
    degrees += 3;
    radians = degrees * (Math.PI/180);
   
    // calculate x scaling
    matrix.a = Math.round(100 * Math.cos(radians)) / 100;
   
    // calculate y skewing
    var range:Number = degrees % 91;
    var percent:Number = (range / 90);
    matrix.b = percent * totalSkew;
   
    // apply transformation
    text_mc.transform.matrix = matrix;
   
}

[FMX] Matrix Algebra And Matrix Inverse
Has anyone here ever developed a function (or general library of relevant functions) that will allow one to find the inverse of a matrix? I've searched the forum archives, as well as the internet more generally, but haven't found anything. If anyone has some leads, I hope you'll pass them along.

If I don't hear anything within the next few days, I might try to develop something on my own, but I'd hate to do so if someone has already done the dirty work.

A solution to this problem would be very useful for 3-D work or anyone doing mathematical programming more generally.

Thanks,
Chris

Reset Transformation Point/Set Transformation Point
When I right-click a symbol the options "set transformation point" and "reset transformation point" come up. They don't seem to do anything for me. I thought it would center them or something. This is not the case. I have the white transformation point in one corner in one keyframe and a different corner in another keyframe I click "reset transformation point" on both frames and they don't move.

How do these options work?

Transformation
Do we have any script to have such a transformation effect on any object?
Thanks.

MC Transformation
Hi all,

Is there a way to transform rectangle picture MC to round shaped MC by using AS? Is ok to distort a picture.

Text Transformation
Hi,

I'm creating a movie clip in which a word of my text should morph by itself so that it changes the slant slightly on each letter in specific directions automatically. So far, I broke everything down to symbols and 3 groups, each one the word in the three different slanted states so that when one morphs to the next quickly, it looks like the letters are shaking. The groups are now in my library. I double clicked on one instance to make it a movie clip. How do I tween the words so that they transform properly? Thanks.

[F8] Tween Bmp Transformation
Hi,

I've been attempting to create a flash app that can tween bmp tranformations using the skewedmoveclip.as class
I've so far managaed to get Flash to skew a rectangular image with the following code:

#include "SkewedMovieClip.as"

var rad = (Math.PI/180);
//
squareMC.setSkew(null, 0*rad);
trace([squareMC._xskew/rad, squareMC._yskew/rad]);
squareMC._yskew = -10*rad;
trace([squareMC._xskew/rad, squareMC._yskew/rad]);
//
squareMC.setSkew(0*rad, undefined);
trace([squareMC._xskew/rad, squareMC._yskew/rad]);
squareMC._xskew = 0*rad;
trace([squareMC._xskew/rad, squareMC._yskew/rad]);

This is working well however, I would like for the transformation to be tweened from a rectangle, to the skewed result.

I'm not sure this is possible with skewedmoveclip.as but if anyone knows how using this class or the sandy distordimage class (or any other methods, fuse etc) then i'd be grateful for the advice.

The following example shows what I'm attempting to do:
http://davgra0.100webspace.net/skew/skewExample.html

Transformation Point
My transformation point is off center. How can I center it again?

Thanks

Transformation Point
This seems like the dumbest question ever, but does anyone know how to move a transformation point on a movie clip? I have a gun turret that I want to rotate around a point at the base of the gun and all I want to do is move the transformation point. Everything I read says all I have to do is click it and drag it, but there's nothing I can do to select it; if I try to drag it, it simply drags the entire movie clip.

Colour Transformation
Hello all.

Can anyone help me create the following effect?

User rolls over a radial gradient area and it fades to a new gradient colour

User rolls off the same radial gradient area and the colour fades back

I've been unsuccessful at creating this effect via actionscript.

Any help would be greatly appreciated

-Atrus

Transformation Point
This is probably really trivial, but how do I set an object's transformation/registration point in AS3, not the IDE?

Transformation Point
hello;

is it possible to group two mc together and have their correspondant tranformation points preserved?

Transformation Point
This seems like the dumbest question ever, but does anyone know how to move a transformation point on a movie clip? I have a gun turret that I want to rotate around a point at the base of the gun and all I want to do is move the transformation point. Everything I read says all I have to do is click it and drag it, but there's nothing I can do to select it; if I try to drag it, it simply drags the entire movie clip.

Tween Bmp Transformation
I've been attempting to create a flash app that can tween bmp tranformations using the skewedmoveclip.as class I've so far managaed to get Flash to skew a rectangular image with the following code:

#include "SkewedMovieClip.as"

var rad = (Math.PI/180);
//
squareMC.setSkew(null, 0*rad);
trace([squareMC._xskew/rad, squareMC._yskew/rad]);
squareMC._yskew = -10*rad;
trace([squareMC._xskew/rad, squareMC._yskew/rad]);
//
squareMC.setSkew(0*rad, undefined);
trace([squareMC._xskew/rad, squareMC._yskew/rad]);
squareMC._xskew = 0*rad;
trace([squareMC._xskew/rad, squareMC._yskew/rad]);

This is working well however, I would like for the transformation to be tweened from a rectangle, to the skewed result.

I'm not sure this is possible with skewedmoveclip.as but if anyone knows how using this class or the sandy distordimage class (or any other methods, fuse etc) then i'd be grateful for the advice.

The following example shows what I'm attempting to do:
http://davgra0.100webspace.net/skew/skewExample.html

Scable Transformation
how do i do like a rectangle expand while moving from one point of X-axis to another?

Tween Bmp Transformation
Hi,

I've been attempting to create a flash app that can tween bmp tranformations using the skewedmoveclip.as class
I've so far managaed to get Flash to skew a rectangular image with the following code:

#include "SkewedMovieClip.as"

var rad = (Math.PI/180);
//
squareMC.setSkew(null, 0*rad);
trace([squareMC._xskew/rad, squareMC._yskew/rad]);
squareMC._yskew = -10*rad;
trace([squareMC._xskew/rad, squareMC._yskew/rad]);
//
squareMC.setSkew(0*rad, undefined);
trace([squareMC._xskew/rad, squareMC._yskew/rad]);
squareMC._xskew = 0*rad;
trace([squareMC._xskew/rad, squareMC._yskew/rad]);

This is working well however, I would like for the transformation to be tweened from a rectangle, to the skewed result.

I'm not sure this is possible with skewedmoveclip.as but if anyone knows how using this class or the sandy distordimage class (or any other methods, fuse etc) then i'd be grateful for the advice.

The following example shows what I'm attempting to do:
http://davgra0.100webspace.net/skew/skewExample.html

Gradient Color Transformation
Ok yeah, we've all heard of changing colors, and fading things with actionscript, assuming that the object has only one color though! So! What do you do when you have a, ... I don't know a green sphere ... that has a gradient fill from green to a dirty brown green, and you want to use Actionscript to make copies of the same vector, but with a gradient that is slowly going from the green gradient to a red and dark red gradient?

I am sure it is possible by tinting the object, but I am not sure how to write the script myself ... still looking in the reference

Anyway, if you know any method(s) please post, thanks

Smooth Color Transformation
Does anyone know how to achieve a smooth color transition. The best example i have seen is the American Folk Art museum website, at www.folkartmuseum.org/. Is this done with actionscript, or is it a achieved with the movieclip timeline with labels and tweening. Thanks for all of you're help.
-Wilson

Photoshop --flash Transformation
hi all

right now i'm making a site but i got some probs transforming images from photoshop into flash

here is a screenshot:

http://users.skynet.be/bk317500/kater/5/music.jpg

I made this screenshot in photoshop and now I wanna complete it in flash to give it a dynamic touch .

But I got some probs transforming these images from photoshop into flash.
As you see most of the images/text have a glow and some extra effects on it.
I used blending options in photoshop for that. And I gotta make a transparent image of all the text and images and build it into flash again.
But I got troubles exporting the images
I use “export transparent image” in the help menu from photoshop.
But when I import it into flash I only have for example some text without the glow effects ect….and it’s in black and white

And it’s essential that every image is transparent because all these images have to be reassembled in flash.



Can someone help me with this? Thnx a lot ppl

ps: i use flash 5 and photoshop 7

Text Transformation Problem
hey, im kinda new to flash but i know exactly how to use it, all the pro's out may think im stupid, i duno. anyway im working on my flash website and i want a logo in the top corner, i had the idea about a globe with text moving around it, my inspiration came from the universal logo. its the same thing but with my text instead of 'universal', the problem is that i can transform the text around a circle in fireworks but i want the text standing up not flat around the circumference. i dont no how to transform the text so i can do this. your help would be much apreciated

thx.mark.

Pictures And Flash Transformation
Hi,

In my FLA, I have imported into my library two JPEGs, say 90035_small and 90035_large. It is the same picture that I have resized in two different formats with PhotoShop.

My question is: Would it be better to only import the larger JPEG into my library and have Flash resize it? Would that method make my FLA file smaller in size?

Thanks,

L.

Please Help Color Transformation Question...
Hello. I've tried researching and posting on forums and I can't seem to find and answer I'm looking for.
I need some serious help on the next phase of my website.
I’d like some background symbols of my website to change color when the viewer clicks on any button to navigate through the site. I’d like the color change to fade (for example a fade from green to blue). I’m not sure if this is possible to do in actionscript.
So when you think about it, what I’m asking is for the background objects (lets say they're green) to be ready to change to either red, blue, or purple, etc depending on what button the user clicks. Is any of this possible in actionscript?

Some background info
* There are four buttons that will ignite a color change
* There are five symbols in the background that will change color. Their names: shape, stripe, square, logo, and slogun
* I'm using FlashMX

My main trouble is in the scripting… I’m clueless!! Please help! Thank you!

My website is www.joko.us I can elaborate on what specifically will change and cause change if needed.

Bitmap/graphic Transformation
hi all

how do i make this transition between the first (smaller image) and the second bitmaps smooth?
http://guey.el.net/k/tests/fl/f.html

thanks...

Centering Scale Transformation
I need to centre the transformation applied by the transform matrix in AS3. E.g centre at bottom, bottom right, some point x,y in bounding box. How can I set this attribute ?

Transformation Point For Rotation
Before in flashMX the transformation point of rotation was BY DEFAULT at the 0, 0 (or point of origin) in a symbol.
This alone left the use of rotation in tweening fluent and easy but now in Flash 8 professional, it as the weird tendancy to center itself BY DEFAULT and returning to 0,0 only if I start a transformation and double-click on the transformation point.

I want to know how I can BY DEFAULT put this transformation point to 0,0 because this is increasingly annoying when you have a lot of symbol to work with.
Thank you





























Edited: 05/05/2007 at 05:23:31 PM by OmniFlash

Lines = Shapes = Bad Transformation?
Hellow,

I made a symbol out of lines. Now I want to change the shape into a different size, very thin. However, when I place in the shape tween all these lines fly out of nowhere and instead of getting a smooth tranformation I get something that looks more like a morph. I can't make my shape into a symbol or group it or else the only tween I can do is a motion tween.


Can anyone help... thanx.

BitmapData And Transformation Matrices?
I've started getting to grips with using the BitmapData class and a Transformation Matrix in the hope that I can start making some interesting image effects. However, at the moment Im having trouble figuring out how to shift the newly created bitmap so that any scale transformations are applied from the center rather than the top left corner.

See here for example: http://www.duncanhall.net/tmatrix.html

The flower on the left is the original, the flower on the right is the new image created using "bitmapData.draw()". It has been scaled up to twice the size, but I want this to happen from the center of the image.


ActionScript Code:
import flash.display.BitmapData;import flash.geom.Matrix;/*******************************VARS*******************************/var the_bmp:BitmapData = new BitmapData(flower_mc._width, flower_mc._height, false, 0x00FFFFFF);var m:Matrix = new Matrix(1, 0, 0, 1, 0, 0);    m.scale(2,2);/*******************************RUN*******************************/the_bmp.draw(flower_mc, m);this.createEmptyMovieClip("holder_mc", 10);holder_mc.attachBitmap(the_bmp, 10);holder_mc._x = 300;holder_mc._y = 75;


If anyone can help me on this I'd most appreciate it.

Actionscript Color Transformation
I have an MC with the instance name "building". I want to be able to change the RGB color values of this MC with three buttons for example.

for example, one button would change the RGB values to 60 89 159

another button would change the RGB values to 50 251 59

another button would change the RGB values to 22 21 59

And, when the button is clicked, the new RGB color value should fade in without the old values fading out ...
any aid is appreciated...

Color Transformation - HUE Increase
Hello!

I use the following code to change the color of a gradient logo:

var myColor:Color = new Color(logo_mc);
myColor.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0});

Playing around with Fireworks, however, I found out that if I were to increase HUE from 0 to 121 the logo would look much better.

Does anybody have any idea how to modify the object {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0} to reflect a HUE increase of 121 points?

Thank you very much!

Lines = Shapes = Bad Transformation?
Hellow,

I made a symbol out of lines. Now I want to change the shape into a different size, very thin. However, when I place in the shape tween all these lines fly out of nowhere and instead of getting a smooth tranformation I get something that looks more like a morph. I can't make my shape into a symbol or group it or else the only tween I can do is a motion tween.


Can anyone help... thanx.

DCT (Discrete Cosine Transformation)
I want to do a DCT on a bytearray, which is built from a bitmap in AS 3.0. Unfortunately I am not very good at the more complex math. So I am kind of at a loss where to begin.

My main purpose for this is I am trying to setup streaming webcam functionality using a socket server, and unfortunately, it's not the easiest to do streaming stuff if you're not using media server/net connection/net stream.

Any other guidance or feedback would be greatly appreciated, or anything other ways to streamline the feed, (I am already aware of compressing the byte array).

Movieclip Distortion/transformation
If I have a movieclip is there anyway to set the location of it's four corners dynamically in such a way that will distort the original shape of the clip? Specifically changing a rectangular clip from: |___| to: \___/

Loading Bar 'Transformation' Point
Hey All

Ive included the swf file below so you can see clearlym what im on about...

Ive just created a loading bar for one of my flash movies.

The only thing at the moment is that the loading bar grows from the centre outwards. I want it to grow from the left to the right, just like most normal loading bars.

Can anyone tell me how to do this?? Ive tried changing the transformation point when editing the bar, but that didnt seem to work.

Also, the way ive done the buttons is the usual way with the Up,Over,Down and Hit keyframes, and it works fairly well. The only problem is, if you run your mouse over where the images appear, then it displays the image for the uppermost layer button (here its the buy uni kit button)
How can i stop it from displaying this buttons 'over' state when i run over this picture area??

Heres the swf file for you to look at to better explain what i mean:
http://www.leedscanoeclub.org.uk/im.../luucc_menu.swf

Effects (transformation): Error During Preview
Following error occurs if I want to transform a certain area of a project (just can use "effects" on the whole project):

Error opening URL "file:///C|/Dokumente und Einstellungen/Simon/Lokale Einstellungen/Anwendungsdaten/Macromedia/Flash MX 2004/de/Configuration/preview1.swf"
Exception error in reverse: TypeError: tmpFrame has no properties

Thus I can't see any preview.

Thanks for help!

Whats The Fill Transformation Tool Do?
I dont know if it's just me but i dont get the fill transformation tool :-(

Dynamically Setting Transformation Point
Hi,

I have a blank movieclip and actionscript loads a jpeg into it. Right now, when the jpeg is loaded in, the registration and transformation point is located on the top left corner of the image. This seems to be the default.

I'd like to keep the registration point in the top left corner of the image but I want to move the transformation point to the center of the image. I need to do this using actionscript as everything is dynamically created and set.

Is this possible and how do I go about doing this?

If this isn't possible, how do I go about loading a jpeg into a movieclip and setting both the registration and transformation point to dead center?

Please help.

Thanks.

[MX04] Fill Transformation Tool
i just cant get the fill transformation tool to work. What do i have to do before i can use it

No Preview In The Transition/Transformation Dialog Box
I am a student just learning flash.

I have Windows XP 64 bit home premium edition.

I have a student license for the Flash CS3 Pro on my computer.

This is the problem that I am having with Flash.

When I go Insert (menu at top)> Timeline Effects> Transition (or Transform), the transform or transition dialog box will open but I get the following threee syntax errors: object.fxutil has no properties, missing ) after argument list, and unterminated sting literal.

Then, once the Transform or Transition dialog box finally opens after continuous cycling of these error messages, it will not preview any changes that I make to my graphic. I have tried converting the object to a symbol and dragging a new instance on the stage and breaking apart the instance first from the original symbol in library. Nothing seems to help. But, the changes get made to the graphic/object, but I can't preview and tweak my changes before I click okay in this dialog box. When I do click okay, it still cycles through the previous mentioned syntax errors but makes the changes.

I am a newbie and not a computer programer. I am studying web deisgn. Yikes I am up a creek.

I am contacting abobe as well. I don't know where to go to get an answer for this problem.


mod edit: no need to make everything so huge.. normal font is fine.

Transformation Applying Wrongly To Parent Mc
i'm baffled. i had this swf working just fine and now all of the sudden it's not.

i pass a variable (thePage) into the swf from HTML. That works fine. Inside the root i have a movieclip called "services_mc" that has four buttons in it. if you're at a button's respective webpage, i "replace" the button with a graphic. The pertinent actionscript on the first frame of "services_mc" is as follows (shortened):


ActionScript Code:
stop();
switch (_parent.thePage) {
case "video" :
    theIcon = "icon-video";
    video_btn._visible = false;
    this.attachMovie("services-video-active", "selectedSection", this.getNextHighestDepth());
    selectedSection._y = video_btn._y;
    break;
case "internet" :
    theIcon = "icon-internet";
    internet_btn._visible = false;
    this.attachMovie("services-internet-active", "selectedSection", this.getNextHighestDepth());
    selectedSection._y = internet_btn._y;
    break;
case "print" :
    theIcon = "icon-print";
    print_btn._visible = false;
    this.attachMovie("services-print-active", "selectedSection", this.getNextHighestDepth());
    selectedSection._y = print_btn._y;
    break;
case "marketing" :
    theIcon = "icon-marketing";
    marketing_btn._visible = false;
    this.attachMovie("services-marketing-active", "selectedSection", this.getNextHighestDepth());
    selectedSection._y = marketing_btn._y;
    break;
default :
    theIcon = "icon-none";
}
//trace("theIcon: "+theIcon);
icon_mc.attachMovie(theIcon, icon, 1);

//----onRelease-------------------------
video_btn.onRelease = function() {
    getURL("video.html");
};
print_btn.onRelease = function() {
    getURL("print.html");
};
internet_btn.onRelease = function() {
    getURL("internet.html");
};
marketing_btn.onRelease = function() {
    getURL("marketing.html");
};
The problem is that instead of "selectedSection._y = marketing_btn._y;" referencing the new graphic pulled in from the library, somehow it's referencing "services_mc", so the whole parent movieclip is moving instead of the new graphic inside that movieclip. What's going on?

i even tried the reference:

ActionScript Code:
activeBtn = this.attachMovie("services-video-active", "selectedSection_mc", this.getNextHighestDepth());
activeBtn._y = video_btn._y;
and also tried using the initObject:

ActionScript Code:
this.attachMovie("services-video-active", "selectedSection_mc", this.getNextHighestDepth(), {_y:video_btn._y});

Transformation Point For Center Rotate
I have a MC like a circle .. with a button its rotate 5 degrees:

Code:
_parent.dayereh._rotation+=5;
but this object not moving from center. I selected Free Transform tool and moved transformation point to center but still its rotation from top-left.

thanks

Copyright © 2005-08 www.BigResource.com, All rights reserved