all groups > flash actionscript > january 2007 > threads for wednesday january 3
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
Math.log() question
Posted by SPGAnne at 1/3/2007 11:42:06 PM
Newbie here, so please be gentle. Also, this may be a math problem, and I am
most certainly NOT a mathematician, so assume I am a total dummy and need to be
led by the nose.
I have a formula someone has provided me from an Excel spreadsheet which says
LOG(number). In Excel, the help sa... more >>
Unwanted movieclip rotation
Posted by bcraigie at 1/3/2007 11:35:25 PM
Not sure if this is a bug or what, but I've a bit of flash with two buttons for
going up and down a list of movieclips, 4 of which are displayed on screen at
one time.
When I click the Down button, it scrolls the list by doing a loadClip() to
re-load each clip at its new position, and brin... more >>
Referencing movie clips
Posted by alexwhite06 at 1/3/2007 11:27:35 PM
Help me, I'm completely stuck.
All I want to do is make a button when pressed, change the frame of another
movie clip at the same hierarchy as it (the button and clip have the same
parent clip).
I've tried this and it doesn't work:
_parent.pdf2.gotoAndPlay(2);
pdf2 is the name o... more >>
onUnload
Posted by jonnybennett at 1/3/2007 11:02:53 PM
Okay I have a m.c. with an instance name of 'dave'. Dave m.c. has a setInterval
that I want to clear when the m.c. is removed.
this.onUnload=function():Void{
clearInterval(fadeOutInterval);
clearInterval(zoomInterval);}
The above code works fine if dave m.c is removed. However I also w... more >>
Number precision
Posted by dr.Evol at 1/3/2007 10:51:06 PM
Hi!
How can I round the number to a particular decimal place?
Example: 0.132456783929 should be 0.1324
Any cool algorithms or existing solutions for that?
Tnx!
Cheers
... more >>
Button that goes back to last keyframe
Posted by Jon Mattarocchia at 1/3/2007 10:25:03 PM
i created a flash animation like whats http://www.mlb.com "the headline news
section in the middle of the page" now my problem is getting my forward and
back buttons to work. how can i make it so when somone clicks on the forward
button it skips to the next frame if they dont want to wait for ... more >>
Orbiting Planets
Posted by twsims at 1/3/2007 10:21:35 PM
Hello Everyone,
I am pretty much a noob when it comes to flash. HOwever, I am eager to learn
and a project I have decided to pursue involves orbiting items around a central
figure. Just like plantes orbiting around the sun. Does anyone have any how -
to items or where I should begin. ... more >>
Textfield formatting
Posted by erikrodriguez at 1/3/2007 10:21:01 PM
I am trying to create a textfield at runtime with my own formatting. The
following code is an example of how I am doing this, yet the textfield is not
displaying the correct format. Any ideas?
var my_fmt:TextFormat = new TextFormat();
my_fmt.size = 30;
my_fmt.bold = true;
my_fmt.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Re: multiple _droptarget?
Posted by mxc at 1/3/2007 8:47:46 PM
Ok thanks for your reply ;)... more >>
pretty please someone help! flash mx hitTest
Posted by whatsvqhgdyw at 1/3/2007 7:52:40 PM
Hi everyone!
I am getting exremly stressed with my uni project. i am making a simple game
in flash mx. I am stuck trying to detect when a movie clip 'bad guy' comes into
contact with you as the main player and therefore the number of lives should
decrease by one and the player return to it's... more >>
Flash movie using a .asp variable
Posted by James Brown at 1/3/2007 7:50:25 PM
Hi there.
I want to put a flash movie onto 20+ pages of my website. The flash movie
has a link to a particular pdf file (different for all 20+ pages). So, is it
possible for me to use a variable on the .asp page and for that variable to
be useable in the flash movie to save me making a diff... more >>
tabIndex on a Movie Clip
Posted by t3projects at 1/3/2007 6:41:23 PM
I'm working on a project where I need to set the tabIndex on elements within
the flash movie. I'm having a difficult time as it seems that nothing is really
working for me. I have a main swf that creates an empty movie clip and then
adds a swf file that has a movie clip that acts like buttons.... more >>
Problem with gallery class...
Posted by mloncaric at 1/3/2007 6:06:14 PM
HI
...ok, I tried to post before, but my code was too long...
So I decided to post only important code...
Ok here is shorten code:
import mx.utils.Delegate;
import com.mosesSupposes.fuse.*;
//
class com.mloncaric.Gallery {
public var onError:Function;
private var contai... more >>
targeting dynamic instance
Posted by MikeLB at 1/3/2007 4:49:57 PM
Hope this is a simple one - Im attaching new mc via
_root.attachMovie("mymc", "mymc_ins"+step, _root.getNextHighestDep...
each mc is added with mousedown and each instance name becomes mymc_ins1,
mymc_ins2 as I increment step. Now I would like to scale the instantly
generated mc while the m... more >>
sending a mc from 1 swf to another and set as bg?
Posted by JayCeeBE at 1/3/2007 3:04:54 PM
Here is my situation, i have a framework in which i load the diffrent pages of
my website. The framework is resized so it spreads across the full webpage. In
this framework i load my swfs(pages),
I want these swfs to contain the bg movieclip for that particular page. But
this movieClip mus... more >>
add getURL to menu items
Posted by MurrayComputing at 1/3/2007 2:28:20 PM
Hello -
Trying to add getURL links to each of the menu items in this fla:
http://www.softwarelessons.com/flash/27.fla but can't seem to do it. All help
will be greatly appreciated!
Thanks,
John
... more >>
Dynamically placed instances to an image...somehow?
Posted by daVinciWanaB at 1/3/2007 1:44:35 PM
I'm creating an art thing that put instances of vectors randomly onto
the stage from the library. (w/ different colors, transparencies..etc)
to create an art image. I need to be able to print out the image very
large (hence why I was using Flash / vectors).
My code works fine, but I can't fig... more >>
Rollover down state
Posted by Graphic Graeme at 1/3/2007 12:53:43 PM
:confused;
I'm using a simple string of code to navigate througha presentation I have created.
on (keyPress"<down>") {
gotoAndStop("Scene 3", 1);
}
... more >>
target_mc._height
Posted by lepermike2 at 1/3/2007 10:30:05 AM
hi if got a little problem how can I use the target_mc._height outside of my
onloadinit function? i have to add it to my var K to keep me on the right
height?
var k = 10;
//variabele voor het bijhouden van de hoogte
var j = 10;
//variabele voor het bijhouden van dfe depth
function ... more >>
Help with array
Posted by Pluda at 1/3/2007 10:29:11 AM
Hello,
I'm having a big problem to make the shoping cart work in my aplication.
I need something like
Ref, Quantity, Taxes, Total
when user choses one product flash should be able to make an array with this
values, so user can continue to purchase, and when user finaly presses the
... more >>
refreshing textField
Posted by rohai at 1/3/2007 9:26:42 AM
Hi,
I have a dynamic textField with custom made scrollbar into which the text from
XML is loaded. I also have a dynamicly created menu. After you click on menu, a
new content is loaded into a textField. The scrollBar is visible if the
content_mc (where the textfield is) is higher then the ma... more >>
Scipt Simplification
Posted by LSNsaltlamp at 1/3/2007 7:35:10 AM
Every time I need to reset the colors on my 24 mcs I run the following script.
Is there a more compact way to write this?
var my_color:Color = new Color("num01");
my_color.setRGB(0x252525);
var my_color:Color = new Color("num02");
my_color.setRGB(0x252525);
var my_color:Color = new... more >>
Confused about movie clips in movie clips...
Posted by ArexM at 1/3/2007 4:59:54 AM
:confused;
Help! I have scoured pages and pages of books and forums, and cannot seem to
find a straight answer on this. Even on the recent posts in this forum the
answers seem very muddled.
I have created a drop down menu, which consists of a movie clip with an
onRollover action, whic... more >>
MovieClipLoader
Posted by Thepoor13 at 1/3/2007 4:33:56 AM
in my project, i have to load multiple jpg file, and i use MovieClipLoader
Class, this class' events have only a params, but when i want to know which
Movieclip is errored in Number (index of array)
i can't pass this param to the event
exam:
my_mcl.onLoadStart=function([u]theFirst:Boolean[... more >>
Is this correct?
Posted by pecktron2000 at 1/3/2007 4:09:19 AM
This is to make an "active state" for my buttons
invA_but._visible=false;
invB_but._visible=false;
invC_but._visible=false;
invD_but._visible=false;
invE_but._visible=false;
invF_but._visible=false;
a_but.onRelease=function(){
invA_but._visible=true;
invB_but._visible=f... more >>
Flash 7 & loadClip.
Posted by thelay at 1/3/2007 2:42:43 AM
Hi,
I use the following code in flash 7 . I cant see my pic file even though I can
see in flash 8. My gif file is not animated one.
Can anyone help me on this? And I specify my movie clip width and height but
it always return me 0. I use trace to display my movie clip width and height.
... more >>
rotating images
Posted by KG800 at 1/3/2007 2:18:47 AM
Hello,
I went to gotoandlearn.com and watched the tutorial on the carousel. It was
very helpful and I'm using the code to create something similar, but I would
like to tweak one thing and add another feautre, but I'm having a hard time
figuring them out.
Currently the images that go t... more >>
functions in a For Loop defining objects from an Array. . .Why Won't This Work?!
Posted by i4Jon at 1/3/2007 12:58:45 AM
I'm trying to put these functions into a Loop to conserve space. Why won't this
work?
.
function showRegion(reg) {
reg.onEnterFrame = function() {
if (eval(reg)._alpha < 100) {
eval(reg)._alpha += 15;
}
}
}
function hideRegion(reg) {
reg.onEnterFrame = function(... more >>
Detecting breaks in sound
Posted by wally_errrr at 1/3/2007 12:38:36 AM
Hi,
I am developing a CDROM / Internet application that has a story displayed on
the screen and an audio file plays.
Beacuse this product is aimed at people learning to read, the pauses in
between words are definite and exagerated which I am hoping can work in my
favor. Highlighting t... more >>
|