|
-
newbie with questions
hi, ive had KoolMoves for about 3 months now...
i know how to the basic stuff but i want to learn more about
Action Scripting.
Can someone tell me how to do the morphing thing...
ive read the tuts and i get lost when it says make it an MC(movie clip)
How do you do that?
I also want to learn how to create a password frame.
&
on a menu type thing, how do i make it so the user uses his keys to move up and down? (does that make sense?)
and 1 more thing
a different kind of mouse cursor...
Thanks-a-bunch!
Edit: Also i want to learn how to add an E-mail form.
Last edited by ch.strider; 08-25-2006 at 11:11 PM.
-
-
Relaxing
For the mouse, make the shape and turn it into a MC by selecting the shape. Then go to the file and select shapes>>convert to MovieClip.
Click on the MC twice and an info window should show up. Click on the actions and add this:
onClipEvent(load){
mouse.Hide();
this.startDrag(true);
}
Any programming language is at its best before it is implemented and used.
-
Polak Maly
 Originally Posted by ch.strider
i get lost when it says make it an MC(movie clip)
How do you do that?
and 1 more thing
a different kind of mouse cursor...
Edit: Also i want to learn how to add an E-mail form.
1. a) select shape.
b) Menu -> shapes -> convert to MovieClip
c) well done
2. a) make your cursor
b) menu -> effects -> motion script
c) mouse trial (on left side)
d) set parameters:
~ trail motion: figure 8
~ radius (px) : 1
~ speed: 0
~ trail lenght: 1, or as you wish
~ rotation speed: no rotation
~ hide orginal mouse: yes
3. i think this is gonna need PHP
-
Polak Maly
 Originally Posted by ch.strider
i get lost when it says make it an MC(movie clip)
How do you do that?
and 1 more thing
a different kind of mouse cursor...
Edit: Also i want to learn how to add an E-mail form.
1. a) select shape.
b) Menu -> shapes -> convert to MovieClip
c) well done
2. a) make your cursor
b) menu -> effects -> motion script
c) mouse trial (on left side)
d) set parameters:
~ trail motion: figure 8
~ radius (px) : 1
~ speed: 0
~ trail lenght: 1, or as you wish
~ rotation speed: no rotation
~ hide orginal mouse: yes
3. i think this is gonna need PHP
w-h-a-t-?
-
Polak Maly
-
wow, thats was easier than i thought... 
how about the other stuff?
-
That web bloke
Hi Ch, if you haven't already done so, take a look at www.koolexchange.com where you will find examples of what you need. Take a look at how the stuff is put together, a great way to learn.
-
yes i have looked at it,
but i need like a cheat sheet or seomthing.
for instance
OnSubmit if text field=(passwordishere); goto key frame (3)
if text field=(""); goto key frame (4)
see i have no idea how to set it up... but i get the general idea
-
That web bloke
Try this, it uses php to check passwords, so it won't work locally on your machine, you will have to upload it to see it work.
Last edited by Stoke Laurie; 12-21-2007 at 08:10 PM.
-
Polak Maly
you can also do 2 swf - one for registered users, 1 for guests. If isset cookie['login'] view registered.swf, else guest.swf. it uses php and ive got the code :] i can share if you want
-
up to my .as in code
Last edited by Chris_Seahorn; 08-27-2006 at 10:30 AM.
-
up to my .as in code
Are you asking for a login/password that needs no serverside (php,etc)? Antz example would...mine would (I have two at the Exchange) and Stokes would.
There are no examples of a login/pass that is internal (all inside the swf itself) because it is about as secure as a swish cheese barricade. If this is what you are looking for...maybe someone can help because there are none in the Exchange that use all internal coding.
Last edited by Chris_Seahorn; 08-27-2006 at 10:33 AM.
-
o i gotcha. kind of like viewing a source in html to find some passwords...
alrigt.
well thanks to all.
i didnt realize you could that in flash
-
up to my .as in code
Koolmoves users can import your SWF into a new movie (flash users too) and read the coding unless:
1. The movie is extremely complicated and might garble the scripts (usually causes the application to crash if someone tries to import) on import.
or
2. You ofuscate (encrypt it or protect with a third party app)
Even then I would suggest a serverside (php,cgi,etc) to add a layer of protection should 1 or 2 fail.
-
up to my .as in code
One last tip. I don't suggest anyone (these days at least) attempt to protect a Flash6 movie because if you export as F7 or F8 (the preferred) you can block right clicking which allows users to step through your movies frames using the flash menu. This would bypass even a serverside protection so I highly recommend you get into the habit of exporting F7 or F8 and place this on frame 2 of every movie you make:
Code:
var newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
_root.menu = newMenu;
This way if they direct hit your SWF (bypass the html page it's embedded in) and try to step past your security by right clicking....they get blocked. That code will not work in F6 exports or below.
-
Well my server supports .php files, and i have PhpMyAdmin, but im completel lost when it come to that. I treid to learn Cgi and php but i get really confused. html is a cinch and flash isnt to difficult.
Is there any easy way to setup a php file to do this?
-
up to my .as in code
Well...I'm not tooting my own horn here because I wish there were hundreds of files to pick and choose from but I have one in the Exchange called "Loadvars Login w/SO" that is exactly what you want. It's in the misc section. It doesn't use http cookies to remember you...it uses a Shared Object (which works across browsers...http cookies don't).
The backend is commented where to change the username/pass and after that as long as they exist (THE SWF AND PHP FILE) in the same directory on your server it should definitely let you better understand how php and flash integrate.
-
 Originally Posted by Chris_Seahorn
Well...I'm not tooting my own horn here because I wish there were hundreds of files to pick and choose from but I have one in the Exchange called "Loadvars Login w/SO" that is exactly what you want. It's in the misc section. It doesn't use http cookies to remember you...it uses a Shared Object (which works across browsers...http cookies don't).
The backend is commented where to change the username/pass and after that as long as they exist (THE SWF AND PHP FILE) in the same directory on your server it should definitely let you better understand how php and flash integrate.
okay i downloaded it, im lost. what .php file do i upload? sry...
-
up to my .as in code
Cut it out man...there is only one php file in it 
Edit these two lines (between the quotes)
//Enter your admin username and password below!
$adminuser="testadmin";
$adminpass="testpass";
//
So if you wanted a username of "test" and a password of "user" the lines would be:
$adminuser="test";
$adminpass="user";
Upload the php file and swf file to your server (same directory) and test
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|