i have an object (like square or something) and i need to animate it's decomposition and motion tween parts away. What would be the best approach to do that? My initial idea was something like: if this object is an image, maybe there is a BitmapData method that allows me to cut off a certain part of it so that i can save that part as movie clip and then tween it away?
in a nut shell I have found this wicked piece of open source actionscript.
It responds to the cursor and was wondering if it is posible to modify the x_position and y_position actions and make the action respond to a moving object???? (a movieclip with a variable name)
is this to complicated to attempt or is it doable??
I wondering if one of you experts would be able to explain to me or refer me to a video that would show me how to create the following effect.I have an image of a glass beaker on stage. When the user presses a button I want the beaker to shatter into a whole bunch of peaces. Is this possible using AS3.
Is there any way in flash 8 to creat feather effect for an object? (As there is a tool in photoshop: for a selection we can apply feather effect (from select - feather) after copy that selection to another place we gt feather effect).
I would like to make a mouse-over effect on an object. The mouse-over effect should work like this: when the mouse cursor is dragged over the object it should glow, but if the mouse cursor remains over the object it should still glow, but another mouse over effect should occur, showing an info box for the object. Until now I have just made the object as a button, and in the "over" box I have made the object glow, by defining it as a movie clip. However, this only works for the glow part. How do I add another mouse-over effect (which is delayed 1 sec) to the same object?
How do I make it so when I click an object, that object has an effect placed on it, using ambiguous programming, so I don't have to program each item individually.
I have created a textFormat object and applied to Dynamic text field, but I do not see the effect. Am I missing something? I have a section of the code belo. fields[h] is actually a dynamic text field in the case below. As you can see I have assigned the arial as a font and red color as its color. But when I run the movie, it has no effect at all. But if I trace the textFormat as below i can see arial and 0xff0000 (in decimal) in console.
i have a simple .fla here which by using masks appears to "draw" a wavy box... (kinda choppy, just made it fast for example), what i am wondering is if there is a same way to achieve this effect through actionscript (not just draw a box, but to reveal any picture or shape, for a "drawing effect")[URL]. i'm kinda newish to AS, not much more then basics.
I am new on AS3, I try to wrote an as3 file to add shadow effect on an object, it work fine, however I can't remove that effect by removeEventListener. AS3 file and FLA enclose.
i am trying to create a trail behind an object - like a mouse trailer. i have found many mouse trailer scripts but do not know what to adjust so that it will follow an object/symbol...
know if the index effect the scope of an object because I am creating a game and for some reason, I get an error like below
TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.objects::Torret/updateObject() at com.objects::EngineApi/loop()
[Code].....
updateObject is the loop for all my objects. I have one centralized loop and in that loop it calls on an array of objects that have been placed on the stage. all of them containing the method updateObject. to update the status of the object. addGameChild() is a encapsulated addChild() , that not only adds the object to the stage, but places it in a array so it's updateObject() method can be called on. it is also used to make it easier for garbage collection.
I have a div with a flash object in it. That div is going to pop up in a modal triggered when a user clicks a thumbnail of the flash presentation. The problem occurs when I try to use the scale effect to scale in or out, it errors out.
Here is the HTML: <div id="modal"> <object id="presentation" width="720" height="576" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="[URL]" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value=" video.swf" /> <param name="quality" value="high" /> [Code] ......
is it posible to use action script to change tint efect on object. I found only alpha property posible to change.. I nead to put color (100%) tint on instance.. an then using actions change this percents depending on user behaver... (I can do it withaut actions.. but I dont wont to.. (lot of work..)
I'm trying to do a cross-fade effect for my gallery. To do that, I'm using two movieclips, one that holds the image currently displayed, and another one that holds the image that should be displayed next. When the coming image is loaded, the cross-fade effect should happen, the container that holds the image that was on stage should be cleared out, then the image in the other container should be displaced to the former container.
Here's my code so far: function loadFirstImage():void { imageLoader = new Loader(); imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, addFirstImage); imageLoader.load(new URLRequest(myImages[0].url)); currentImage = new MovieClip(); [Code] .....
lets say we want to animate an object using the 3d position its (Z position)to be exact, from keyrame 1 to keyframe 40 or so on. i put the object on keyrame 1 to 10000position and view and then its keyframe on 40 to 0 position and view,so it looks like a nice object zooming towards you as you see it.but how can we get the object to constantly spin around and around(like from the motion presets from the default:spiral 3D ) .so it seems like a coin been tossed.
I want to rotate the object on these axes, but it's causing a problem in that I want to flip the image 180 degrees only, however the image becomes mirrored when it flips and you must continue rotating another 180 degrees to get it back to normal.
Is there a way to take off the image mirror when rotating something?
I would like to make a sort of menu where the buttons fade when the user moves the mouse over the object/button. The problem is that the fade is looping over and over again while the mouse is over the object. how I control the fade effect, so it only fades in once when the mouse is over the object and then fades out when the mouse leaves the object.
I want to modify an object's x position slowly (e.g. 4 pixels per frame) from actionscript. How do I go about doing this? It would be simple if AS3 had Sleep() and DoEvents() functions - are there equivalents?
i'm trying to get an effect by which an object (eg. the letter "A") is simulated to be drawn/rendered pixel by pixel, or something of a mosaic effect.
the only method i can think of is to arrange squares to fit my object shape and then load them one by one using actionscript, but due to the size of my squares the image turns out not very precise. (in other words, ugly)
i could ofcourse lower down the size of each square, but that's going to be very tedious and i dont really have that kind of time...
is there any specific code i could use? (newbie at actionscript here, dont know more than just the basics)
check out: [URL] The typewriter effect here is very fast, much faster than when I use onenterframe to produce the effect. Does anyone know how this is done?
I really like the text effect Pom used in the footer contest, and would like to use the same grid-type method of creating mc letters but with a different effect. i understand how to change the parameters and shapes of the letters, but can't seem to figure out which piece of code is purely for the explosion effect. basically, i want the letters but with the 'Repel' effect from[URL] here is Pom's AS:
[AS] cellSize=3; radius=10; damp=.85;
[code]....
and here is the .fla using the repel effect using pre-made mc:
It's a bit of decoration to go behind a logo. When the dMove var is commented out I get the appropriate line of squares fading in and out at random spots along the x = 78 axis, but when introduced nothing appears at all...
I want to be able to make a movie clip (that acts as a button) so the roll over effect finishes before the roll off effect is triggered. Like if a marker circles a button, i want the circling animation to stop before the roll off effects happens. Anyone know how to do this.
Several months ago I created this, The Halo Galactic Map. After talking with a lot of people on their opinions and such, I wanted to take it to the next level and replicate the map found in Mass Effect and Mass Effect 2 shown here.
Based on my knowledge of Photoshop and some... and by some I mean very VERY little Flash... I took it upon myself and another member of the community to create this.
All was going well until the member decided it wasn't his cup of tea. Basically, he didn't like that he couldn't do it well enough.
Ok, so I've installed Flash and tooled around with it for a bit, but I want to get going. I know this isn't the best place to post this thread - I know there are probably better places - but I just wanted to know where and what to begin with. I have the whole thing planned out in levels, layers, and motion...
So I have this Photo class than handles loading a pic, and dispatches an event when the loading is done with:[code]which is simple and works, but now I'd like to make something more advanced. I'd like to dispatch the load ratio.So far I have extended the Event class, with my own EventRatio class, and I can put properties on that class. Which is cool, but I need something more dynamic than just sending a fixed value.So, what is the best way to connect the Loader object of the Photo object, with the EventRatio object?