all groups > flash actionscript > may 2007 > threads for saturday may 19
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Need formula for drawing method
Posted by burritobot at 5/19/2007 10:40:20 PM
I need help figuring out a formula for a dynamically-generated diagram. Of
course the lines will be drawn using the AS drawing API and I know I will need
six coordinates total (the start point, the moveTo point, the curveTo point,
the anchor point, and the end point) to draw the line.
The... more >>
variable problems local and global score
Posted by vladimirj at 5/19/2007 10:21:48 PM
Hi i'm having problem of writing a value to a global variable in a function and
using this variable affterwards. My problems is the following i have a
firstProduct variable that is initialized as global at the begining of my code
and the i have an XML on load function where i should take the f... more >>
Need help with maintaining variable choices in new session
Posted by bburelsmith at 5/19/2007 9:30:19 PM
I have a flash app. set up with several variables. Is there a simple action
script that will allow the user to maintain their choices after closing the
..swf and re-launching it?
Thanks in advance for your help.
... more >>
Passing Array variables bewteen objects
Posted by burritobot at 5/19/2007 9:14:59 PM
While troubleshooting a Flash app, it took me hours to figure out that you need
to make a duplicate of an Array variable if you are passing it between objects.
Otherwise, any alterations that you make to the array will result in the
original array being altered as well as the "new" array.
... more >>
Simple onRollOver code no longer works?
Posted by Angyl at 5/19/2007 7:15:52 PM
I'm really starting to hate AS3. I'm a basic user and I was BASCIALLY just
starting to get the hang of AS2 when Adobe had to go start changing things with
AS3.
grrrr...
so now:
mc.onRollOver = over
function over() {
this.gotoAndPlay(2)
}
No longer works. I'm being told th... more >>
Button Optimization Possibility?
Posted by Beedy at 5/19/2007 7:01:43 PM
I have a large navigation, which consists of mc's with buttons inside. These
buttons of course have the actions onRollover, etc. Everything works great when
I rollover everything and does as it should. When I move the mouse a little
fast over parts of the navigation, some mc's stick in certain... more >>
AS3 loadMovieNum()?
Posted by wision at 5/19/2007 4:39:54 PM
Hi!
Please write me somebody how can I load an swf file in [b]actionscript3[/b]? I am a beginner in AS3...
Thank you, WSION... more >>
screenshots from external swfs
Posted by lhgravendeel at 5/19/2007 3:55:08 PM
How can i draw a movieclip that contains an external swf onto a BitmapData
variable?
I'm loading the movieclip with:
moviecontainer=_root.createEmptyMovieClip("moviecontainer",10);
moviecontainer.loadMovie("pacman.swf",0);
Then i initialise the BitmapData var with:
var snap:BitmapData ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
AS3: component parameters and custom ui.
Posted by PJ at 5/19/2007 11:23:51 AM
Since in AS3 one can't add script on movieclips, and it seems when
converting an MC into a component and adding a parameter then the
parameter/variable isn't being reckognized as existing by the MC/component
.... does anybody know a good start point on how to create components in CS3?
Follo... more >>
instance name or level doesn't work
Posted by toiluj23 at 5/19/2007 10:17:23 AM
i have this problem...
i have arrays that contain those values:
grupoGra: item0_mc,item1_mc,item2_mc,item3_mc,item4_mc
grupoWeb:
item5_mc,item6_mc,item7_mc,item8_mc,item9_mc,item10_mc,item11_mc
So, when i click this button, im trying to SET ALPHA at those
movieclips... but it's not worki... more >>
variables... am I barking up the wrong tree?
Posted by frankmat at 5/19/2007 6:32:50 AM
I'm a bit confused... basically what I am doing is creating a movie where I am
doing this.lineto to create lines between certain spots on a map. I want
these lines to display at different times so this is what Ive decided to do:
1. Frame 1 create an array with the x and y co-ords and t... more >>
Using only part of a variable value
Posted by Rectallinear at 5/19/2007 5:59:21 AM
I have a variable in my Flash that relates to a date. The variable values are
always in the form of mmyy. Therefore a value of 0407 refers to April 2007, a
value of 0505 refers to May 2005, and so on.
I'm trying to figure out how to take the variable value and use only the first
two digits... more >>
Music stopping
Posted by Optikalefx at 5/19/2007 4:43:36 AM
So iv got some buttons that use the sound object to load some mp3s. they load
fine, and usually play all the way through
the problem is i also have some actionscript tweening going on. But that
shouldl affect the sound, but it seems as though it does. For some reason they
songs dont alw... more >>
Dynamic Loading By Day
Posted by Proent at 5/19/2007 2:59:10 AM
I am currently working on a project for a church. I need audio and text to
load depending on the litergical season. I have typed this script up but it i
not working. Can someone tell me what i did wrong. I am still new to Flash and
have never done anything with this many variables before. ... more >>
Assigning a variable to a variable.
Posted by jawwinker at 5/19/2007 12:32:58 AM
Hello,
I can't seem to figure out why I cannot assign the _visibility to the variable
tempPath. I'm sure this is super simple, and I'm just missign somthing
obvious, but it is driving me nuts. Anyone have any insight into this? Any
help is greatly appreciated.
Thanks
Steve
for... more >>
There an easier way to do this?
Posted by KidgamezRoshan at 5/19/2007 12:07:48 AM
I've been programming for a while, i learned by examples and playing with the
script.. but now that im creating more advanced programs, i think my scripts
are a bit longer than they should be. Such as:
if (weaponmax1 == 2) {
p1w2._visible = "0";
p1w3._visible = "1";
p1w4._visibl... more >>
LoadMovie problem (with resizing)
Posted by flashchobo at 5/19/2007 12:00:00 AM
Hello. I'm a student at Flash and I have been recently exposed to
the world of action script. My teacher at school apparently doesn't
know much about action script and I need help quick because I need
to hand in my portfolio by this coming thursday morning.
The problem of mine is that I ma... more >>
Animation always on top
Posted by futurewasp at 5/19/2007 12:00:00 AM
http://thelocalbuzz.users.digital-crocus.com/Back%20Ground%20-5.swf
Hi im trying to get the animation on this site to always be on top, basically
i want the animation that is enlarging to always be on top, i can get the
images to swap depth but not enlarge at the same time,
this is the co... more >>
AS3 loadMovieNum() ?
Posted by wision at 5/19/2007 12:00:00 AM
Hi!
How can I do this in AS3:
loadMovieNum("test.swf", 2) ???
Why change Adobe the simple commands to complicated commands in AS3? Why
wasn't good for example "on(release)"? It's simple, don't like this:
mybutton.addEventListener(MouseEvent.MOUSE_DOWN,testfunction);
function testfunc... more >>
scaling using matrix
Posted by zibber at 5/19/2007 12:00:00 AM
Hi can anyone help me with this small but annoying problem please?:)
I have the script below on main timeline frame.
scale_up.onRelease = function() {
var scaleUp:Matrix = new Matrix( 1.2,0,0,1.2, bubbleInstance._x,
bubbleInstance._y );
bubbleInstance.transform.matrix = scaleUp;
... more >>
Total score not adding up...
Posted by einnep at 5/19/2007 12:00:00 AM
I've made a game where the you catch things that each have their own individual
score, when you catch one, a card appears showing details of that thing
(displayClip). In this displayClip there is a dynamic text box that has the
amount that the thing is worth for the score. This then gets sent... more >>
|