all groups > flash actionscript > february 2006 > threads for monday february 20
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
updating movieclip location on screen during for loop at root level
Posted by marcinelli at 2/20/2006 11:29:08 PM
hello,
i need to move the location of various child movieclips at the root
level in a for loop. is there any way to do this? updateAfterEvent()
seems to do this but it can only be called in an onClipEvent() or
setInterval() call. all code is in one file a... more >>
Navigation between Movie Clips
Posted by Asesino at 2/20/2006 10:28:54 PM
I have a button that is assigned roll over and roll out to make the button
nice and fancy. I would also like to make
this fancy button take me to the right part of a movie.
I dont want the button to take me to the root of the movie, I want it to take
me to this certain movie. I've tried... more >>
Creating action from live sound input
Posted by 1arapahoe at 2/20/2006 10:27:15 PM
:evil;
Looking to have a live audio input activate my animation. Don't know how. Maybe it's easy, but I'm at the begginer/intermediate stage, so please go slow!... more >>
sound.position = UNDEFINED ?
Posted by Doc Gonzo at 2/20/2006 10:25:41 PM
I have this problem that's driving me insane. For some reason everytime I call
sound.position, the value comes up as "undefined". how could that possibly be?
the sound is playing! all of my syntax is correct, I can get the sound to
start() and stop(). I don't get it.
the funny thing is tha... more >>
Changing the value of a text input component
Posted by katyjack30096 at 2/20/2006 10:18:41 PM
Hey - I've got some very simple error checking that I'm trying to do. I check
the value of a text input field that I have on the stage and if it's not a
number, I want to display an error message and change the value of the text
input field to "0". Everything's working except for actually chan... more >>
Grab Numeric Value From External .txt File and Count From That Value
Posted by nivek311 at 2/20/2006 9:38:26 PM
In a nutshell I want to feed a number - any number - from an external .txt file
and have flash count incrementally from that number. Here is what I have so
far. It's close, but no cigar.
//Settings
var interval = 1;
var output_list;
var file = 'sync.txt';
//delay between count interv... more >>
Controlling Looping
Posted by Fatmat at 2/20/2006 9:24:00 PM
I'm doing a banner ad and it has to loop 3 times.
So what I have is in my main timeline 2 movies: 1st movie loads some text say
text1Mov . At the end of the text1Mov instance I have a go to the root and play
the next frame which contains text2Mov, and so on. What I want to do is have
the ... more >>
Keeping a movieclip within the stage?
Posted by Mark O at 2/20/2006 9:09:37 PM
Hello, this is a newbie question:
I have loaded a movieclip which gets bigger as it plays. I want to keep
it within the stage by shrinking the clip as it gets larger.
So far I have not found any "events" for a movie clip changing size, so
the best I can do is wait for someone to resize the s... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Tell Target alternative
Posted by dkd;alkje;oihp[oihjl at 2/20/2006 8:32:46 PM
What can you use to replace tell target. I want to tell a movie to stop playing at a certain point. Tell target doesn't work. What does?... more >>
Actionscript 1&2. Compatiblility with different versions of flash
Posted by hopkinsweb at 2/20/2006 8:28:33 PM
Im sorry , this probabvly sounds a sillly question.But what versions of flash are compatible with actionscript1 and what versions are compatible with actionscript 2?... more >>
If you make mc1 follow the cursor. how do you make mc1 stop following the cursor when you click on mc2
Posted by rbr1234 at 2/20/2006 8:13:14 PM
This the format i think it would be but can you fix it?
If this is not the right format make the correct one
Placed on mc2
on (release) {
_root. mc1._x = CURRENT POSITION
Thank you for helping me
Sincerly,
rbr1234
... more >>
preloader
Posted by jonnybennett at 2/20/2006 7:51:58 PM
I have a preloader. When I add it to my movie (350k) for some reason the
preloader doesn't get attached untill about 76% of the movie is downloaded. If
I add the same preloader to a different movie (280k), it is attached after
under 8% of the download. If the preloader is the same, then surely... more >>
Can you fix this action script?
Posted by rbr1234 at 2/20/2006 7:19:42 PM
Can you fix this??
onClipEvent(enterFrame){
If (mc1 TOUCHES mc2){
mc2 IS REMOVED
{
{
Sincerly,
rbr1234... more >>
Can you try to fix this Action Script Please
Posted by rbr1234 at 2/20/2006 6:58:49 PM
Can you fix this?
on (release) {
if ( _root. mc1. IS ON FRAME 1 ) {
_root. mc1. gotoAndPLay( 10 )
}
if ( _root. mc1. IS ON FRAME 2 ) {
_root. mc1. gotoAndPLay( 11 )
}
if ( _root. mc1. IS ON F... more >>
please help with server paths and xml.load
Posted by Dave at 2/20/2006 5:19:31 PM
I am having trouble with a myXML.load command.
There is a line in my flash which says
delegates_xml.load(http://myserver.co.uk/get_delegates.asp)
This works fine if I create an exe and run it from my desktop, but when I
run it from html (using the swf file) from the server it does nothing.... more >>
SEO with Flash
Posted by nivek311 at 2/20/2006 5:01:45 PM
Was wanting to do some dynamic nav with our website but wanted to make sure we didn't lose SEO by going to flash. Does anyone have any concrete data about flash and SEO?
Thanks ...... more >>
Dynamic Slide Show with Fade
Posted by StargrrlGrafx at 2/20/2006 4:38:09 PM
Does anyone know of a good tutorial for a simple slide show that dynamically
loads jpg's? There are 4 images in my slide show and I'd like them to fade into
one another, with control over how long they display.
Thanks for any help,
Amelia
... more >>
Navigating To A Random Page In Flash
Posted by davidandrewheath at 2/20/2006 4:34:32 PM
OK, so I have an extremely simple piece of code which navigates to a page:
CODE
on (release) {
gotoandStop(2);
}
How do I swap the '2' for a random number between 4 and 30?
Thanks in advance, guys.
... more >>
Navigating movieclip w/ coordinates
Posted by JelloFlash at 2/20/2006 3:19:01 PM
Not sure how to accomplish this with ActionScript 2.0
here's some code that probably doesn't make any sense (and doesn't work) but
may give you an idea of what I'm trying to do:
targetx = 0;
targety = 0;
startx = getProperty(instanceName,_x) ;
starty = getProperty(instanceName,_y) ;
... more >>
_root with variable inside qoutation marks
Posted by DrGrondos at 2/20/2006 2:58:11 PM
Im trying to refer to a movieClip inside a movieClip inside a movieClip from
the main timeline, but cant seem to get the syntax right.
colourLight[x] = new
Color(_root["scrollBar_mc.colourPalette_mc.colourLight"+[x]+"_mc"]);
... more >>
Control MC Scroll
Posted by StevenRAN at 2/20/2006 2:51:14 PM
I asked this question before, but not sure if I worded it correctly.
I have in a MC 25 jpeg images lined up left to right.
On the main stage I have the MC centered.
I have 5 buttons on the main stage that I would like to control the scroll of
the MC from right to left with.
Play butt... more >>
attachmovie bug
Posted by GeorgeLewis at 2/20/2006 12:54:11 PM
:disgust;
i am developing a large project that is completely dynamic; it attaches movies
from library to stage at runtime according data loaded from database from
server using flash remoting. When i attach a movie clip and the next line of
code i try to access the movie's methods it is undef... more >>
attachmovie bug
Posted by GeorgeLewis at 2/20/2006 12:53:59 PM
:disgust;
i am developing a large project that is completely dynamic; it attaches movies
from library to stage at runtime according data loaded from database from
server using flash remoting. When i attach a movie clip and the next line of
code i try to access the movie's methods it is undef... more >>
attachmovie bug
Posted by GeorgeLewis at 2/20/2006 12:53:51 PM
:disgust;
i am developing a large project that is completely dynamic; it attaches movies
from library to stage at runtime according data loaded from database from
server using flash remoting. When i attach a movie clip and the next line of
code i try to access the movie's methods it is undef... more >>
Design breaking in IE
Posted by Brian at 2/20/2006 11:26:37 AM
My design is breaking in IE on mac and I can't figure out why. The most
right column is breaking. I know a lot of you are going to say, that it
does not matter if the design is breaking in IE on a mac, but in this
case, I really need to make this one work and I see no reason, why it
should n... more >>
Function creation question
Posted by Philip Johnston at 2/20/2006 10:43:07 AM
Hello,
I have a fairly simple question (I hope) regarding creating functions.
I know you can create a function using one of these 2 syntaxes:
1:
function MyFunction (parameter1, 2, etc.) {
//actions
}
2:
myFunction = function (parameter1, 2, etc.)
{ //actions
};
The first I unde... more >>
Object Syntax (Quick Easy One)
Posted by AdamCG at 2/20/2006 4:34:53 AM
I've got what I hope is a quick easy one, I've treble, no quadruply (?) checked
this snip of code against other working exampled and I cannot see what's wrong.
It's got to be syntax (I hope).
The movie is being attached successfully, no problem there. However, it does
not tween and the tra... more >>
can you have two events in one onClipEvent handler
Posted by mark1991 at 2/20/2006 4:22:38 AM
is something of this sort possible?
onClipEvent (load || mouseDown) {
// do something
}
I hate always having to do this all the time. ---->
onClipEvent (load) {
// do something
}
onClipEvent (mouseDown) {
// do something
}
... more >>
Insert Into DataGrid via PHP
Posted by mizzory at 2/20/2006 4:07:15 AM
I am loading data from a PHP script but not sure why this isn't working. Here
is the PHP code I'm using:
print "Mail_Grid.addItem({X:'x', Icon:'icon', Subject:'$subj', From:'$from',
Date:'$date', Size:'Size'})";
Is there anything wrong with this? It should return the addItem to insert in... more >>
Character problems dynamic text
Posted by realtime158 at 2/20/2006 2:49:07 AM
I have a problem when loading dynamic text form a HTML file. Lets say the
text file has the text Drum & Bass you need to replace & with %20 but the &
symbol shows up as blank. Also if you have a comma or apostrophe or even the
French word of cafe it will not render the ? is there a solutio... more >>
Referencing future frames in frame 1
Posted by trabac at 2/20/2006 1:49:42 AM
I'm not sure how to explain this...but here's my best shot:
Say I have a movie that is 1000 frames. In this movie, I have 25 bulletpoints
that will fade in one at a time on specific frames.
Here's my issue...Let's assume I know ahead of time the exact frame number
each bullet is suppos... more >>
Code hints of my classes (as .NET Intellisense)
Posted by FabioIKO at 2/20/2006 1:12:05 AM
Every time I need use a class of mine I must open it and refresh my memory
about properties and methods.
Are there any way to show properties and methods of my classes like Flash
shows its own classes?
Can I do it in another editor?
... more >>
New HTML window with SWF - pass in args?
Posted by William_Donelson at 2/20/2006 12:50:41 AM
I have created a nice SWF to show slides with narration.
I could probably do this the wrong way, but...
What's the "best practice" way to build new HTML window with the swf in it,
and tell the swf the name of a folder to work with, e.g.
- "Open nss.swf in new HTML window (wid, hei) an... more >>
Detecting edge of stage
Posted by Badger95 at 2/20/2006 12:48:44 AM
I?m having some minor difficulties understand a part of this code. Following
the ?Flash 8 ActionScript Training from the Source? Book. If anyone can give me
a hand would appreciate it. If you have the book its on page 74.
This is just a snippet of the code. It works fine. It moves a small ba... more >>
Weather Application, Feedback Please!
Posted by LucaLT at 2/20/2006 12:00:00 AM
Hello,
Last November I was looking for help in this forum. I was trying to build a
weather application and I got stucked. I also asked for some feedback about my
coding, since it was my first Flash application ever. Well, I didn't posted the
code because I put aside the application for qui... more >>
setInterval problem
Posted by Egui at 2/20/2006 12:00:00 AM
I hace an MC with setIntervel set to 5 seconds.
I load that small mc into a main movie and it begins to run fine. Suddenly it
starts to skip frames and eventually locks my main MC. What may the problem be?
... more >>
Adding a rewind feature to an interative flash presentation
Posted by Peter_geoghegan at 2/20/2006 12:00:00 AM
I am in the process of creating an interactive presentation for a client,
"deconstructing a traction motor". Go to
http://www.associatedrewinds.com/test/deconstructingmotor.html to see what
progress I've made. You will see that my deconstruct button is linked to a play
command. When the anim... more >>
flash/php preloader
Posted by jonnybennett at 2/20/2006 12:00:00 AM
I have a site that sendAndLoad's info from a mysql database.
I would like to find a way that when the user triggers the sendAndLoad
function that a preloader will appear so that they can determine how much
longer it will take for flash to recieve and display the data. All the
tutorials I ca... more >>
Need help from experienced user
Posted by Lilspyder007 at 2/20/2006 12:00:00 AM
ok well i have only been playing around with flash 8 pro for about 2 weeks or
so and i think i am doing really good so far, i was wondering if anyone could
tell me if theres anyplace to see tutorials on actionscript and like making
button commands. i am trying to make my movie stop on a scene ... more >>
Loading large JPGs
Posted by Steve Bond at 2/20/2006 12:00:00 AM
Hello,
Flash MX has a limitation whereby JPGs that are larger than 2880 pixels
along one size cannot be dynamically loaded into Flash using loadMovie().
Can anyone tell me whether this is still the case in Flash 8?
Thanks
Steve... more >>
Loading Slide Presentation, then Navigating to a particular slide
Posted by Flash Camel at 2/20/2006 12:00:00 AM
Dear All,
Hers the scenario:
Swf file prompts user: Have you used this before.
If the user clicks Yes: Then the file loads the Slide Presentation and goes to
"slide2".
If the user clicks No: Then the file loads the Slide Presentation and goes to
"slide1".
My problem is how ... more >>
Changing the Label colour of a checkbox component
Posted by ^}{yPeR^ at 2/20/2006 12:00:00 AM
Hi,
How would I go about changing the label colour of a checkbox component. Ive looked in the help documentation but cant seem to find anything about it anywhere?
Thanks
Christopher Jack... more >>
School assignment, help needed!
Posted by DrGrondos at 2/20/2006 12:00:00 AM
i want to be able to create Color datatypes, but be able to access them using a
loop.
Heres what i've got.
var palette1:Color = new Color(colour_mc);
button_btn1.onRelease = function(){
palette1.setRGB(red);
}
but I want to access pallete1 like an array . Im thinking someth... more >>
NetServices.as dosen's work on MAC/Tiger
Posted by AS-Dev at 2/20/2006 12:00:00 AM
I have Flash Proffesional 8 on MAC OS X (Tiger), I need to use FlashRemoting
Functions So I download the Flash Remoting for Flash 8 on MAC.
After the installation i try to Include NetServices.as but dosent work. This
is the error : in this Code Line:
#include "NetServices.as"
**Error... more >>
|