all groups > flash actionscript > january 2006 > threads for saturday january 21
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
Storing variable problem
Posted by mac monkey at 1/21/2006 11:08:23 PM
Hi, I have a switch statement in the first frame of my movie in which case 1
incriments the value of the switch to 2 when it is finished and 2 to 3 etc.
However, obviously i need to initialise a variable but if i do this in the
frame, as the frame is paused the initialised variable always take... more >>
3d animation in Flash??
Posted by Ivana_22 at 1/21/2006 10:52:50 PM
Hello,
I need to make a menu with 3d object and 2 buttons:
- 1st button: to rotate object (I already found solution for that)
- 2nd button: when click button that object (for example cube) need to stretch
into grid
- and finnaly: when you click on some flat area of that 3d cube, that... more >>
nodeValue woes
Posted by amyinbrooklyn at 1/21/2006 9:58:25 PM
Having problems getting the nodeValue to work so that I can maintiain entities
from the XML doc. This is the error I'm getting in the output window:
"Type mismatch in assignment statement: found String where XMLNode is
required."
This is some of the code:
var xnRoot:XMLNode
var xnItemN... more >>
Drag and Drop Problem
Posted by brunel_96 at 1/21/2006 9:09:32 PM
Hey,
I have a problem with drag and drop. I'm using the follow code on a movie clip
so that when it is dragged into another box it makes some text appear and it
jumps to another place in the timeline:
on(press) {
startDrag(this);
_root.answer1="";
}
on(release) {
stopDrag();
... more >>
How to tell when a nested movieclip stops play
Posted by katyjack30096 at 1/21/2006 9:03:05 PM
Hey - I'm creating a presentation that is a series of slides. When a slide
first displays, a separate .swf is loaded into a moveclip on that slide and
then plays to the end. I'd like to set it up so that as soon as the movieclip
finishes playing, then the next slide is loaded, but I'm don't kn... more >>
Dragging and changing an mc's timeline position
Posted by boxershort at 1/21/2006 8:41:58 PM
I have a movieclip on the stage which contain the following code (see below).
When I add the code between the comment tags ("Added code --begins"), the
dragging doesn't work properly. Without it, it works fine.
What I'm trying to do is have a movieclip (this) hide a 2nd movieclip beneath ... more >>
button movie
Posted by dirkness at 1/21/2006 8:35:55 PM
Hi
I've implemented the script below to control some button movies - and it works
fine.
But I'd like the script to instruct the button to stay down once clicked - and
then for it to revert to the up state (frame 1) when another button is clicked.
So the current page is always indicat... more >>
SetInterval
Posted by mac monkey at 1/21/2006 6:49:53 PM
Hi, I have two symbols, a button and a movie. I want the movie to count up when the button is pressed, and store the number of seconds in an integer.
How can i do this,
Thanks,
Marc... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
x & y coord of a flash component
Posted by Jonathanhgarciao at 1/21/2006 6:01:39 PM
Hi, I'm having a few problems setting the location of a flash component within
a flash forms application that I developed. The component is a captivateplayer
that loads captivate swf's into flash via flashvars, as files and an xml file.
This component was develped and posted in the Macromedia ... more >>
Help with button
Posted by mac monkey at 1/21/2006 5:07:39 PM
Hi,
Im creating a button that will goto and stop on frame 2 of a movieclip if it
is currently on frame1 and goto and stop on frame 1 if it is currently on frame
2.
I want the default setting to be at frame1 when the mainmovie is on frame1
This sort of structure
Movie(contains)[Butto... more >>
name.text - trouble getting name to change while in a loop
Posted by Centron at 1/21/2006 4:53:57 PM
I'm new to this actionscript stuff, so sorry if my terminology is off.
This is an extract from a much bigger chunk of code, elsewhere i have created
the 'mytext200x' text fields. When i run the code the output window show's
exactly what i want for 'name' and 'namen', but the line 'name.text... more >>
How do I load a jpg once and use it many times without having to load it again and again???
Posted by news.php.net at 1/21/2006 4:08:36 PM
Hi,
I need to tile the same imported jpg more than 200 times (the image cannot
be included in the library, because it is uploaded by the client). I wrote a
script that loads once the imported image into a movie clip instance, then
duplicates that movie clip using a loop. I haven't succeeded... more >>
_root problems
Posted by linnarsson at 1/21/2006 3:59:07 PM
Hello!!
I have a problem! I have made a nice homepage in flash but i needed a
preloader. So my preloader is in "Scene 1" and my original page is in "Scene 2".
My problem is that i have made several buttons to click on and they refers to
a layer named text1 and every button refers to it's... more >>
Can I reference the clock on the host PC
Posted by ol.. at 1/21/2006 2:40:05 PM
Hello
I wish to have the time displaying on a swf, that comes from the computer's clock. I assume that I can also create an alarm this way?
Thanks.... more >>
Flash USB output
Posted by ol.. at 1/21/2006 2:37:29 PM
Hello
How do I send a signal from a flash movie to a USB cable? I want to create an
electronic device that I can control from a computer screen. Eg; press a button
on screen and a USB connected device activates.
The only way I can think of connecting to peripherals is using a sound output ... more >>
sticky problem
Posted by Dier02 at 1/21/2006 10:55:46 AM
I am doing a drag and drop for a spelling program but the letters (buttons) are sticking to the cursor now and then - what causes this and how do you stop it?... more >>
Button commands
Posted by makate at 1/21/2006 10:16:05 AM
i created a movieclip called Submenu, i then created another Movieclip within
this one and called it submenu-links,
i then created buttons within this menu.my problem is i want to make the
buttons react to the
mouse actions. for instance i want all the buttons to have an _alpha=20 when
the... more >>
Loop causes script to stall
Posted by OniLink at 1/21/2006 10:12:16 AM
I have went over this and can't find a reason why. Can anyone else see why?
for(i=0; i<sizeList.length; i++) {
sl = sizeList;
for(n=1; n<sizes; n++) { // sizes equals 15
s = eval("item"+j+".s"+n).label;
if (s == sl) {
eval("item"+j+".s"+n).selected = true;
}
... more >>
MovieClipLoader Class
Posted by FlashySandy at 1/21/2006 7:54:44 AM
hi all
i hv written a function for loading jpg from and display those images in
scrollpane. nw the problem is this i am passing the values from top to bottom
of array and the scrollpane displays images from bottom to top. i dnt know why
this happens bt it makes me cry.
... more >>
Dynamic Swf
Posted by bkchindu at 1/21/2006 7:21:11 AM
I created a movieclip at runtime and loading a jpg file. THe problem is, the image get cropped (the image is BIG). How can i show a large image into dynamically created MovieClip.... more >>
Components
Posted by OniLink at 1/21/2006 7:03:04 AM
// trace values
trace(item[j].product_id); // returns "340FDM" (product code)
trace(eval("item"+j).product_id); // returns "_level0.item0.product_id"
(textInput component)
trace(eval("item"+j).product_id.text); // returns "undefined"
// set value
eval("item"+j).product_id.text = item[j... more >>
menu buttons up / down states
Posted by dirkness at 1/21/2006 4:45:56 AM
Hi
Does anyone have a solution for creating a Flash button over state - with the
over state reverting to 'up' mode when another button in the menu is clicked.
I know this can be achieved by creating buttons as movie clips - and then
actionscript to handle the recognition and actioning wh... more >>
Won't Publish
Posted by DJ Sick Nick at 1/21/2006 3:31:56 AM
I've been force quitting and retrying to publish my god damn game for a half an
hour, and it just freezes when I try to publish it. It lets me publish my other
FLAs but just not f***ing this one!!!!! I'm half done with this long a** game
and it wont publish. Can someone please help? I'm desper... more >>
Dividing text in columns with dynamic text field
Posted by subham at 1/21/2006 3:21:27 AM
hi guys,
i have urgent problem. is it possible to divide a particular long text in a
number of dynamic text field.
where the height of text field will be fixed.
where in text character end in a text field. the next character should start
in next text field.
its view has been given in ... more >>
need help with this script...
Posted by pedrotini at 1/21/2006 12:56:18 AM
Hello there, I have been busting my head trying to figure this out and I'm
hoping someone could help me to figure this out.
1. On stage I have to buttons and a MC with the instance name
"scrollablegraph".
Basically, the buttons moves the MC vertically -up and down- 10 pixels
each p... more >>
pie preloader
Posted by dirkness at 1/21/2006 12:42:13 AM
hi
I'm trying to implement a pie preloader using the actionscript below.
But although the preloader functionality is working - the script isn't moving
teh timeline to the 2nd frame and the content. I can't see anywhere any the
script that control this.
Grateful for any ideas
Tha... more >>
Determining if components have initialized
Posted by OniLink at 1/21/2006 12:38:14 AM
When I attach a movie clip that has components in it (eg. textInput fields),
then try and assign values to the components straight after attaching the movie
clip (that contains the components), its as if the components haven't been
initialized yet and therefor the components (eg. textInput fie... more >>
|