Hi all -
I need to find a way to copy a masked bitmap. I have a bitmap on stage, and a user drawn sprite that acts as a mask. I need to capture/copy the masked area bitmap, maintaining the transparency created by the masking to eventually encode as a png.
I could find no documentation on how to accomplish this using copyPixels(), or an...
Hi,
I have a movieclip with a child button in it.
The movieclip can be dragged and dropped. I want to disable dragging and dropping of the movieclip when I press/drag on the child button. mouseChildren=false and mouseEnable=false don't work, since I want to keep my mouse events for the button.
---------------------------------
| Movie...
Hi,
I would like to use a flash menu in Asp.net 2.0. However, I have two problems:
How do I keep the menu static so the animations do not refresh with page clicks? Example would be like a 'frames' but within ASP.NET 2.0... Do I use the old HTML Iframes approach?? Or can I use something more contemporary using AJAX or something like ...
so I have a SWF file. It can generate Jpeg images. I want to get that images by url (for ex www.my.com/file.swf#image.jpeg) I want to get just clean image (no flash no sign of flash). So as if i was just calling my apache server to give me that image.
So how to do such sing with AS?
I need Libs
Tutorials or anething.
...
Hi all! I am calling on different types classes from within a loop. The objects can be of different types so therefore I am using the getDefinitionByName method. here is a piece of my code:
for(var y = 0; y < mapH; y++)
{
brickHolder[y] = new Array();
for(var x = 0; x < mapW; x++)
...
Hi,
I have a very complex function in as3. The function is composed of many other functions which are nested inside of it. The main function has variables and all it's nested functions also have their own variables. Some of the nested functions are called by events that were added in the main function or in another nested function.
Now...
I have a "box_mc" movieclip on the root of my stage and I need to select it from within my Document Class. I thought Stage.getChildByName("box_mc") would work, but it just returns null. Thanks in advance.
...
Can I get something like this http://myffi.biz/ , which selects the continents when I hover on the languages? I have searched a lot for this kind of map but have not been able to find any.
...
I can't get my Yahoo! Application Platform to run I keep getting denied access even though their policy file accepts requests from any domain.
OK: Policy file accepted: http://social.yahooapis.com/crossdomain.xml
Error: Request for resource at http://social.yahooapis.com/v1/user/<user id>/profile?oauth_signature_method=HMAC-SHA1&lang...
Hi there,
Im trying to use JS to send data to my Flash AS2.0 music player with ExternalInterface, except there are no good tutorials or guides on ExternalInterface that I can find. I want to be able to change the current song in the player by clicking a JavaScript link, and on page / window load without clicking, play a default song.
...
Hi
We have a few flash files f1.swf, f2.swf .... fn.swf.
We would like to be able to display a slide show of these different files in c# using winforms.
Each flash file is a slideshow by itself. At the end of slideshow for f1 we need to display a message and ask the user to repeat it or continue. Just wondering if anyone has any suggest...
Help, I'm getting desperate now.
I've been searching the web high and low, but I can't find thats close to what I'm looking for.
I need a flash or jquery module that will display X number of images (3 in my case) and hide the rest. The center image is the focus image, to the right would be your next image and to the left would be the p...
This is driving me crazy. It seems I cannot use ScrollPane ANYWHERE in my AS3 code without it crashing every dropdown box in the program.
Here is the error message I get when clicking a dropdown box:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at fl.containers::BaseScrollPane/drawBackground()...
Hi,
Is there some ways to develop a SEO friendly flash site? I read in an article that flash sites are not SEO friendly one. But my friend said that there must be some techniques. Please let me know, if it's possible.
...
I am trying to match a setup the designer did in the Flash CS4 IDE:
I'm using Away3D for this project.
I wrote a little as3 snippet that spits out the Location(x,y,z) and Rotation(rotationX,rotationY,rotationZ) of the planes, keeping in mind that in the IDE,
top left is 0,0, not the centre of the stage and y increases in the opposite ...
REF: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Loader.html
With regards to a parent SWF loading a child SWF via the Loader class, is it possible to prevent the loaded child SWF from:
Making any network calls, or
Making calls to specific domains
Basically, I'm looking for a programmatic version of allowN...
When I destroy my objects that are on the stage. I usually just removeChild(this) and I remove event listeners of the object. is this all I need to do to completely remove the object ??
...
Hi everyone, I just wrote a Background class for a new project. The background is basically going to be 2 rounded rectangles with a simple stroke and fill color laid on top of each other.
Anyways right now I'm just trying to draw out 1 rounded rectangle, but for some reason I don't see it anywhere on stage :( No errors and my traces tra...
I'm making an arcade game in as3 and I want to draw pixely(unsmoothed by flash) lines. I'm drawing the pixels 'by hand'(not with flash's lineTo or anything) onto a bitmapdata object.
The lines don't appear quite right though, when zoomed out the line is rendered 2 pixels thick at some parts. However by zooming it its apparent that t...
I've tried a bunch of different variations of CSS to try and overlay HTML over SWF objects but I've had a couple of hitches.
Safari 4.0.3 PC:
SWF Object always render above HTML.
Firefox 3.5.6 PC:
Rendering apprears fine but when animating HTML over SWF'S the divs slightly flicker.
I'm using the Fx.Slide class from mootools-more-1....