all groups > flash actionscript > february 2006 > threads for monday february 6
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
Using buttons
Posted by embi at 2/6/2006 11:51:57 PM
Hi. I'm trying to build code which waits and do nothing until a button is
pressed. This code doesn't work as expected because it doesn't wait.
X=function(){do something}
key1.onPress=X;
key2.onPress=X;
key3.onPress=X;
trace("doesn't wait");
Any help will be most appreciated.
... more >>
<LI> tag with Embedded Fonts Problem
Posted by wavuti at 2/6/2006 11:48:07 PM
I am having a problem displaying the bullets after loading up text with
loadVar. When I used device fonts like Arial. The bullets are displayed
properly. But as soon as I use embedded fonts. I am not able to see the
bullets. I there a workaround. Is this a Flash MX bug?
... more >>
Load .as file at runtime and not at publish (compile) time.
Posted by asidfree at 2/6/2006 11:35:45 PM
Hello,
I just started learning about the possibility of linking to external .as
files, and creating classes for buttons. I was able to make some buttons that
were dependent on classes in external .as files. This works, but it seems that
every time that I change the .as file, I have t... more >>
Very Confused on accessing nested movieClip..Possible?
Posted by directorRookie at 2/6/2006 11:35:44 PM
I was hoping somebody could tell me if the following is possible. On my main
movie timeline I have a movieClip object called mc_book. mc_book is a movie
clip I made that has its own time line. On that timeline, from frames 5-10, is
a text field called page1. from frames 11-15 is a text field ... more >>
Help
Posted by Don P Productions at 2/6/2006 10:32:37 PM
Hello, I'm creating a photo album sorta thing... I'm stuck. I've got the
pictures in each frame... pretty basic. All i need is the action script. How do
I make my "Next" button go to the next frame (the next pic) and how do I make
the "Previous" button go to the previous frame. And how do I di... more >>
changing alpha value w/ AS
Posted by jmarksamer at 2/6/2006 10:27:42 PM
i know there are many posts related to this, but I can't seem to get an answer
that works for this...
I have a button inside of a movie clip. i want the on (release) to set the
text of a dynamic text box over a graphic, which i want to change the alpha to
50% (the graphic is within the same... more >>
noob question: attachMovie()
Posted by anonymous_alcoholic at 2/6/2006 10:21:53 PM
I've been working as a student on ActionScript for a few weeks now. I'm rather
new to it, but I've programmed before in similar languages. I've been trying
to write a simple script that would allow me to create a movie clip when I
click the mouse, just to experiment for a game I want to make... more >>
load background panel - once only
Posted by Anthony Mead at 2/6/2006 10:18:00 PM
Hi there.
I have a movie with 4 buttons that load a movie clip. I have a movieclip
behind the 4 'content' movie clips that acts as a panel to frame the
content.
My problem is, I want this 'panel' movie clip to slide in and then stay in
place whichever button the user clicks onto first. S... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
variable problem
Posted by wision at 2/6/2006 10:07:00 PM
In MySQL table I have text and numbers too. If I load the variables in the
Flash, the numbers are not numbers, but text ('mag'). Why? The next simple
equation is don't working: space = 873 - (y + mag + 33). The actionscript is
next:
var MySQLdata:LoadVars = new LoadVars();
MySQLdata.onLo... more >>
Passing variables between browser windows
Posted by jonsmith666 at 2/6/2006 10:01:28 PM
I'd like to know if anyone has a way of having buttons in a SWF loaded into one browser window change variables in an SWF in another window.... more >>
Still Need Help !!!
Posted by ferretinthebush at 2/6/2006 9:18:17 PM
My Buttons stil wont work, I tried the whole putting the action on the same
frame as the button, but now when i play the movie the button will work only
once and then stop working after that...as well, it comes up with a script
error ....
**Error** Scene=Scene 1, layer=Resume Button, frame... more >>
Newbie question
Posted by Marko0707 at 2/6/2006 8:29:04 PM
I am just starting to learn flash, and encountered a basic problem.....
I have a symbol (movie clip) on the first frame I have put stop(); in the
ActionScript. It is supposed to start playing when a user comes over it. i put
that symbol on the main scene and tried to make it start movig whe... more >>
MC slows down
Posted by StevenRAN at 2/6/2006 8:27:15 PM
MC runs normal forward and then slows down during reverse play.
I have 25 images scrolling accross the screen. I have 4 buttons.
a) Button play
b) Button play fast (skips frames)
c0 Button play reverse
d) Button plays reverse fast (skips frames)
The first 13 images play fine both for... more >>
Newbie questions
Posted by Marko0707 at 2/6/2006 8:20:01 PM
I am just starting to learn flash, and encountered a basic problem.....
I have a symbol (movie clip) on the first frame I have put stop(); in the
ActionScript. It is supposed to start playing when a user comes over it. i put
that symbol on the main scene and tried to make it start movig whe... more >>
Variable issue
Posted by Brian at 2/6/2006 7:12:53 PM
I am trying to do the following to difine MCs in a variable. The
variables don't work right. What am I doing wrong?
var i = 1;
var mcOne:MovieClip = image_0+i;
var mcTwo:MovieClip = image_0+(i+1);
trace("mcOne is: " + mcOne);
trace("mcTwo is: " + mcTwo);
So the variables are not wo... more >>
Controlling Dynamically loaded movie clips
Posted by ogre11 at 2/6/2006 6:58:07 PM
Is it possible to control the playhead of an swf loaded into a movieclip using loadMovie?... more >>
Controller Playback Bar not working in MediaPlayback
Posted by DJ James at 2/6/2006 6:57:00 PM
I'm loading in FLV files in a mediaplayback component from our hard
drive/servers. For some reason, the little control bar that normally would let
you jump to the middle of the video just stays at the end. How do I get that
thing to work?
... more >>
rotation origin, can AS change it?
Posted by sneskid at 2/6/2006 6:50:22 PM
say you have a textField and you wanted to make it rotate from the center, not
the top left corner. I cant find the x/y values for the rotation origin. are
these values accessible at run time?
the other alternative would be to dump the textField in a moveClip and move it
aroud so the movie... more >>
onSoundComplete go to and play the next frame on the root level
Posted by beckiehawk at 2/6/2006 6:32:45 PM
I'm not such a great action scripter so be gentle. That being said, I'm trying
to make my movie advance to the next frame after a streaming mp3 has completed
playing. I'm using the media controller component to play the streaming mp3.
I'm building the Flash in Flash Pro MX2004. The mp3 is ... more >>
how to simulate "drawing" effect
Posted by Brhaynes75 at 2/6/2006 6:17:54 PM
Im trying to learn flash, and have got most of the very basics down. Right now
I want to know how to take a vector image and have flash make that image appear
as if I am drawing it right on the stage. You know, one line at a time, each
line appearing from starting point to end point as if I we... more >>
Re: Pause for 'X' seconds on a frame then move on?
Posted by abeall at 2/6/2006 5:23:14 PM
> that should work
except I misspelled 'Interval' :p
var inter = setInterval(unpause,seconds*1000);... more >>
calculate the length of a curved line?
Posted by Shaun Perry at 2/6/2006 5:22:04 PM
i am trying to script an animation and need to work out the length of a curved
line I have drawn in flash which is now a movieclip. could someone point me in
the right direction as I m totally stuck...
shaun
... more >>
Shared Object help
Posted by webgeezer at 2/6/2006 3:45:02 PM
I have created a simple menu flash movie for a small web site that contains two
scenes. The first scene is the preloaded and the second scene is the web site
interface. After clicking on a menu item the user goes to an html page. When
the user returns to the flash main menu, the preloader is ... more >>
Arrays and Objects
Posted by supdun at 2/6/2006 3:41:11 PM
Hey Peoples, Hope everyone had a great weekend as I did.
I've been conceptualizing on a new interface for a client. The idea is for me
to be able to add each button to the menu by placing them into an array.
Making this array as a seperate class, I would be able to add a button, remove
... more >>
Local Browser differences
Posted by mheddle at 2/6/2006 3:17:26 PM
I have some swfs that are used together for a project I am working on. When it
is streamed, Both IE and Firefox work, but when played locally, weather Hard
Drive, CD, or Thumb Drive, I am having Browser specific problems. When
published to Flash 7 or lower, IE works and Firefox does not. When ... more >>
Determining depths - strange results
Posted by Disgrunteld at 2/6/2006 3:08:22 PM
I'm trying to use swapDepths() and thought it would be a good idea to see the
current depths of my movieClips. Using trace() I discover that the depths are
set as follows:
zoomPointer_mc:-16308
zoomBtn_mc:-16325
indhotel_01_mc:-16342
indhotel_02_mc:-16350
indhotel_03_mc:-16358
indh... more >>
mouseOver - mouseOut
Posted by ID. Awe at 2/6/2006 2:12:25 PM
I have the code below on five buttons (with appropriate name variation). When I
rollOver, rollOut everything is working the way that it should.
The exception is that if you rollOver the buttons quickly, the rollOver code
executes, but the rollOut code does not. What changes can I make to the... more >>
Sticking drop down menu
Posted by andywhitwood at 2/6/2006 2:05:27 PM
Hi,
We've created a navigation system in Flash that's using top level buttons in a
movie to initialise dropdown menus based on
http://www.kirupa.com/developer/mx/dropdownmenu.htm.
Our nav is demoed
http://studionorth.co.uk/demoarea/studionorth/our-approach.htm.
The problem we're ha... more >>
Possible to have a preloader detect whether it is on the internet or CDROM?
Posted by richy66 at 2/6/2006 1:42:36 PM
Hi, the clue is in the question really.
We have a massive learning course which we are in the process of converting
from CDROM to our webspace. I just wondered if there is any code I can use
which will enable my preloader to detect whether it is on CD or web, as opposed
to having two comp... more >>
Transparent window
Posted by harishnarayananus at 2/6/2006 1:34:44 PM
Is ther any chance to make a window less flash animation is ther any way? plz tell yar...
Tnx for adv. :)... more >>
Accessible Learning
Posted by mat at 2/6/2006 1:01:30 PM
We using the flash Learning interaction template and have run into a
problem: the movie is not accessible if using keyboard only navigation.
Has anyone experienced this problem? The next button does not seem to
receive focus. As far as we are aware all tab orders have been set
correctly.
... more >>
Photo Slide show
Posted by Love0715 at 2/6/2006 7:11:49 AM
I want to create a flash that shows a number of pictures in sequence
(fade in, display for 2 seconds , fade out) Without showing
"Previous/Next" buttons.
On what websites can I download tutorials or .fla for that ?
Thx
TC
... more >>
Databases and flash?
Posted by 3141592653589 at 2/6/2006 12:00:00 AM
well i like to say i know a fair bit of actionscript, but unfortunately, i know
NOTHING!! about how to manage databases.
I have always been interested in creating a highscore table for a flash game.
I've searched many sites for an answer and over 6 months later i still don't
understand lol.
... more >>
Using setMask() with multiple mc's?
Posted by thejokerman05 at 2/6/2006 12:00:00 AM
I have mc1, mc2, mc3 etc. and one clip called mask_mc. I want mask_mc to work
as the mask for all but it doesnt work. It only works if I have one mc. Must I
create one separate mask for each mc?
This does NOT work;
mc1.setMask(mask_mc);
mc2.setMask(mask_mc);
mc3.setMask(mask_mc);
... more >>
embedding font in a dynamically created textfeild
Posted by Vinay Vasu at 2/6/2006 12:00:00 AM
Hi all,
I am creating a movieclip dynamically using createEmptyMovieClip and inside
this movieclip i am creating a textfeild using CreateTextField(). I am using
a different font for the textfield. the setFormat function is working but i
need to embed the font but it doesnot work. it takes the ... more >>
Checking FLV End
Posted by pzacek at 2/6/2006 12:00:00 AM
Hi, how can I test if progressively downloaded video reached its end so the swf file that plays the flv can go on?
Thanks, Pavel.... more >>
createTextField problem
Posted by wision at 2/6/2006 12:00:00 AM
I have some data from MySQL table and I don't understand why don't display the
value. If I don't use ' var nev:String = "nev" + n ' all is OK, but with this
is nothing displayed (in ' trace(this.name) ' all is OK). Please HELP!!!! Thank
you, WISION
var n:Number = 10;
trace("n="+n);
... more >>
Launch external PPS file
Posted by BluNude at 2/6/2006 12:00:00 AM
Please help me with the following!
I'm trying to launch a Powerpoint Slideshow from a .swf file. (File.pps)
I've tried the fscommand but it doesn't work: (It does nothing)
fscommand("exec", "C:\Program Files\Motswedi\Powerpoint\File.pps")
I've tried to launch a .bat file that opens th... more >>
background color
Posted by gringojuan NO[at]SPAM gmail.com at 2/6/2006 12:00:00 AM
hi, does anyone know how to set background color property of the whole movie using only AS?... more >>
Movies that Overlap,
Posted by James from EOW at 2/6/2006 12:00:00 AM
I am new to AS, but Im trying to learn!
I just read many many articles tonight, but I cant figure out something very
simple...
I have MC1 (an icon) above MC2 (a box), and theMC1 is chasing the mouse....
but whenever MC1 catches up with the mouse, MC2 stops playing...
I tried to use ... more >>
|