I have a motion tween that adds effect to a Symbol of type Graphic. My question is this:How can I change the graphic dynamically? I want to change the graphic to one inside my xml file. I am reading through my xml file fine, I just need to know how I can take the url to my new image and put it into my symbol.
the only thing I found in the documentation was loadBitMapdata and methods of that type. Not sure if that's what I want.
In particular, I have an existing movieclip that is linked in my library. It has a graphic, a timeline, etc. However, I want to dynamically change it to another graphic and timeline.
Do i have to create a new movie clip with the new graphic and timeline? But I still want to keep all the attributes of my original movieclip, I just want the new graphic and timeline.
I'm looking at creating some template designs for presentations and stuff like that. The only problem I have is not being able to get the consumers tastes down to a tee. The thing that is letting me down at the moment is that im not sure how to dynamically chage the colour of a graphic once a certain button has been clicked. e.g "say if i have index as my default page and the colour scheme is different tones of red how would i be able to change this to blue or green once another button has been clicked."
It would be much better to have this layed out as 'AS' rather than having many different (goto frame label and stufflike that. Im trying to phase myself out of tweens and focus more on the AS side of the whole game.
So lets say I make a chess board in flash that is a top down view. Then if I want it in isometric view I simply go to the transform window and enter the skew properties of 60 and 30.
Now here is my question, is there a way to change from this ISO view back to the normal top down view?
I have been facing with some issues with lags in my Flash applications and wondering if it is possible to dynamically set Graphic Quality in Flash based on user's machine spec or connection speed so that I can set the Graphic Quality to Medium or even Low when the user's machine is unable to handle it.
the mouse_over state im doing tweens the alpha of a button to reveal more buttons underneath.The only problem with tweening the alpha of a MC is that I cant click on the buttons underneath, only a graphic. However, I cant figure a way of just using a graphic symbol instead of a movieclip.And I really dont feel like using more than one frame, that is accepting defeat in my oppinion. ha
I am building an RPG type game in flash and have hit upon my first problem.I have created a character out of various different body parts (upper arm, lower arm, hand, head, etc..) I would like to make it possible to change the look of each of these body parts (different types of armor / clothing) whilst maintaining the whole body animations.I'm becoming confused about how many things are inside each other! Rather than recreate a whole new set of animations for every conceivable combination of armor and clothing it should be possible to simply change one of the graphics within the movieclip that is the character.
So the structure I have thought of is like this:Whole body > Changeable graphic > Base Body Part (bare arm for instance)What is a sensible way to go about doing this? I'd like to have a solution that is easily scalable and won't require notably more work if there are 10 different types of changeable graphic or 1000.I think that I need use the event that triggers the armor / clothing to change for that body part, to run a script that either somehow changes which graphic it is displaying, possibly inside the Base Body Part movieclip.
so i tried to make an emoticon in chat, it worked actually. but only if you type "/smile", it will turn into "" << colon and closed parenthesis. not if you type "bla bla bla ".
so here's the code i use:
Code: function onSendBtClick(evt:MouseEvent):void { if (ti_message.text == "/smile")
[Code]....
all I wanna do is change the "", "", and ":/" into animated emoticon (for example: "smile.swf", "sad.swf", "frown.swf") anyone know the code to replace the text-emoticon code i used..?
I've trawled the net trying to find a solution, but everything seems to be mxml-centric. What I want is to dynamically create a series of Graphics objects each with a child BitmapImage.[code]...
Is there a way to change a graphic, but keep the properties across frames such as size and positioning, so that the new graphic does everything the same? That's pretty much all I can ask since I don't really know where to start.
I have a blank movie clip that is loaded into my program 40 times. I have several different buttons that when clicked are supposed to change the graphic on these 40 objects to various different things. How do I code a button press to change the graphic in an object like that?
When a user finishes a drag and drop activity, they get a text that says "Congrats, you're finished". How do I change the congrats text to celebratory image/graphic pop-up that appears after they've finished the activity?
Below is the script I'm using... var startX:Number;var startY:Number;var counter:Number = 0; Cls_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp); Cls_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt); Dbdef_mc.addEventListener(MouseEvent.MOUSE_DOWN, [Code] .....
I have been searching around for help or a link to a tutorial that will have a movie clip that reacts with the server time and changes or moves according to certain times, allowing me to add a couple of tweens on the specific times.
I'm stuck on this annoying bug of Flash:to animate a character i have different graphic symbols of hand positions inside a single container graphic symbol; that way instead of having to swap different symbols while animating and tweening, i just have to change the number on the "single frame" input box on the properties of the symbol.
It worked fine a few sessions ago, but now it won't let me change the frame number if there's a tween before that keyframe; tha keyframe isn't participating on any tween, and may even have some frames between the previous tweening one. The only way it will change is if i remove the first tween or add a blank keyframe between them, wich of course isn't an option when animating... i know it would work if i add a new layer and continue there, but it'll add a lot of mess to the already busy timeline.
The strange thing is that it remains working on some frames, from the previous session, and if a cut and paste them i can change the frame number freely; but if i try to build a secuence from scratch, it won't let me, even on a new document.
I just wanna ask if I can change color of graphic symbol or i have to convert symbol to MC?
example: I make a rectangle, now i wanna with some color picker or buttom change a color of rectangle.
Second problem: i have two rectangles and i change bg. color of one rectangle, and when i changed the color of background of that rectangle tweening stop.
if you can set and change different properties of a graphic symbol using AS? I know you can change MC's and buttons. I also know that you can change graphic symbol properties using the prop inspector. I was thinking that since you can change properties like _alpha in the Prop Inspector, how to you set and control them using AS.
This is the website that I'm working on. Not much going on yet but I have this invisible button that turns the radio on and off.. what I would like to do is have an image of the radio that I made up where the light is on for when it turns on and then back to off for when it's off.
All my image buttons show a "home" tool tip when the cursor sits over them in the SWF file.How do I change the tool tip (or alt ) text on graphic buttons in Flash CS4?
I have a problem with scaleX and scaleY. When I use them for images created by photoshop their graphic decrease a lot. I use scaleX and scaleY for changing the size of image so scaleX equal with scaleY. Is there another way to change the size of image in actionscript without decreasing graphic?