Qbasicnews.com

Full Version: Hey, how do yall like this...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I made my own 3D mouse cursor for http://www.ultimateqb.com the only thing it doesn't show up on is the scrollbar and flash (.swf) files. Tell me opinions on how it works with the site. Thanks! :bounce:
You should add it to your swf files to make it smoother. Not that hard really, just a little actionscripting....
I just got Flash, so didn't know if I could... but I'll look into doing it
I'm so mad now!!! :-P I did what they told me to do in the tutorial, I made the cursor on the stage, in a seprate frame, then added these action to the movie clip...

onClipEvent (load) {
Mouse.hide();
startDrag("still", true, 46, 400, 46, 280);
}

all that happens, is there is no mouse, and my mouse cursor is just sitting there lifeless on the screen. what am I supposed to do!
You should add that update to your news.

And I get a little annoyed with all those boxes popping up whereever the mouse goes... A little too much popup information.

But otherwise well done with the mouse. I have no idea about that stuff...
Do you? Some people se they love those, others say what you say... I thought they were nice, but you may be right... a little to much info. What I've really done with UltimateQB, is experimented with web design techniques to see if they could work properly, so you'll see allot of the flashy new stuff on the site. But this whole getting the cursor to work in Flash thing is making me mad, I did everything the tutorial said to do, but it still doesn't work!
Aah well... I can't help you there, but I do understand about trialling out the new stuff.
Keep in mind that several tutorials covering Flash versions prior to MX, when used in MX may malfunction because of the many changes made on the ActionScript language.

Now, regarding your problem...

- Are you sure you named the instance of the movieclip as "still"? Check that.

- If I understood well what you're trying to do (and you're using MX), try to replace the startDrag line with:

startDrag(this, true);

Cheers.
hey Thanks!!! :-) That fixed it, changing that line to
startDrag(this, true);
THe only thing I want to know now, is how do I make it disapear when I leave the flash "box" (anotherwards move back into the HTML part of the site) because I want it to move back to the site looking as if the cursor never changed
No problem, you're welcome.

For you question, you can just check the coordinates of the mouse pointer, or the coordinates of the movieclip that's acting as a pointer. On a certain range, the property _visible of the clip is set to true, and if the pointer abandon that range, you just set _visible to false. Just an idea.

Check the help for the movieclip properties _x, _y, _xmouse, _ymouse and _visible.
Pages: 1 2