all groups > flash actionscript > october 2007 > threads for sunday october 14
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
Sound loads but refuses to play
Posted by shadybonz at 10/14/2007 11:06:03 PM
simple:
var my_sound:Sound = new Sound();
my_sound.loadSound("music/" + mix, true);
of course, it's alot more complicated, but this won't even work. It loads the
file, I know because I can see the duration, but refuses to play it. I've tried
start(), (this), and onLoad() to get it starte... more >>
Delete stuff in array
Posted by OmniFlash at 10/14/2007 10:02:33 PM
I got 10 movie clips in an array
a movieclip tests every movieclips for an hitTest
for (var i in Array)
Now what I do is removeChild
Followed by a splice removing the unwanted element)
The thing is:
Splice makes my Array unusable because the list changed slightly and was
real... more >>
Progress bar jumping online
Posted by J.Rocker at 10/14/2007 7:01:33 PM
Everything works fine offline.
-The slideshow loads
-the file loads and the progress bar shows gradual progress (or close enough)
Offline though
-the slideshow loads
-the progress bar jumps from 1 to 100
is there anyway to fix this?
actionscript 3.0
////////////////////////////... more >>
big print problem
Posted by dave at 10/14/2007 4:13:23 PM
I have a button that produces a small report and sends to the printer, but
after printing, the flash player zooms into about the top 100 by 100 pixels
of the screen. I can't see any scalers anywhere that might be doing this,
can anyone shed any light please.
Many thanks
... more >>
Actions not working when bitmaps added to scene
Posted by jagreff at 10/14/2007 3:23:37 PM
I've been trying to work around this issue for the last few hours. In my
document I have a bitmap background, and a few other bitmaps I exported from
Photoshop. Whenever I try to assign actions to buttons, it says the selection
cannot have actions assigned. However, when I make a new docume... more >>
How do I add something to the display list from a non-main class?
Posted by lumpthing at 10/14/2007 3:00:15 PM
I know how to use addChild() within the main class to add something to the
stage display list and have it appear on the screen, but how do I add something
to the stage display list from code within another class? :confused;
So for example say I want to add some text (myTextField) to the stag... more >>
How to swap MovieClips?
Posted by uxk at 10/14/2007 4:02:55 AM
Hi,
I have two different MovieClips of different graphics (blue_mc and green_mc),
and onother MovieClip (grey_mc).
When I click on any one of the two MovieClips, it should swap with the grey_mc.
Problem:
When I click on green_mc, the grey_mc changes to green_mc. However, when I
click on ... more >>
How do I kill onEnterFrame?
Posted by evil_muffin_man at 10/14/2007 3:15:24 AM
Quick question:
I use the following code a lot:
this.onEnterFrame = function () {
// .. some code <.<
}
I need to get rid of, remove, clear, whatever, the function stored. I've tried:
this.onEnterFrame = function () {
// ... other code
}
But this only seems to append ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
duplicatemovieclip menu
Posted by Starlover_jacob at 10/14/2007 12:00:00 AM
hi there,
i created a menu by duplicating a movieclip and place them under each other.
my question is how do i know witch button is clicked.
so i can redirect to another scene by calling gotoandplay(scene_biografie,1);
or call a function that lets a movieclip scroll into my stage.
o... more >>
Rotating a circle using mouse coords.
Posted by rossmurphy88 at 10/14/2007 12:00:00 AM
I'm trying to rotate a circle. I want the circle to rotate in relation to the
mouse movement across the y axis. Here is my code so far:
onClipEvent (enterFrame) {
_root.xVal = Math.round(_root._xmouse-this._x);
_root.xMove = Math.round(_root.xVal/10);
this._x += _root.xMove;
... more >>
|