Makeing A Curser
ok heres the deal ive got this constantly looping animation now what i want is to see the constantly looping animation instead of my mouse while running my website but i can worry about that later for right now i was wondering if anyone can tell me how i would show my animation instead of my mouse? i dont know if this is the right thread to ask this so if it isnt pleasee rederect me to the correct one thanks alot for your help guys
FlashKit > Flash Help > Flash Newbies
Posted on: 09-12-2004, 10:40 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Makeing A 3d Look
You know when you use the paint Bucket tool you can use a 3d look (ie, red, green, bule ect.)? My question is how do I do that?
Makeing A Movie
i need help i don't know how to make a movie this site was recomended by someone who made a movie using flash here i need help really bad!!!!
Help With Makeing A Menu Please
Ok I am basicly wanting to make a menu in my flash movie, well i have having a problem stopping the sceen where the bg stays and dosent leave untill the play button or another button is pressed. I also have music in this sceen for intro music. I want that to continue playing till play is pressed if i can get any help at all i would love it thanks oh i have flash mx pro 2004
Im Makeing This Game With A Gun...
Im makeing a game and I have a gun that follows the mouse but all it dose is drag the gun around. I want to be able to have the gun stay in its place but make point at the mouse. Is thare some way with action script i can do this?
Serious Need Of Help In Makeing Links
I am using a template to make an autorun flash file off a cd.
I highlighted text and went in to the chain button and typed the
location of the file I did not make a button as I dont know how to do it.
The file is located in the same folder as the flash file.
All I did was type in Exampledocument.pdf
On my computer this works great I click adobe pdf reader loads life
couldn't be more perfect..............LOL
BUt on everyone elses computer it loads there internet browser
why I have no freaking clue. Then it doesn;t even load acrobat in the browser
it just opens iexplorer and says can not find www.exampledocument.pdf
Not sure how this happened but I really need to get this working
can someone please tell me where I went wrong.
I need to know how to link to a file in the same folder as my flash file
and to launch it externally in the program it was created in IE: adobe acrobat
not open a browser window, or search for links that don't exist....
MAN IM A NEWBIEEEEEE
Please Help Me Decide: RPG Makeing
Hello, im new to this forum, but i have an important question.
A friend and I are planning on makeing an RPG. She is doing all the drawing and concept work, but i need to put it into a program. The whole idea is to make it a siggy RPG, so i need to know how to time events and such, I've done quite allot of work with flash, and I do webdesign with HTML and PHP.
Any help or comments would be great apriciated.
Makeing A Movie Pause
JUst wonder how to make a movie pause, then play, without user interaction, basically, i wan to animate some text and content comming in, the for it to stay there for about 20 seconds, then for it to go and new text to come in. I know i can do this by ading in keyframes, but i know theres a better way, seeing as this program can do everything short of robbing a bank so as to save me working in the first place!
thanks,
Tony
Makeing Games Using Flash Mx
im new to flash mx but i want to make a game like this http://www.freewebs.com/fiddlesticks/gravity%20test.swf but i need to know how to make the birds fly away when you jump on the roof and how you make the gards follow you
would you use action scripts
(keep in mind i have only been using flash for 2 months and i have never made a game before, the simpler the better )
Makeing The End Of Lines Square
Hi!
With every line I draw in Flash MX comes out square at the end!?
Of curved or anything else you would call it. But I just want it to be square at the end. How do I do this?
Greetz
Eelco.
Makeing A Flash Counter
Hi all, I've got a rather interesting question. I want to make a swf file that uses a txt file to store and retrieve from, a number. Each time the swf is loaded, the number retrieved is increased by one and the new number is saved to the same txt file. The next time the swf is loaded, it retrieves the new number from the txt file and increases it by one and then saves that new number to the same txt file and so on. Anyone hear know of a way to do this?
Thanks loads,
Game Shark Man X
Makeing An Swf Fill The Browser
I am designing a flash website and I want the movie to fill the whole browser. I was wondering how to do this and what size I should make the movie? I want it to be like www.absolut.com. Any help would be great.
Thanks
[F8] Question On Makeing A Game.
Hi, My question is, I'm trying to find an easy way to make an inventory list for a rpg game. Like, when I walk over something it adds it to a text box I made and tells the quantity of the item, But the problem I obviously ran into was, I needed to find a way to make it so if I already store something in the first Slot, I needed to have the next object that is obtained go into the Second, and so forth.
So far i was able to get this,
Code:
onClipEvent(enterFrame){
if (this.hitTest(_root.player)){
if(_root.itemSlot == 1){
_root.item1 = "Gold x20";
_root.gp = 20;
_root.itemSlot = 2;
;
} else if (_root.itemSlot == 2) {
_root.item2="Gold x20"
_root.gp = 20;
}
And its the same for the other item except the Label for it is "Sword x1".
But what I need is an easier way for if I have more then 10 items in my list.
and labeling their quantity.
My best guess on this is for me to use an Array but i'm completely stuck on how exactly im going to make life easier for me with having 10 or 20 slots. That sure would be a lot of if statements that would go on every object that can be obtained. =
If there's anyway anyone could help me, I'd gladly appreciate it.
Thank you =]
Makeing SWF Filr Tesparent
I know there is a way to make HTML appear through a SWF file in AS2 but I cant remember what the code is and I cant find it.
Can anyone help me out here Please.
Thank you
[CS3] Makeing A Myspace Profile?
hey guys, is there any sites out there on the wonderful internet that tells me how to make a flash myspace layout
i know how to use flash and dreamweaver, i know a little html
cheers!!
Makeing Loading Screens?
Im working on my first project (a cartoon), and want to learn how to make a loading srcreen (for while the cartoon is loading (after completion)). So if anybody knows how or knows where I can learn let me know!
Makeing Loading Screens?
Im working on my first project (a cartoon), and want to learn how to make a loading srcreen (for while the cartoon is loading (after completion)). So if anybody knows how or knows where I can learn let me know!
Makeing All The Pieces Fit, Making 1 Long 1
Dear; Helper People
I'm super close to finishing, but Its not loading all that nice. Some dont load and its slow.
What I had done was make 6 different sections, meaning.
I made one part of the movie, saved it. Then opened a new file and made the other part of the movie.
I tried to link them togeather using 'loadmovie' but its not really working. Some frams load, and if they do its like 5mins later.
How can I make it into a nice long con't movie, with out waiting for super lots of loading?
-Thanks
?makeing The Background Of Image Transparent?
i cant figure out how to make the background of my image transparent.
i have a picture of a lime, it is over a white background... how do
i make it have a transparent background? i just want the lime to
*float*...
jason
Makeing Stick Figures Walk
Im trying to make a simple stick dude walk. I can make my stick dude move, i just cant make his feet move. Can someone give me a Deatailed explanation on how to do this? thanks.
Makeing People Shoot Back
Can someone who makes games with flash tell me how to make people you are supposed to kill, shoot back, harm you, and take a bar off your health bar? and also end the game when the healthbar is gone? If someone could make a .fla document explaning this that would be super, but as i know most of you are busy so any help would be appreciated.
Makeing Actionscript More Portable *Word*
I found a descent tutorial on www.bit-101.com about gravity. I have used it to create/modify a movie that basicly does what I want it to do.
http://www.mdeering.com/flashkit/Polariod.swf
Now I want to use the same actionscript on all of the files that are in a directory or better yet listed in an XML file. The final goal is to have a stage full of small Polariods that come in one after anouther.
I have done some basic tutorials on xml but I need some help on getting started putting this together. I'm realy not to sure about how to approach the structure of the code and what goes where.
Here is a link to my current .fla and the photos.
http://www.mdeering.com/flashkit
Thanks in advance for any feedback.
Makeing A Varable In Root From A Function()
can i make a variable that is "located in root" from a function? This was my best guess but it didn't seem to work
[code]
function test(tName, varNumb){
_root[tName+"varNumb"] = varNumb;
}
Help In Makeing Autoloop Scrollable Thumbnail Images In Photogallery
hi everybody,
i have a vertical photogallary in which thumbnail images part i need auto scrollable,in which image is loading through XML,
http://www.evascrivosalon.com/salon.html
this site will take time to load be patient...friends...
this is the which i used in it........
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
thumbnails = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
thumbnails[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
thumbnails_fn(i);
}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");
/////////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.UP) {
prevImage();
} else if (Key.getCode() == Key.DOWN) {
nextImage();
}
};
Key.addListener(listen);
previous_btn.onRelease = function() {
prevImage();
};
next_btn.onRelease = function() {
nextImage();
};
/////////////////////////////////////
p = 0;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 100;
}
}
};
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 50;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
}
function prevImage() {
if (p>0) {
p--;
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
desc_txt.text = description[0];
picture_num();
}
}
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+" / "+total;
}
function thumbNailScroller() {
// thumbnail code!
this.createEmptyMovieClip("tscroller", 1000);
scroll_speed = 25;
tscroller.onEnterFrame = function() {
if ((_root._xmouse>=thumbnail_mc._x) && (_root._xmouse<=thumbnail_mc._x+thumbnail_mc._widt h)) {
if ((_root._ymouse>=(hit_right._y-40)) && (thumbnail_mc.hitTest(hit_right))) {
thumbnail_mc._y -= scroll_speed;
} else if ((_root._ymouse<=(hit_left._y+40)) && (thumbnail_mc.hitTest(hit_left))) {
thumbnail_mc._y += scroll_speed;
}
} else {
delete tscroller.onEnterFrame;
}
};
}
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
target_mc._y =(target_mc._height+0)*k;
///target_mc._y =(target_mc._width-5)*k;
//trace(target_mc._width+"t"+target_mc._parent._rota tion)
target_mc.pictureValue = k;
target_mc._alpha = 50;
target_mc.onRelease = function() {
p = this.pictureValue-1;
nextImage();
};
target_mc.onRollOver = function() {
this._alpha = 100;
thumbNailScroller();
};
target_mc.onRollOut = function() {
this._alpha = 50;
thumbNailScroller();
};
};
image_mcl = new MovieClipLoader();
image_mcl.addListener(tlistener);
image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);
}
///////////////////////////////////////////
and this code i used in thumbnail_mc to loop but its not looping just it just go to last image and stop there....
onClipEvent (load)
{
//ycenter=0;
speed=1/100;
}
onClipEvent (enterFrame)
{
var distance=_root._ymouse-ycenter;
_y+=(distance*speed);
if (_y > 455) _y=-123
if (_y <-455 ) _y=123;
}
so i just want to where ihave to change in the script to make it Thumbnail images AUTO loopable/ SCROLLABLE
Help With Curser
can anyone tell me how to change the mouse curser? for like a shooting game?
Curser
Hi,
How can I make the curser stay at being an arrow instead of a hand when placed on a button?
Thanks
Gun That Follows Curser
hey,
up until now, i have been using hidden buttons to make all my guns and things follow the cursor, i was just woundering if there is a better way than this so the gun can just pivet towards the cursor or something like that,
can anyone help
jason
Curser Help
I need help with a curser. I got it moving alright and I think it looks pretty good. But when I click on a button, I want it to play the animation in the 2nd frame of the curser. How do I do that?
Curser Help
I need help with a curser. I got it moving alright and I think it looks pretty good. But when I click on a button, I want it to play the animation in the 2nd frame of the curser. How do I do that?
How To Assign A New Curser
i want to make a curser for my new flash game, can annyone tell me how to do, iv'e made a movie clip (the curser) but how do i actually steer it (assign it to the curser)???
thank for helpin'
HeXaR
Black Curser Help
I know im being thick but can someone HELP!
I have a black bg with an input text box and I cant see the flashing curser cuz its black too. How can I change the colour of the curser?
Thanx Ste
Mouse Curser
Hi,
I am trying to build a drawing component for a project that I am working on. I need to have the coding for the draw tool and paint tool in the same frame of the actions layer (it's a very complex project). When the user selects the pencil tool, it tells the movie to go to the frame with the draw&paint code, and the user can start drawing. If the user selects the paintbrush tool, it also tells the movie to go to the frame with the draw&paint code. When either of these tools are selected, I want them (the mc of the pencil or the brush) to replace the mouse cursor , and the code for this needs to be in the actions layer of the main timeline (not the traditional way, which is to attach the Mouse.hide code to the movie clip itself). For eg., say the user draws a bit, the selected pencil replaces the cursor. Then user wants to paint, selects the brush, and it should replace the pencil cursor. If they go back to the pencil, the pencil again replaces the cursor, etc. How do I do this??
This is what I have so far:
pencil_btn.onRelease = function() {
_root.myComp.thick = 1;
_root.myComp.colour = 0x330000;
Mouse.hide();
pencil_mc.onEnterFrame = function(){
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
brush_btn.onRelease = function() {
_root.myComp.thick = 7;
_root.myComp.colour = 0xFF3366;
Mouse.hide();
brush_mc.onEnterFrame = function(){
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
But this doesn't work (obviously!). Please help!
thanks
Curser Script
ok, i have a menu with an arrow at the top that is going to slide across when the mouse is over the menu, i cant remember what the scripting is; on (load){
_root.ymouse
or somthing along that lines, please help.
Custom Curser
i have a menu with 5 items in it, i need to make a little indicator follow the mouse when its over each menu item and then slide back when its not on the menu. and the indicator will snape back to the page its on, so the location of the indicator is going to be moved.
i think this makes sence, let me know if you can help.
Cheers
Curser Movement?
Hey
Could someone explain how this works?
I would like to find out how to do this: on a curser movement left or right - it will go to the next frame or previous frame:
Moving the mouse across the screen will play the series of frames in a movie clip - creating the animation motion according to the mouse movement.
Look at this great example: www.presstube.com/portion/
It would be good to use while a file is preloading!
Any help?
Cheers, werglum
Curser Movement ?
Hey
Could someone explain how this works?
I would like to find out how to do this: on a curser movement left or right - it will go to the next frame or previous frame:
Moving the mouse across the screen will play the series of frames in a movie clip - creating the animation motion according to the mouse movement.
Look at this great example: www.presstube.com/portion/
It would be good to use while a file is preloading!
Any help?
Cheers, werglum
Follow Curser
hey i need something to follow my curser and its not really working i cant figure it out so if some one could tell me how to or point me to a tutural that would be great thank you so much
i tried this code but obvouly it didnt work or else i wouldnt be posting this
onClipEvent (enterFrame) {
this._x=7.7
this._y=122.3
if (_xmouse>0) {
this._x = +10;
}
if (_xmouse<0) {
this._x = -10;
}
if (_ymouse<0) {
this._y = -10;
}
if (_ymouse>0) {
this._y = +10;
}
}
Curser Problems
Ive changed my cursor for a movie clip, looks really good but my site works by loading external movie clips, when moving over these movie clips, videoplayer, gallery etc it completly disapears, it still works but you cant see it, any ideas?
Here is the code i used.
Mouse.hide()
startDrag(cursernew,true)
Gutted really because i really liked the way it looked.
Custom Curser
Hello
Im new to flash so im still learning all the basic action script and things like that, and ive found this code to add to a movie clip to make it drag and be your curser, but when i try to use it the thing its dragging is always way above the where to mouse is , so it makes it hard to clip buttons.
Could someone please help.
Here is the scrip that I have been using
Attach Code
onClipEvent(load)
{
Mouse.hide();
this.startDrag();
}
My Own Mouse Curser
hi; i have made my own mouse curser for flash, it all works fine.
except if you right click on the page the normal windows mouse appears over the top of my flash mouse. and it doesnt go away unless u refresh the page.
i was just wondering if you could stop this?
my script for the mouse is...
onClipEvent (load) {
startDrag("", true);
Mouse.hide();
}
Curser Question.
HI Kirupa's nice place this I fell on. I hope someone maybe able to help me.
My question I have made a curser. I know how to get it to work when working inside a flash movie, No problem what I want to know is it possable to use the curser.swf to work as my main mouse inside a html page.
Many thanks, questions.
Customised Curser
does anyone know how to make one? i made this one that i got off some tutorial where you make a graphic called mcurser and then give a blank frame the following text
mouse.hide();
startDrag(mcurser, true);
it works when that's ALL you have in your .fla file but it began making the whole scene a curser and not just the graphic called mcurser
does anyone know how to fix what i've done or make a different one???
please help and ask to see the movie i'm making if u want!!!!!!
My Own Mouse Curser
hi; i have made my own mouse curser for flash, it all works fine.
except if you right click on the page the normal windows mouse appears over the top of my flash mouse. and it doesnt go away unless u refresh the page.
i was just wondering if you could stop this?
my script for the mouse is...
onClipEvent (load) {
startDrag("", true);
Mouse.hide();
}
Curser Question.
HI Kirupa's nice place this I fell on. I hope someone maybe able to help me.
My question I have made a curser. I know how to get it to work when working inside a flash movie, No problem what I want to know is it possable to use the curser.swf to work as my main mouse inside a html page.
Many thanks, questions.
Customised Curser
does anyone know how to make one? i made this one that i got off some tutorial where you make a graphic called mcurser and then give a blank frame the following text
mouse.hide();
startDrag(mcurser, true);
it works when that's ALL you have in your .fla file but it began making the whole scene a curser and not just the graphic called mcurser
does anyone know how to fix what i've done or make a different one???
please help and ask to see the movie i'm making if u want!!!!!!
Button Following The Curser
how do I get a button to follow the curser until it leaves the hit area. hopefully that makes sense. I like how the chronicles of narnia production page does it.
http://adisney.go.com/disneypictures/narnia/index.html? deeplink=production
I know how to create a movie inside the button with a fade in... but how do I make it fade out? and I have no idea as to how to make the button movie follow my curser around the "hit" box area....
any help would be great !
thanks
wam
wampictures.com
Change Curser Shape
Hi,
There is a button symbol which I want that onRollOver the mouse won't show "a finger" = I want it to be as if it's not a button. The symbol has to be a button, and during runtime the instance window with the behavior property can't be reached, so the way the curser looks onRollOver has to be taken care using ActionScript.
Also I've been told that changing the shape of the curser in a certain area on the page (unlike changing it for the hole page) doesn't work well - it's jumpy.
Any idea how do I keep the curser shape as an arrow while it's on a button?
Thanks,
Maya
Curser Turns Into Symbol
hi everybody,
how can i make the mouse curser turn into a graphic symbol? it's probably not so difficult. i am gratetful for help!
anuschka
|