all groups > flash actionscript > april 2004 > threads for thursday april 1
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
HELP! pre-loading .swf files
Posted by hullo1234 at 4/1/2004 11:33:49 PM
Hi I'm a newbie flash user. I'm making a flash which eventually loads another
..swf file. The problem is that there is a delay for the user which has to
download the 2nd .swf when its called to be loaded. Sometimes the 2nd movie
doesn't even play because the loading time is too long. I was won... more >>
Centering a MC
Posted by Dinghus at 4/1/2004 11:33:34 PM
I want to attach a movie clip and center it on the stage. Is there a simple
command to do this?
And then, how do I know what a MC is using for _x and _y reference points?
Sometimes I will put in _x= 0 and it puts the middle at the far left edge.
Othertimes I put in _x=0 and it puts the ... more >>
Pause a Sound Object
Posted by cswenke at 4/1/2004 11:28:28 PM
Can you pause a sound object and resart it where it left off?
Any help would be greatly appreciated!!... more >>
<B>-tag not working?
Posted by HypnoTech at 4/1/2004 11:16:40 PM
Hi,
I'm filling text fields with a HTML string I exctract from XML files... all
this workis fine, but I noticed that flash renders all of my HTML fine, except
for the <B> tag, the text inside that tag is always invisible. Its really
strange becuase I used an editor I made in flash to... more >>
Function execution order
Posted by Laiverd.COM at 4/1/2004 11:02:21 PM
Been playing around with calling a function from another function through a
parameter. This is what I have:
// code
callFunction = function (c, d, e, func) {
trace(c + " " + d + " " + e);
func;
};
paramFunction = function (a, b, c) {
trace(a);
trace(b);
trace(c);
};
callFunction... more >>
redirect to another page after posting to form
Posted by iamalex at 4/1/2004 10:06:52 PM
on my send button, I'm sending to a cgi email script, how do I add a redirect
in the flash script to go to another page?
This is my current:
on (release) {
getURL("http://www.myurl.com/cgi-bin/cgiemail/answerFile.txt", "", "POST");
}
... more >>
loading pictures dynamically
Posted by dk_says_hey at 4/1/2004 9:50:27 PM
i am putting togeather a slide show. the picture names are labeled c0.jpg -
c67.jpg and sometimes only on odd numbers the picture doesn't show at all. is
there a remedy to this problem?
--please help me
--thankyou
function init_picture(loc) {
//loc will be the loction on the pic
... more >>
still problems with image in text variable
Posted by cgmirish1 at 4/1/2004 9:36:57 PM
I have tried all the tricks I know and the one that KGALD suggested to no
avail. (thank you!) (if you have the time maybe we can work on this off the
forum. My email is in the code sample below. I'd really appreciate it.) I am
probably doing something stupid, or missing something right in fron... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Help!!!! LoadVars object
Posted by VanTon at 4/1/2004 9:00:27 PM
Hi
I use loadvars object to send the data to server however even I didn't give
out the target to the send method the ASP page which will get the data pop up
and I don't that page pop up
Thank you
... more >>
string to number
Posted by etg7 at 4/1/2004 7:28:57 PM
hi all,
i know there's a toString function in actionscript....what about the other way around...
i have a string that's a number but i want to turn it into an integer...
thanks
etg... more >>
zoom with camera
Posted by Zarfeen at 4/1/2004 6:55:44 PM
Excuse me for the english, I'm french :p
I'd like to know if it's possible to use a camera/zoom effect with the
action script ???
what is the code ?
thinks
Thomas, Paris
... more >>
Flash forms to php scripts
Posted by civic3x98 at 4/1/2004 6:45:20 PM
I have a page that uses a flash MX form, which allows the user to input the
username and password. User clicks the submit button (still in flash), and the
values that were entered into the u/p input fields is passed to a PHP script. I
cant seem to get the code on flas right. When i hit the sub... more >>
can i send movies to a server????
Posted by oskoska at 4/1/2004 6:41:34 PM
Load Movie on Level Issue
Posted by LKHJA at 4/1/2004 5:52:53 PM
If I have a MC named "Holder" and a movie named "XXX" and I'd tried to load
the movie into the MC
In button 1 - (load the movie)
on release {
_root.Holder.loadMovie("xxx.swf",1)
}
I button 2 (Stop the movie)
on release {
_level1.stop
}
The sound stops but the movie's st... more >>
Non-resizing text field child? Possible?
Posted by GammaM at 4/1/2004 5:37:44 PM
Hey,
Anyone know how to have a textField that is a child of a movieclip NOT resize
it's font when it's parent movieclip is resized? Ideally, only the textField's
bounding box is resized, not the font size. Wondering if anyone out there is
CLEVER enough to figure it out ... ;0)
GammaM
... more >>
Click Handler in MX
Posted by hh11w-k at 4/1/2004 5:35:32 PM
Hello,
I'm trying to do some calculations in MX and am going through this tutorial -
http://www.sitepoint.com/article/math-calculations-flash/2 - Step 10
Unfortunatley, the tutorial is made for 5. I'm getting lost when the tutorial
says to set the Click Handler. I don't see a Click Handl... more >>
need help with easy actionscipting, MX2004
Posted by TG_Laszlo at 4/1/2004 5:07:54 PM
Hi everyone, I feel really stupid, but I got this problem with a for command. I
have a list component on the canvas that has an instance name of Image_List.
Now I put this code in the try to add three images with scripting,
Images = 3;
Image1 = "go.png";
Image2 = "gs.gif";
Image3 = "as... more >>
Buttons Within Symbols
Posted by Jay Ellington at 4/1/2004 4:55:06 PM
I am trying to mock up for the client how this nav bar will function. Episodio
4 is the active button. On rollover it plays it little animated build. I need
the Leccion 4a button to jump the "Main" scene to frame label "Ep 4" to play
the closing of the nav bar. I have
on (release) {
_r... more >>
.ASP & ActionScript2.0
Posted by ol?vio at 4/1/2004 4:50:47 PM
Hello again my friends!!!
once more i'm having troubles whith actionScript...
i?m using external data that i load from a .asp document. the thing is that i
want to put a photo in the stage (by code), and i can't achieve it...
i've got the absolute URL(which i get from the .asp document) to ... more >>
multiple solutions in each array for string and n
Posted by iamalex at 4/1/2004 3:49:41 PM
I have a game that asks a question and then you write in the answer.
Both the questions and answers or in question array and answer.
Some questions have the answer as 4 or 5 or 53. Can I and how would I let the
answer be correct if someone types in four or five or fifty-three instead of
put... more >>
DataProvider.sortItemsBy() help required
Posted by I'mAndy at 4/1/2004 3:25:44 PM
I am trying to sort the results numericallyof a Flash Remoting RecordSet
using
myDP.sortItemsBy(fieldName, order, [optionsFlag])
If I try
myDP.sortItemsBy("myfield", "DESC")
I get the result sorted as a string
The documentation relates to arrays (which I am not clear that a record... more >>
Layering duplicate clips?
Posted by rwmorey71 at 4/1/2004 3:23:06 PM
Hi,
I have a movie clip with two clips inside of it -- one clip is just a box and
one clip contains a text field. In the movie clip the text is on a layer on top
of the box.
I am using action script to duplicate the clip so I can have many copies of
the clip in the movie.
The prob... more >>
Flash Check box + Radio Group
Posted by Orical at 4/1/2004 3:17:52 PM
Heya guys!
Thanks for looking...
i have this survey done in flash <attached at bottom>
but i have the questions seperated by frames, such that when you clikc on the
next frame button it <it goes to the next frame duh lol > n e waz
when i go to the previous frame the choice the person h... more >>
Passing Test Results Between SWF's
Posted by vvicin01 at 4/1/2004 2:22:43 PM
I am attempting to create about 20 swf files in a course module. The swf files
contain quizzes. I would like to track their results on each quiz throughout
the module. How do I pass the data from swf to another? At the end of the
module I would to compile the results and supply the user with t... more >>
Justifying Text with Script?
Posted by grob at 4/1/2004 1:48:55 PM
I have an animation where half way I need to change the justification of a
Dynamic textfield from 'center' to 'left align'.
Is it possible to script this change, or is it more efficient to just create
a new text field. (It only contains a few words)
Thanks again
Geoff
... more >>
hittest
Posted by Kennef at 4/1/2004 1:35:16 PM
I am creating a game and i am having trouble with my hittest code
so far i have:
onclipevent (enterframe){
if (first_mc.hitTest(second_mc)) {
second-mc.gotoandplay("hit");
secondhealth=secondhealth - 5;
}
}
this does not seem to wor... more >>
.as newbie looking for direction
Posted by JosefHaas at 4/1/2004 1:26:33 PM
I've been reading and trying, but I still feel lost on this and probably don't
even know how to word my question. Can anyone recommend an online tutorial on
how to use an .as file? I was lucky enough in my searching to find an .as file
to do what I want my project to do, but I can't even figur... more >>
mail in player standalone
Posted by Eduardo Dorantes at 4/1/2004 12:58:17 PM
Hi, anybody can tell me how a can include email link in standalone proyect?
embeded into html code, getUrl works, but in a proyect standalone do not
work.
Thanks to all.
... more >>
How to use externally linked wav files ??
Posted by aparna at 4/1/2004 12:40:53 PM
Hi Flash gurus out there.....
I have 2 fla files a.fla and b.fla which use common wav sound files.I
imported these sound files in another file snd.fla and gave the identifier
name as well as the path where the swf file(having the sound files)will be
saved.
Having done this I dragged and dropped... more >>
child MC doesnt work to click in parentMC
Posted by dumbmonk at 4/1/2004 12:40:23 PM
hi all,
i have a MC_01 in a stage, inside the MC_01 i have another movieClip MC_02.
script in MC_01:
on(press){
startDrag(this);
}
on(release){
this.stopDrag();
}
script in MC_02 which is the child of MC_01:
on(release){
_root.gotoAndStop(2);
}
However, it doesnt wo... more >>
Text Along a Curve
Posted by geut at 4/1/2004 12:32:58 PM
Hi,
I want to align a multi-line text along a curved path. The curved path is
vertical so it will be some kind of a right (or left) align. In other words an
horizontal text along a vertical curved path.
Is there any easy way to do that?
thanks in advance, geut.... more >>
how do i load txt file into externally linked SWF?
Posted by kelly jones at 4/1/2004 12:26:38 PM
is there a flash guru out there willing to help me on this one please?!!
i have made a small but basic site for a client entirely in flash. in the
'contact us' section they have requested small business cards pop-up for each
person when clicked upon. the tricky part being is that they hav... more >>
Quiz Template Modification
Posted by Manoj vn at 4/1/2004 12:01:34 PM
sir,
I am developing a quiz using quiz template provided by macromedia(thanks to
macromedia).I want to know if i can modify the same template. (For eg:In 'Fill
in the blanks can i have more than one blank space, and separate answers for
each blanks, or can i have more than 8 options for dr... more >>
How do I clear Variables?
Posted by grob at 4/1/2004 11:25:31 AM
How do I clear Variables, Arrays, Objects, etc. in actionscript?
myThing= "" ??
Thanks
Geoff
... more >>
saving XML in Dreamweaver for Flash : which unicode normalization should be used?
Posted by Ed Massey at 4/1/2004 11:01:37 AM
Which, if any, Unicode normalization should I use when I save an XML file
for use in an SWF in DW?
(does it matter?)
And should I include a Unicode normalization signature (BOM)?
My choices are:
C (Canonical Decomposition, followed by Canonical Composition)
D (Canonical Decompo... more >>
thumb through a book
Posted by Richard Joahannes Clinton at 4/1/2004 10:38:11 AM
Good morning Web designers,
I am interested in a Tutorial where I can use a technique like action script
or similar to give an effect thumb through a folder.
If know about this subject or an address where it may can be found please
contact a.s.a.p. buckinghamshire@hotmail.com "subject thumb... more >>
flash 5 using variable
Posted by Stephen Savage at 4/1/2004 9:59:36 AM
Please could you help me with a simple piece of actionscript. I've been
trying to get my head around it for 5 days now, and seem to be going around
in circles. I'll try to explain as simply as I can! I'm using Flash 5 by
the way...
On frame 1 of the timeline, there is a small piece of code w... more >>
How do I swap an Instance?
Posted by grob at 4/1/2004 9:57:26 AM
I want to dynamically swap an instance in a MovieClip. How do I go about
scripting a
swap?
Thanks!
Geoff
... more >>
Can Flash read files in folder????
Posted by ShaolinWood at 4/1/2004 9:54:33 AM
Is it at all posible to detect if there are files in a specific folder with
Flash (on a CD ROM)???
Even if it is in the fscommand folder...
I want to detect if there are files in a folder, i.e images, then return a
true or false to the function.
in Director I use the "getNthFileNameInFol... more >>
LoadMovieNum or LoadMovie??
Posted by sernan at 4/1/2004 9:38:52 AM
What is the difference between LoadMovieNum and LoadMovie, is it the same? when will i use each of them?
thank you so much!... more >>
generating an XML document from flash
Posted by ShaolinWood at 4/1/2004 9:00:21 AM
Hi,
I need to create an interface that generates a, XML document.
How do i do this?
the flash file will be running of a hard drive, not the web.
Thanks... more >>
No download mp3 Files in IE cash directory
Posted by einmong at 4/1/2004 8:52:53 AM
I make background music player with this code
mySound.loadSound("mp3 file URL", true);
but After I have seen the page with that player,
mp3 file is downloaded in IE cash directory.
I want that mp3 file is not downloaded. what can i do...
sorry everyone, I cannot command good Engl... more >>
Buttons Not Holding their hit states inside movie
Posted by Web_Guy_Jeff at 4/1/2004 8:12:26 AM
Also, Whenever I use a button within a movie clip, it doesn't have the same hit
area.
It only selects the actual letters as opposed to the underlying hit area
(which works if I just use the button)
Ideas?
... more >>
Button Within Movie
Posted by Web_Guy_Jeff at 4/1/2004 7:50:09 AM
Ok.
I have a button which is within a movie clip.
I am trying to have it where when you click on the button (within the movie
clip) it will take the entire movie to a certain scene named main, frame 1, and
stop.
Any help would be appreciated.
... more >>
panorama
Posted by purple_am at 4/1/2004 6:36:57 AM
hi
Can anyone help me out with
[L=this.]http://www.clubmed.fr/cgi-bin/clubmed55/Ratio/Villages/villageclub.jsp?
BV_SessionID=@@@@0278554484.1080800718@@@@&BV_EngineID=ccceadckmmjhehjcflgcefkdf
fhdfhg.0&PAYS=133&LANG=FR&pIDVILLAGE=ATHC[/L]
Go to the visite virtuelle and thats what i need to... more >>
Variable in a loaded movie
Posted by Manoj vn at 4/1/2004 6:22:10 AM
Hi forum,
I am loading a movie to another fla. My swf contains a variable. But i am not able to get the value of the vriable in the loading movie. I wish to have an earlier solution for this,
Thanks... more >>
Mouse Listener
Posted by DarkRide at 4/1/2004 6:11:42 AM
This problem is driving me crazy! I have a clip that contains a graphic with 2
invisible buttons on it. I need to be able to let the user know that he has
made a mistake if he clicks anywhere but on one of the two buttons. I've added
a mouse listener for this purpose, but when I click on on... more >>
using images with text; the text is a variable
Posted by cgmirish1 at 4/1/2004 5:05:55 AM
Please help!! I am usually self sufficient, but this one I simply am stumped.
I need to use an image next to text just like you can in html -- I am using MX
and have the text in a text variable, but cannot fihure out how to display an
image and align it so the text can wrap also. This must ... more >>
Basic toggler for fscommand Fullscreen
Posted by complexity at 4/1/2004 5:04:35 AM
Hi all I am trying to create a basic toggle switch for a Fullscreen/Minimize
button.
Here is my code:
//actions frame
MYwindowMode= true;
fscommand ("fullscreen",MYwindowMode);
//inside minim_mc sitting on another mc
on (press) {
_root.MYwindowMode= !_root.MYwindowMode;
fscom... more >>
Change Register point of a movieClip
Posted by JiZhang at 4/1/2004 3:07:25 AM
My question is how to use actionscript to change a resgister point of a movieClip.
... more >>
some Utilities I wrote...
Posted by fsharpmajor at 4/1/2004 1:12:58 AM
I have written some useful utilities (such as a flash trace window, for testing
outside of flash; array utilites: copy, clear, radomize, compare; serializing
objects, etc ...).
And I am releasing them to the public. I find them usefull and hope you will
too.
[URL=http://webpub.byu... more >>
resizing new window and disallowing resizin of swf
Posted by boondocksaintMX at 4/1/2004 12:42:31 AM
i want a button to open up a blank window without the toolbars and wahtever.
just the swf file (like u would see on most official movie sites when there is
flash used. no search bar, no icons, just minimize and close buttons)
and i want for the movie to [b]not[/b] be resizible and for the wind... more >>
|