Can I make such a follower in koolmoves too?
the following link shows the swish-example:
http://www.swishzone.com/tutorials/i.../follower.html
I would be glad if some of the koolmooves-gurus could give me a hint
thanks
gorky
Printable View
Can I make such a follower in koolmoves too?
the following link shows the swish-example:
http://www.swishzone.com/tutorials/i.../follower.html
I would be glad if some of the koolmooves-gurus could give me a hint
thanks
gorky
I think it is possible. Create a swf with the cross hairs. Import the swf and add the appropriate action scripting that changes the position of the swf object based on the position of the mouse. I believe Johnie already did something like this. At this time the origin of swf objects is the upper left corner. I will eventually make this an option so it will be more in line with the way Flash works.
Yeah, I've already posted this example...
The one I did is actually more advanced than the Swish one which is using Nested Sprites instead of scripting it which leads to both a more complex SWF And a larger File. This is an excelent example of how having scripting avialable to you is a Big Plus. Also once KM 3.0 comes out, with its internal Sprite editor , the process will be simplified.
This is how to recreate that project with a muxh easier and smaller file:
1. Open KoolMoves And set the Movie Width to the Desired Width (The Width of the Main Movie Plus the width of your Desired Line, Lets say 400 X 18 for fun). Now Draw a line of the Desired Color in the frame Export this as Horz SWF. Save thios Fun File.
2. Click on the New Movie Button. Set the Movie Frame Size to the Desired Setting(For Fun I have set it to 18 X 400). Again Draw a Line of the Desired Width and Color. Now Export this one as Vert.swf and save the Fun File.
3. Once Again Click on the New Button. This time we will be setting the Frame size to 400 X 400. Import Both Vert and Horz as SWF Objects (Sprites are called SWF Objects in KM). Click on List Shape objects and rename your Objects Vert and Horz if desired- If you don't thats okay just remembder which one uis SWF1 and which is SWF 2.
4. Add A frame with 0 tweens and then Add this very simple script to a frame 2 or any frame that you want to loop, you could load it in externally as an object also- Its up to you.
vert._x=_root._xmouse;
horz._y=_root._ymouse
If you have it loaded as an object use this script:
Open up a new Movie.
Set tweens to 0.
Frame one leave blank.
Frame 2 add this action script:
_root.vert._x=_root._xmouse;
_root.horz._y=_root._ymouse;
Then add a Goto and Play action have it set to Frame 1.
Then Save this SWF and FUN File and instead of using actions in your main movie you can just import this as a SWF.
Both ways are valid.
Finally you could do the Swish Example the same way as SWiSH does it. Just remember the key difernce, right now, is that KM does not have an internal Sprite editor (3.0 expected in about 2 weeks will) and tell target is greatly depriciated in KM.
I have decided to place this example online so that everyone may view it. I also had set up a free account a while ago for another project and had some web space. Anyhow here is the example...
Zip File of the Example is here: http://jsnider.0catch.com/scroller.zip
Example of Script Inside is here: http://jsnider.0catch.com/script%20inside.html
Example Of Script Outside is here: http://jsnider.0catch.com/script%20outside.html
Johnie:
not sure if I am doing something wrong or not... took your zip and was playing with it.. it works perfect when viewed in a web browser... but does nto work when run thru a projector or the stand alone player.
any ideas?
I'll look at it- my best guess is that your version of the standalone player that it is playing in is the Flash 4 and not Flash 5 version. If you have SWF browser everytime you use that product it re-associates it to the Flash 4 standalone.Quote:
Originally posted by mmreed
Johnie:
not sure if I am doing something wrong or not... took your zip and was playing with it.. it works perfect when viewed in a web browser... but does nto work when run thru a projector or the stand alone player.
any ideas?
thats what it is... tried it on a different machine without SWF Browser and using v5 player... it works fine.
i did not know swf browser reverts the association back to v4....
is there any way around this if I use swf browser often?
I looked at the ZIP File- The Link I gave can not be accessed by simply clicking on it- so I added a download Files Link on the Inside Script page.
Okay what you should do....
1 Create a New Folder.
2. Extract all the files to that folder using your faverite File compresor/decomproser (If you don't have one Stuffit has a free version that will decompress files). It is important that all the SWF Files are in the same folder.
3. If it does not work... Click help on the projector. It will tell you which version of the Player it is. If it is the Flash 4 version then you must find the Flash 5 version of FlashPLA.exe and open the file with it. It should run in the Flash 5 projector if it runs in your web browser.
Yes.Quote:
Originally posted by mmreed
thats what it is... tried it on a different machine without SWF Browser and using v5 player... it works fine.
i did not know swf browser reverts the association back to v4....
is there any way around this if I use swf browser often?
The fix is this...
1. Copy your version of FlashPLA.EXE version 5 file.
2. Now go into your c: Drive and find SWF Browser. My copy was located in C:\Program Files\SWF Browser.
3. Click on the file called player.exe and hit delete.
4. Now Paste FlashPLA.EXE into this folder and rename it to player.exe.
Viola. SWF Browser updated to Flash 5 (well the parser in it still is Flash 4... Its a free program what do you expect)
Hello Johnie,Quote:
Originally posted by johnie
Yeah, I've already posted this example...
The one I did is actually more advanced than the Swish one which is using Nested Sprites instead of scripting it which leads to both a more complex SWF And a larger File.
thank you for your detailed explataion
Gorky