all groups > flash actionscript > august 2007 > threads for wednesday august 29
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
increment a variable with a button press?
Posted by Ragemaster at 8/29/2007 11:18:06 PM
what is the proper way to increment a variable with a mouse event listener?
var myMinVarable:int = myNewMinVariable;
myNewMinVariable = 0;
var myMinDMinVariable:int = 10
button1_mc.addEventListener(MouseEvent.CLICK, onClick);
function onClick(event:MouseEvent):void
{
button... more >>
possible to make interactive cd rom with Flash only?
Posted by 1jayjay2 at 8/29/2007 9:58:57 PM
I'm creating an interactive cd-rom and was going to use Director Mx. But as I
did some research, I was under the impression that Flash could be used to do
the same thing. I am just becoming aquainted with Director and know nothing
about programming with Flash. Is Flash as capable as Director i... more >>
Overflow stack bug
Posted by Invisibleviller at 8/29/2007 8:36:57 PM
Hello,
I found this strange bug while coding, and wrote it in the simplest way to be
sure it was true. Try opening a new AS3 FLA file, and write this code in the
Actions Panel:
[hr]function someFunc(x1:String, x2:String, x3:Number=0):String
{
var my_result:String = "result";
retu... more >>
flash variable
Posted by samuels2921 at 8/29/2007 8:36:31 PM
I know this is probably easy but my mine is hurting from the videoplay i just
built. I need to make a variable to pass a url to from flash.
example Actionscript
importXML.load(this.xmlloader);
var xmlloader = "importdata.xml";
How is this done
... more >>
Timer and Tween in AS3
Posted by SymTsb at 8/29/2007 6:10:43 PM
http://www.fedlerstudio.com/flash/shell.html
The site uses the timer class to fade in the background image (I already
realize the menu is hard to see on lighter images - will be fixed in the
final). Every once in a while, my tweens actually stop between 20% and 40%.
The problem exists he... more >>
I need Help
Posted by Venom_man at 8/29/2007 5:48:38 PM
Im kinda new to Flash and Actionscript also im using flash CS3. Right now im
working in an actionscript 2.0 document cause i found a nice pre loader
tutorial that uses actionscrpit 2.0. My problem is that im trying to turn a
button into a link to a web page, Im using this actioncrpit
hit.... more >>
Loading Multiple Movie Clips in random order
Posted by plaidpnts at 8/29/2007 5:17:56 PM
I have a flash file that loads random movie clips. The code below is on frame
1. I have a gotoAndPlay at the end of the timeline to start it over so it will
cycle through all of the clips instead of playing one. I don't think this way
is really the best way to do it...but it's what I have so f... more >>
Loading ISO-8859 (Latin1) characters from XML
Posted by sake_boy at 8/29/2007 4:37:51 PM
Have some experience loading XML files, but this is a new issue to me. I see my
accented characters displaying properly in my text editor. And I've confirmed
that my font is OK in Flash by testing a dynamic text box--the accents in the
test appear OK, so it's not the XML file or the font, it s... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Flash Site Statistics
Posted by RGracia at 8/29/2007 4:15:19 PM
Hello there, I am about to begin a project that will involve designing and
maintaining a Flash application for a period of 4 years. During this time, we
want to capture statistical data on which content of our flash application has
been accessed more frequently. Is that something that can be m... more >>
Help with a resource meter.
Posted by oneandonly_mohawke at 8/29/2007 3:37:12 PM
I have been creating a lot of live gauges and meters for a web based dashboard,
most work great. I am now trying to create a Flash usage meter like the CPU
meter in Windows task manager, but cannot seem to get it working. I am fairly
new to Flash so I consider myself a newbie so I may be appro... more >>
Playing multiple videos in single FLV instance.
Posted by masterkrang at 8/29/2007 6:03:01 AM
Hi, I'm trying to get a video application to work. The basic question I have
is: can i get multiple videos on a flash streaming server to play in a single
FLVPlayback instance? (I want the user to be able to choose the video based on
a button, not play in succession.) Or do I have to set up a ... more >>
PRINT AREA
Posted by shefferh at 8/29/2007 4:29:15 AM
my actionscript now is
on (release) {
printAsBitmapNum(1, "bmax");
}
i want to print only the MC which the button is located on, or an defined area.
thanks... more >>
please help on event listener (notified)
Posted by adreny at 8/29/2007 4:03:00 AM
i create a dynamic text field, i want it notified that, when got value send in
the text field, then go to play another frame. i found some tag like event
listener and text event . but i dun know how to used it.
any expert got any suggestion or advice show me?
... more >>
Newbie - how to change the color of a line using ActionScript?
Posted by crazygringo at 8/29/2007 3:27:40 AM
This must be the most basic question in the world, but I've been searching the
documentation for an hour.
All I want to do is to draw a line on the stage, and then change its color (or
endpoint positions) dynamically using ActionScript.
This is the 1st step to creating complicated dynami... more >>
AS3: load external JPG, then drag each different JPG around?
Posted by Arran at 8/29/2007 2:02:56 AM
Hi
I'm currently in the process of converting a number of old AS2 project
to AS3. The following script loads in an XML file, pulls the filename
and tooltip in to their own arrays (no ArrayCollection here, grrr),
then it loops through the X number of Nodes to and uses Loader and
URLRequest to ... more >>
import flv
Posted by JohnGree at 8/29/2007 12:00:00 AM
Hi i have a flv video file.
is there a way to import it to the timeline so that there is a keyframe for each second?
i want to be able to add keyframes into the video timeline ... more >>
setting multiple linkages
Posted by dave at 8/29/2007 12:00:00 AM
I have about 200 images I need to import into the library. Is there any way
to automate the linkage identifier or do i have to do them all manually?
Thanks
... more >>
TweenLite
Posted by Eatstatic at 8/29/2007 12:00:00 AM
I'm using the "TweenLite" class in my ongoing project.
Im guessing there are more than me here that are using it.
If I have a object that i want to be tween ... lets say... 500 px to the left
EVERY time i press a button (like an array of pictures)
how do I write the arguments to the tw... more >>
a bug in AS3 combobox component
Posted by eRez at 8/29/2007 12:00:00 AM
Hi,
i'm working in flash 9/AS 3, and added to one of my swf (which loads into
the main one) a combo-box component. when its data provider property is
empty, and i play the main swf - the combo box is there, empty of-course,
and nothing happens when i click it. however, when i add data manua... more >>
Detecting when you leave a frame
Posted by Tolk at 8/29/2007 12:00:00 AM
How can i detect when a particular frame is left? i.e. The user is viewing fram
x, they click one of several buttons or perform a particular action which
causes the swf to move to a different frame how can i detect when it exits the
original frame x?
... more >>
how to set my dynamic text box can support UTF-8
Posted by adreny at 8/29/2007 12:00:00 AM
i used flash call variable of word chinese or japanese word from html , the
dynamic text field can display word from param variable.
but i used javascript to send Chinese, Japanese word to flash, the dynamic
text cannot display the word. any expert who know about make dynamic text box
suppor... more >>
autoSize lies
Posted by dubya at 8/29/2007 12:00:00 AM
i take a static textfield, change some of it values thus:
var tf:TextField = this.getValue()._txt;
tf.type = "dynamic";
tf.multiline = true;
tf.wordWrap = true;
tf.autoSize = "left";
trace(tf._height +" : "+tf.textHeight );
textHeight prints as 13. however, taking a screen shot and... more >>
|