User Profile
Collapse
-
ty and sorry for the funky thread title. i pasted both of those blocks into the actions for the mc and neither worked. this is driving me up a wall -
gotoAndPlay Question
ok for some odd reason the movie clip I'm using as a button will not gotoandplay the frame label I want.
the code is as follows
on(release)
{
trace("did you get here")
_root.gotoandpl ay("firstquiz" )
}
in the trace window it get the did you get here but the nothing happens. it works as a button without the _root. I've done far more complicated things... -
Getting directory contents
Hi
I am trying to build a small script that retrieves a list of files in a given directory, into an array, then prints them to a text file, so it can be loaded by flash into a movie clip. The idea is that someone could just upload a file to a directory and next time the page loads it would show. I found a script that does it, but I would rather have a solid understanding of how it works.
The script I found is here... -
use something like
first make a button, then a movie clip out of the button (wow how much more control does that give us, i do it now just out of habit)
use on(enterframe)
clicked = 0;
then on(mouseup)
clicked = ++clicked;
//rest of the actions
will put together an example if you need it stillLeave a comment:
-
i use the kirupa tutorial for my mail sending needs. works great, but the language isn't great. Make sure to keep the instances named right or it will NOT workLeave a comment:
-
this may be a silly question, but did you set up an appropriate table in the SQL db?
i had my fun using the command prompt exercises while reading the sql manual, and then I discovered phpMyAdmin. its available on most hosts and greatly helps in setting up sql dbs.
usually, php and my sql will give errors (in great detail lol) any errors we should know about that might help someone trying to help you?Leave a comment:
-
do you get any errors traced? what does happen? but i think its because the linkage id is incorrect due to it being loaded instead of taken out of the library.Leave a comment:
-
very cool, though im not the person that asked the question, i have a feeling that this will be useful to me. ty for the expertise.Leave a comment:
-
or you can simply change the hit state to the size of the button...meanin g, in the hit state of the button, remove the extra stuff that is not part of the button...second ary text, basically the hit is invisible, but anything in the frame will indicate where the mouse recognizes the button as a button. (need an example pm me)
also best practice for something like this is
step 1
make graphic
step 2
...Leave a comment:
-
could just set up a variable to hold the info of how many times the button has been clicked.Leave a comment:
No activity results to display
Show More
Leave a comment: