all groups > flash actionscript > december 2005 > threads for wednesday december 7
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
hitTest
Posted by Michael Gioffredi at 12/7/2005 11:48:42 PM
How would I go about checking a hitTest from within a movie clip?
http://www.geocities.com/MichaelGioffredi/hitTest.fla
For example, two movie clips, b and c, are inside a movie clip named a on the
main timeline. Also on the main timeline I have the following script which
traces before t... more >>
how to create instance of movieclip using actionscript
Posted by zx.zxcv at 12/7/2005 11:02:42 PM
how can i create an instance of a movieclip symbol in my library using actionscript??
thanks... more >>
sine wave
Posted by hatsi59 at 12/7/2005 11:00:56 PM
Hi All,
can someone tell me how to go about drawing a sine wave with actionscript. Also I want to take the amplitude and use it for drawing other items.
Many thanks
George
... more >>
Auto E-mail
Posted by ClaytonZ at 12/7/2005 10:58:50 PM
How would I create a submit button to send an e-mail that contains information a USER put in some text fields.
Thanks,
Clayton... more >>
How to go to top of page?
Posted by Ace_25 at 12/7/2005 9:47:34 PM
When I "switch pages" (gotoAndStop at new keyframe) can I make the Flash movie
jump to the top of the page (Y position = 0)? My movie is 1100 pixels tall so
it requires some scrolling, when I switch pages it stays in the same y position
instead of jumping back up to the top (like an HTML page... more >>
on click event: press and hold
Posted by asidfree at 12/7/2005 9:10:32 PM
Hello all,
Project: I am wanting to have navigation buttons that, upon pressing, will
move an object in a certain direction continuously. I have it set up to
increment the _x or the _y when the appropriate directional button is pressed,
but at the moment it only increments the _x or _y o... more >>
dynamic functioning
Posted by ofeet at 12/7/2005 7:52:24 PM
this works fine:
eval("_root.myObject").myFunction();
but this doesn't:
eval("_root.myObject.myFunction()");
any suggestions are appreciated.... more >>
gotoAndPlay not playing - just stopping!
Posted by DIY_Lobotomy at 12/7/2005 7:51:52 PM
I put the following action on frame 1 of my movie, in reference to an MC called
"mcPurp":
mcPurp.gotoAndPlay(2);
When the movie starts, the MC goes to frame 2 and stops. Just for the
purposes of troubleshooting, I changed the 2 to a 6, and tested the movie
again. Then the MC went to ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
eval( ) maybe?
Posted by ofeet at 12/7/2005 7:39:04 PM
Okay here's what's going on:
I'm doing a flash program that uses a php socket and I'm sending commands how
I would in flash eg. _root.Furance.attachCoal();
but since everything is sent via XML it's send back (by the socket server) as
a string.
I've written a function that breaks ever... more >>
Moving target
Posted by jimmy_milk at 12/7/2005 7:27:45 PM
How can you have one movieclip follow anouther one? Like a enimey which only can only follow using the x-axies
Thanks for your time
Jimmy_milk... more >>
Please I need help with Radio Buttons - Im Begging!!!
Posted by andybiggsy at 12/7/2005 7:18:22 PM
I am having problems with radio buttons in flash, i have tried over and over
for days, been to numberous IRC channels and forums ands this really is my last
resort, its a simple problem but no one will help me.
I am begging please help me, the form works perfectly but the radio buttons
won... more >>
Flash8-AS: Previous working fla's return multiple errors
Posted by Manare at 12/7/2005 6:54:39 PM
Hi!
I've just moved from Flash MX to Flash 8.
I've found out that when publishing with Flash 8 my previous MX's working fla
files, I get multiple errors.
I've had a look at the Export publishing settings and I think they're all
correct:
- Exporting version: 8
- AS Version: 1.0
So, I... more >>
Loading swf on button.
Posted by Peter Fettes at 12/7/2005 6:03:40 PM
I have a set of three buttons 1, 2, and 3. Each of which loads a different swf
into my main movie.
My problem is this, If for example I press button 1 the movie loads in and
plays, but if I re-press it rather than move onto the next button then it
re-loads and replays the swf again.
... more >>
Never Cache loadvariables data???
Posted by Russell at 12/7/2005 5:56:15 PM
How can I ensure that my vars populated through "loadvariables" are never
cache'd within any active flash player?
... more >>
Alpha says it changes, but not visible
Posted by jeffdenman at 12/7/2005 5:55:04 PM
Using the code: < my_mc._alpha = 20; > I initialize the alpha of one of my
movie clips to 20%. This is plainly visible on screen. Then later I press a
button which changes the alpha to 100. If I trace the _alpha value before and
after setting it to 100% I get:
my_mc._alpha: 19.921875
... more >>
binding _ymouse actions to a MC
Posted by MoleSPF at 12/7/2005 5:53:45 PM
I have a Navigation menu on the right side of my flash that has a graphic that
should follow the mouse as it moves inside the Navigation MC. I tried :
onEnterFrame = function(){
mouse_over._y = _ymouse;
updateAfterEvent();
}
This works for having the MC (named mouse_over) follow the ... more >>
If and else statement problems
Posted by David-12-11-79 at 12/7/2005 4:19:31 PM
This is pretty frustrating for me, I need a button to be disabled while an swf
file is playing. I am loading the swf file into another swf movie, problem is i
do not want the user to press the button and load the movie again, so I am
trying to disable the button if that movie is playing, here ... more >>
How do I go about linking selections within a combo box to different frames
Posted by jeremyrschroeder at 12/7/2005 4:04:10 PM
How do I go about linking selections within a combo box to different frames?????
I am very confused and can't find help tuturial or doc anywhere, now that the
parameters panel no longer has an event handler options. Need it to work for
Flash 7/8 combobox component
... more >>
Convert MPEG/AVI to FLV at serverside
Posted by FCSWork at 12/7/2005 3:51:17 PM
Hi dude,
Any idea on this?
I'm developing a video sharing website. User will upload a MPEG/AVI file and
then they will view the video in Flash player. I understand, once user upload
the AVI/MPEG file I need to encode the Video in FLV format at serverside. Is
there any API or Engine avi... more >>
Printing source code
Posted by garryleebooker at 12/7/2005 3:00:28 PM
Printing an .AS file is easy. But how do I print the ActionScript in a .FLA
file? I've looked everywhere for the answer.
I have Flash MX 2004. When I select File..Print, it prints only the stage.
... more >>
how to tell my movie to stop for 25 sec
Posted by mplekrina at 12/7/2005 2:24:19 PM
hey dudes anyone knows how to stop a movie for 25 sec and then automaticaly starts the movie at the next frame
... more >>
number validating
Posted by Paulyd1976 at 12/7/2005 2:16:22 PM
Hi
I have a form allowing my customers to upgrade their software for our
products. When submitting a registration, I am trying to validate the product
serial number. All our serial no's begin with a 2 or a 9 and are either 4 or 5
digits long. Is there a way to get flash to check to see if ... more >>
loadMovie doesnt work in Firefox..
Posted by bobbysojitra at 12/7/2005 1:44:49 PM
Hi guys
My flash move has a button which called loadMovie like :
loadMovie ("c:/flash/myMovie.swf",_root);
this works in IE, but not Firefox. I thought the whole point of flash was to
be browser independent for things like this?!
Any ideas? Cheers in advance.
... more >>
convert text input field string to array
Posted by kokochka at 12/7/2005 1:42:27 PM
I have a problem converting multi-line text input field string to array. It's
like you can enter several e-mails (1 e-mail at a line). On clicking a button,
i want to convert this to an array.
I wrote a script like this
*************
var myArray:Array = emailTo1.text.split("\n");
fo... more >>
Finding the Wrap endLine points for a multiline textbox
Posted by Ben Dewey at 12/7/2005 1:28:52 PM
Hey everyone,
I have been building a drag/drop utility, similar to MS Visio. A Bunch of
element on the Left when you click them, it adds them you your workspace,
where you can drag them around, and when you are done it posted back to an
ASP.NET Page that writes a csv of imgPath,x,y,h,w,d t... more >>
get index of element in array
Posted by timdiacon at 12/7/2005 1:21:25 PM
Hello,
I have an array which for example is constructed like this...
[ [ "cat" , "dog" [ 1 , 2 , 3] ] , [ "sheep" , "goat" [ 1 , 2 , 3] ] ]
Is it possible to search this array for "sheep" for example and get
myArray[1][0] returned?
... more >>
Loading External swf files in a FLA
Posted by Ricky55 at 12/7/2005 12:04:28 PM
I have a movie clip that contains a flyout menu with three buttons, on my main
timeline I have a rectangular movie clip that I want to use to load in external
movie clips. The rectgular movie clip that I want to use as a loader as the
instance name green Box
On my main timeline I have thi... more >>
Cannot see problem
Posted by DazFaz at 12/7/2005 11:43:43 AM
Hi,
I am parsing an attribute from an xml doc, which is a string.
My problem is that I have a text field on screen, which is waiting for this
string.
Within the XML attribute string, I?ve tried "\r" & "\n" to try and make it go
to a new line. But it does not recognise this for some r... more >>
Please help - setInterval not working
Posted by shholland at 12/7/2005 11:35:28 AM
I'm having problems.
I'm trying to set up an interval within an if statement that's inside a
function. And I can do it, but the problem is, if I try passing along
any variables into the function within the interval, the interval will
only execute once.
The whole movie goes something like:
... more >>
Navigation/Interaction
Posted by pete2004 at 12/7/2005 11:14:03 AM
Dear Flash Guru's!!
I have a a movie clip which plays at the end of scene one. Inside the movie
clip it holds the buttons to navigate to the next scene. I have writing this
code (see below) to go to the next scene, but it does not. Flash says there are
no errors in the code. (sectionstart ... more >>
load / unload swf into movie?
Posted by Peter Fettes at 12/7/2005 10:37:06 AM
Anyone know a better way.
I have loaded a swf into my main movie file by placing the following
ActionScript in a keyframe on the timeline where I want it to appear/load into
the movie.
I used the following actionscript on the keyframe-
this.createEmptyMovieClip("placeHolder",100); //... more >>
distachEvent Not Triggering
Posted by Gauav J at 12/7/2005 6:57:10 AM
I have written a class and tring to load a xml data inside a function when the
complete data is loaded i want to trigger a event. the code is working fine
without error but i am unable to catch that event in my fla file. here is the
code \
\***************************************************... more >>
Re: problem with _height driving me nuts
Posted by zx.zxcv at 12/7/2005 6:27:42 AM
movieClip2 is masked, the mask is 304px height, that makes it appear shorter, but the real height is 429px, still very confused =S... more >>
menubar components
Posted by treybraid at 12/7/2005 5:16:01 AM
ok im using the menubar component for my site... i finally got it scripted with
all the button's from live doc's and ive got a couple of question's... im still
getting some error's when i preview it.... can someone please take a look at
the code below and let me know what ive done wrong...
... more >>
loadMovie
Posted by ClaytonZ at 12/7/2005 3:00:33 AM
When I load a movie I want the old file that I loadedmovie from to disappear and the loaded file to take a certain position on the screen. How do I do that?... more >>
Javascript Popup From Timeline
Posted by Lucy Xerge at 12/7/2005 2:56:02 AM
Hello all.
Adobe? Wondered where I was for a moment!
I have this code: javascript:Launch('http://www.mydomain/popup.htm') , which
is applied directly to text. I have the corresponding script in the HTM file
and all works lovely. I now, however, need to run this script from the
timeline... more >>
button selection
Posted by jonnybennett at 12/7/2005 1:53:14 AM
Okay I didn?t get a huge response to my previous problem, I think I needed to
break it up into parts.
Basically I have 10 movie clips containing the numbers 1-10. When clicked they
load different messages. If number 1 is clicked I want that button to change
its formatting e.g. the number 1... more >>
Strings larger than 65k
Posted by lspnet at 12/7/2005 12:38:54 AM
Anyone know of a data type or workaround to analyze and manipulate strings
larger than 65k chars. I'm trying to bring in and parse and HTML document using
SendAndLoad which is about 85k, and 1/3 of the HTML gets consequently stripped
off.
... more >>
loadMovie
Posted by ClaytonZ at 12/7/2005 12:08:01 AM
Alright, here's my situation.
My root file (blindsndrapery.swf) has a button in it that I want to take me to
another .swf file (blindspages.swf)
Here is my code on the button that I want the loadMovie command to work on:
on (press) {
gotoAndStop(_root.createEmptyMovieClip("targetMC", ... more >>
loadMovie
Posted by ClaytonZ at 12/7/2005 12:07:47 AM
Alright, here's my situation.
My root file (blindsndrapery.swf) has a button in it that I want to take me to
another .swf file (blindspages.swf)
Here is my code on the button that I want the loadMovie command to work on:
on (press) {
gotoAndStop(_root.createEmptyMovieClip("targetMC", ... more >>
|