So, I'm working on the basics of Actionscript 3; making games and such.
I designed a little space where everything is based on location of boundaries, using pixel-by-pixel movement, etc.
So far, my guy can push a box around, and stops when running into the border, or when try to the push the box when it's against the border.
So, next, ...
Hi everyone,
I am a beginner of using air,I have searched some AIR examples that can save out a file without asking directory, but I put the code into my "test-app.xml",it seems dosen't work and when i complie again in flash,it said my decryptor has error, my "test-app.xml" is something like "",but in the tutorial is "
also,how can i p...
Hey Everyone,
Currently I am mostly a PHP/Javascript/CSS/HTML applications programmer. But I would like to start learning how to create flash movies also. However, I do not want to spend the money to get CS4. Can I create flash movies from only Actionscript 3? Or would anyone recommend that I jump straight to air? All of the different a...
I have a menu with button objects in As3. I want to display the page where user is and for this I must show buttons' over state (which is mc) when flash loads. I'm sending the page parameter to flash. I just need to play the movie clip inside the specific button.
Looking for something like:
btn1.m1.gotoAndPlay(1); or btn1.m1.play();
...
I want to latitude/longitude into X,Y coordinates in flash, So i tried these methods by googling.
Please can someone tell me some other way to calculate. because its not showing the expected places
public function getPoint(lat, lon) {
// First method
/*stationX = (180+lon) * (mapwidth / 360);
station...
I have four movie clips (.f4v) in 4 frames in a movie with watch buttons.. This movie has them been imported into a main movie container that has next and previous buttons. However if i play a movie then hit next frame, the movie continues to play in the background. How can I shop this? The code below shows one of the actionscripts for...
I'm working on a project in Flash CS4/AS3 and I have a document class set up but I am wondering about using that, as opposed to frame-based scripting. Most of what I have seen so far deals with how to create them, but doesn't offer much about why or when to use them.
I know I can also pull in other classes beyond the document class but,...
I want to retrieve the x,y and z positions of a MovieClip with 3d transformations applied using jsfl.
Once a clip 'enters 3d mode'(has 3d transforms applied), the usual properties(x,y) go to 0.
I have noticed that there is a Copy Properties option in the Timeline context menu. I only need 3d position, but that seems to get all I need a...
Hello,
I am using Adobe Flash CS4.
I want to upload the flash i've created to YouTube, but I see they accept FLV files format.
It seems like FLV is a Flash format, however when I save my file it saves it as FLA , or I can export it to SWF which is not supported by YouTube.
Trying to export the movie as MOV or AVI results a file with si...
Just to get some professional opinions, is it possible to load in an external SWF and set that SWF's background to transparent?
This question has nothing to do with embedding the SWF in an HTML page. I already know that setting the WMODE to transparent will create a SWF with a transparent background in a browser.
...
I am trying to switch which movie clip is loaded for the nextClick dynamically.
I am pulling the list from an XML file. What I really what to achieve is for the user to click the next button and the number changes to the next swf number, using the total number of available swfs from the XML file. The same would apply for my previous butt...
I am about to create a simple demo in flash where I have 3 layers, 3 keyframes.
Currently I am just use some simple gotoAndStop() to move to the next keyframe.
But now I need a custom event to do that but I can't create a class inside the action of a keyframe so I am not able to create a custom event.
I just have AS3 developing experie...
Having a bit of a problem creating an instance of an object. Bear in mind that this is timeline based and NOT an external class…
var foo:Object {
var a:String;
var b:String;
}
var new_foo:Object;
function makeFoo():void
{
new_foo = new foo();
}
function doStuff(e:MouseEvent):void
{
makeFoo();
}
Everything runs fine ...
Okay, so, here's what the problem is. I'm creating a flash site with each page being it's own movieclip and Scene 1 being the menu and other things that stay on the site.
I've created a MovieClip called 'HowWorksScene'. The movieclip has 2 buttons that link out to different URLs, however, I'm sure that when 1 of the button scripts wor...
Hi! A good friend recommended this site to me, it looks really useful! I'm a bit of a shameless noob at actionscript and after 3 days of tutorials and advice I've hit a brick wall.
I've managed to get a sensor attached to an arduino talking to flash using something called AS3glue. it works, when i set up a trace("leaf") for the contitio...
I wrote an application in Adobe Flash CS4 in size 600x600. I want to resize the application to 600x590. The issue here is that I want to resize the stage and all of the elements inside accordingly.
How can I do that?
...
Hi,
Is it feasible to play a number of FLV files at the same time on one SWF? Basically I have a brief to create a video banner with a number of FLVs of people playing at the same time but starting at different points in the videos. My concerns are with loading times, memory consumption and the starting of each FLV at a different point ...
note: all as3 is written in CS4 and compiled for flash 10.
I have a parent movie that loads a separate standalone SWF movie. This standalone movie happens to use the ScrollPane component (fl.containers.ScrollPane), and it runs correctly when launched on it's own.
When I attempt to have a Parent movie load the standalone SWF, i receive ...
It is my first time using AS3.
The way that is set up us I have a "Main MOvie Clip" and inside the main movie clip I have another movie clip which is the MainMenu.
Inside the MainMenu are buttons. The frame label I wanted to go to in outside of the MainMenu but Inside of the MainMovieClip.
I am doing a small project that involves got...
Hi, I'm having a little trouble recalling variables set within a frame from a function. I'm using Action Script 2.0 using Adobe Flash CS4, but am getting in practice of not placing codes on movie clips and keeping it on the main stage. On a frame on the time line I have the following:
var mcJumping:Boolean = false;
function isJump()...