Search:
Type: Posts; User: gamist
Search:
Search took 0.03 seconds.
-
Wow. It's more than just a start. I was really struggling with this one. Thank you so much. Now I'm going to mess around with it to get it to work with my current code. Thanks again!
-
Thanks for the reply. Unfortunately that only allows the user to drag horizontally. I also need the option of the mc to be dragged vertically as well. The mc would either be dragged straight up/down...
-
I know you can restrain an mc in a rectangle when using startDrag, but is there a way to have the mc only go horizontal or vertical without going off diagonally? Sort of like a slider that can only...
-
I haven't been successful in finding this answer. I'm trying to have a swf recognize what url the swf is embedded in. For example, if the swf is embedded in html on a page with the url...
-
You're right...I wasn't close.
I made some changes, and now I can't get it to fail, so I guess I either fixed the problem or I have to wait until it fails again to see if the try/catch works....
-
I've been trying the try/catch, but can't get it to work. Is this the correct way of doing it?
function globalXMLLoaded(event:Event):void
{
try
{
trace("the external xml data that...
-
Copy and paste fail. I just edited my original post to include it.
-
Sometimes my swf can't receive data from an xml and load it. I don't know why sometimes it works and sometimes it doesn't, but I'm trying to have the code respond if it doesn't load. I've looked...
-
-
Thanks for the reply. Now I get the following error:
1119: Access of possibly undefined property txt through a reference with static type Class.
-
I have a class called Background that has a function that creates a textfield when my movie is first called:
public function MakePoint() {
var txt:TextField = new TextField();
addChild(txt);...
-
It was a path issue. Thank you!
-
I used the code below to make a preloader and it works fine when I try it locally, but gives me the following error when I try to use it in a website: "Error #2044: Unhandled IOErrorEvent:....
-
Thanks deadlock32! I love simple solutions.
-
I need one of my classes to contain a counter, where every time a new instance of that class is created the internal counter increases. For example, the third time a new instance of the class is...
-
I figured it out. All I needed to do was add the following line of code:
container_mc.addChild(maskShape);
-
I have an image in my library and I draw a draggable bitmap circle on the stage (using a mask). So, a portion of the library image (subway) is a circle that can be dragged. The problem is when I...
-
Thanks neznein9. I'm going to stick with the matrix technique because it seems to work better for me.
Is there a way to draw in a shape other than a rectangle? Like a circle?
-
I somewhat figured it out. For anyone who cares, I had to add a matrix to bitmap drawing. Something like
var thisMatrix:Matrix = new Matrix(1,0,0,1,-100,-100);
var bmpData:BitmapData = new...
-
I want to use the bitmap features of actionscript to take a take a 'photo' of an image. Actually, just a portion of the image. Right now I can control the width and height of the bitmap, but I can...
-
Oh, I see. Thanks, that worked. And, thanks for taking the time to make it so clear. I appreciate the lesson.
-
Not sure why the errors came out so screwed up, but basically there were four errors in the Other.as
-
I really appreciate you taking the time to make that so clear. I pasted it just like you wrote it, but I'm still getting some errors. I tried figuring out how to get rid of the errors, but had...
-
Thanks for the example, but I couldn't get it to work. Does the MainClass.as have to call Second.as?
-
Thanks for the reply. I tried extending the Other class, but it still didn't work. Could you give me an example of how to do it?
I tried the following in Other.as:
package Example {
...
|
Click Here to Expand Forum to Full Width
|