hi,
i first posted here a couple of months back about a small project i was doing, i hadn't used flash before, and i was just querying if flash 8, the one i have, was capable of doing what i needed. i was told that i could do it in flash, but ive been sidetracked with other work since, and have only really been able to check flash out in the last couple of weeks. the project is basically a small application that allows kids to drag graphical blocks, representing actions such as "forward", to an area on the stage, and if the blocks are placed in the correct order, an animated car will take the correct route around an obstacle course, as well as overcoming some obstacles on the way. a screenshot of early stage of development is attached.
from my limited knowledge of programming in vb and java, the code basically needs to be along the lines of: when play button pressed {IF car is on step one of road AND forward block is dragged to position one on flow tray, THEN animation plays of car going from step one of road to step two.....Else if car at step one of road AND forward block is dragged to position one on flow tray AND forward block is dragged to position two on flow tray THEN animation plays of car goin to from step 1 to step 3 of road...etc etc}. basically i need code that can check the cars position on the obstacle road, check if the correct graphical blocks are placed in the correct order, and then link both, and then play the animations. my level of programming is pretty basic, and im new to flash; what im wondering is:
do i need to make movie clips of each section of animation (e.g. movie clip 1 of car going from position one to position 2 on road, etc), or can i make one big animation and link the actionscript from the play button to frames? seems like there would be alot of clips needed to cover every potential step of car on road.
and if i use drag and drop for dragging a graphical block to a flow area, how do i keep track if the directional blocks are in the correct sequence?
any help welcome for this struggling programmer!
i first posted here a couple of months back about a small project i was doing, i hadn't used flash before, and i was just querying if flash 8, the one i have, was capable of doing what i needed. i was told that i could do it in flash, but ive been sidetracked with other work since, and have only really been able to check flash out in the last couple of weeks. the project is basically a small application that allows kids to drag graphical blocks, representing actions such as "forward", to an area on the stage, and if the blocks are placed in the correct order, an animated car will take the correct route around an obstacle course, as well as overcoming some obstacles on the way. a screenshot of early stage of development is attached.
from my limited knowledge of programming in vb and java, the code basically needs to be along the lines of: when play button pressed {IF car is on step one of road AND forward block is dragged to position one on flow tray, THEN animation plays of car going from step one of road to step two.....Else if car at step one of road AND forward block is dragged to position one on flow tray AND forward block is dragged to position two on flow tray THEN animation plays of car goin to from step 1 to step 3 of road...etc etc}. basically i need code that can check the cars position on the obstacle road, check if the correct graphical blocks are placed in the correct order, and then link both, and then play the animations. my level of programming is pretty basic, and im new to flash; what im wondering is:
do i need to make movie clips of each section of animation (e.g. movie clip 1 of car going from position one to position 2 on road, etc), or can i make one big animation and link the actionscript from the play button to frames? seems like there would be alot of clips needed to cover every potential step of car on road.
and if i use drag and drop for dragging a graphical block to a flow area, how do i keep track if the directional blocks are in the correct sequence?
any help welcome for this struggling programmer!