Help With Grass Tutorial
Hi,
i want to create a shadow effect in animation using flash. I was wondering, are graphics the only type of symbol that one can do shape tweens with? Thanks in advance
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 04-08-2004, 03:09 AM
View Complete Forum Thread with Replies
Sponsored Links:
HELP NEEDED PLZ About Grass Tutorial
hey, well i've followed the grass tutorial in special effects on kirupa.com. it all works fine and well BUT the trouble i have is i want to stop the grass movie clip after a certain frame, because its in scene 2 of my cartoon and jsut continues. the mc only uses frame 1 of my scene 2 but how would i go about stopping it?
View Replies !
View Related
GrAsS
So I just sketched this one blade of grass out and had the frames in a movie clip. I set two keyframes, used an envelope transformation and applied a shape tween (the intended effect is going to be grass waving in the wind)- however two of the veins on my leaf are switching...does anyone know why?
Thanks,
Rilian
View Replies !
View Related
Grass Movement
Ok Set myself the task of making a piece of grass move when the mouse goes over but can't seem to get the end of the grass to stay put.
So if for example you have a string with A and B as the end bits, I want A to move with the mouse and B to stay put.
So if you have any ideas please post/ I know we can do this!
View Replies !
View Related
Actionscripting Grass?
Hey people. I was thinking about making a script that would take a static flash graphic of grass (vector grass) and slowly bend/move it to the cursor's movement (simulating wind). Well, I had some ideas on how I was going about this, but the site in which I was gonna get scripting help from (levitated.net) sadly disappeared. If anyone has any idea how one would go about this or knows of a site that does something similar (hey, phong is down too!), please help out a friend. Until then, I will work my best. =) doh
View Replies !
View Related
Fun With Getting Rid Of Duplicated Grass
Alright, I lied. There's not much fun here. I'm sorry.
However, there is this crazy little issue: when my movie clip starts, I create a field of grass using this code:
PHP Code:
for (k=0; k<120; k++) {
_root.grass.duplicateMovieClip("grass"+k, grassdep++);
}
This works just swell, it makes sures everything is behind the grass at all times. Just one teensy-problem... how on earth do I get rid of it? On the last frame of my movie, I have a scores screen, and the grass must go! But, I cannot figure out how to dynamically unload every piece...
Well, thanks for any help. Hints are okay, too, I like to learn rather than just cut and paste
- wobbly
View Replies !
View Related
Greener Than Grass.....
I am brand new to Flash. I have a Coffee Cup flash program but I want to expand my horizons. I'm probably way over my head but I just ordered a Macromedia MX software bundle and would like to know the best place to go to start learning Flash MX. Should I go use tutorials, buy a book, go to school or repeatedly bang my head against the wall saying why why? Thanks for all considerations...
View Replies !
View Related
Easy Grass?
is there an easy way to create blades of grass (close up) and sorta make it look like paint strokes, so it tapers and is somewhat rough?
i really don't feel like drawing it all out...
View Replies !
View Related
How To Draw Grass
Does anyone know where I can download a flash file with grass in it or anywhere there is a tutorial to draw grass? I am kind of new with flash and the drawing of it with so many blades, etc. seems too drawn out and plus I find the drawing tool hard to use. Thanks for your help.
View Replies !
View Related
Grass Swaying
Yo, I have this picture and Im trying to get a swaying grass effect
I tried to get some transparent gifs in there but their animation sucked
can someone help me out?
heres the pic, do wat u want with it (cept steal it)
View Replies !
View Related
Swaying Grass
i am quite new to Flash MX and im trying to make something...but i dont know how to make the grass sway like the wind blowinga t it and it goes back and forth. yeah i dontknow how
can someone teach me??? i really need your help
View Replies !
View Related
Making Grass?
Hola,
I am a new flash user and am trying to make a game with the help of a software guy at the moment that is a football game, however I am trying to get a reasonible looking pitch but cannot seem to find a way to replicate grass? we have tried gradients (doesnt look too good) using a bitmap and tiling it (affected overall size of game app - needs to be small) and vector drawn blades of grass from illustrator though that made it too large as well.
Is there some sort of way to apply a "noise" style effect? or any way of drastically reducing an imported bitmap/jpeg etc tile from photoshop?
Any suggestions welcomed! thanks guys
IFD and "E"
View Replies !
View Related
Waving Grass
Hi - I'm trying to creat the effect of grass moving in the breeze - just a very subtle effect. I've tried importing the attached image, breaking it apart, and then using the envelope transformation tool, but I'm running into problems. It just doesn't tween right - it seems to keep the image from the last keyframe as well as show the transformed version on the next keyframe.
What is the best way to go about this? Any ideas would be greatly appreciated!
View Replies !
View Related
[F8] I'm As Green As The Grass At This
Hi, my name is Kim and will probably be a constant visitor here. I am trying to build a website, on it I want to have a beautiful front page with a creeper with flowers appearing (I am probably using the wrong lingo!) then the title appearing letter by letter. Then a main photo which will disappear and others appearing in its place,..then smaller photos underneath, entitled gallery 1, 2 3 etc. Now you have the picture in your head hopefully!!!!! My question is this, do you think a person who has not had much experience could do this? and would it be easier to make in Flash, frontpage, dreamweaver or Swish. I have access to all programs, and don't know which one to put most of my effort into?
Can I use all of these and combine?......take care for now.....Kim
View Replies !
View Related
Swaying Grass
Does anyone know how to make the grass the kirupa made in his tutorial sway as if in a breeze? I don't want the grass to follow the mouse or the position of the grass to change at all, just the tops to sway.
Regards
View Replies !
View Related
Some Grass Questions
Hey Guys & Gals,
I just have a few questions for you all....
I plan on making a plant based website and would like to have grass swaying in the wind.....but I really want the grass to be a nice quality grass (i.e. Photoshop grass tool type grass like lostinbeta's old sig ) But I would like this to have a natural sway effect does anyone have an idea how I would go about doing this?
Thanks for all the past help, and hopefully future help!
Case
View Replies !
View Related
Grass Effect - Help Please
Hi guys,
Found a fla which had a grass effect happening. I have played around with the code and have made the grass spread the way I would want it to be.
I just don't want the grass to be generated dynamically, I want to use a PNG of a blade of grass I have created instead. You can see it in the attached FLA.
I want the PNG of the black blade of grass to replace the dynamic green grass. And if possible, does anyone know how to stop the jittering of the grass? When the grass is not swaying from side to side, it shakes pretty quickly, does anyone know how to change that?
Thanks for your help
View Replies !
View Related
Swaying Grass
Does anyone know how to make the grass the kirupa made in his tutorial sway as if in a breeze? I don't want the grass to follow the mouse or the position of the grass to change at all, just the tops to sway.
Regards
View Replies !
View Related
Moving Grass
Hi everyone,
Yet again I have a question for all you better designers.
I am trying to make a header for my site in which I have some grass blowing in the wind. I've tried using all vector grass and it didn't turn out well so I am now using the grass looking brush that comes default with Photoshop 7 & CS. Has anyone got an idea as how I would make all the grass sway in the wind?
-Neverrain
View Replies !
View Related
Moving Grass
Hi there,
I am trying to do something probably very easy, however I am new to this. I want to know how to get my grass duplicated and then to get it to move as if the wind were blowing. Is this posible?
Thanks for anyone's time,
Miensa
View Replies !
View Related
Windy Grass Effect
hi guys,
i have an image of a sign stading in a field and i want to create the effect of the grass blowing in the wind, does anybody know how to do this?
this is a link to the image http://www.stockxpert.com/browse.phtml?f=view&id=23430
thanks
andy
View Replies !
View Related
Make Grass So It Is Waving Around?
hey all,
I just wanted to see, is it possible to make grass on the ground of a flash document, and make it wave around?
Because I want to make a banner and it is for sport, and I want grass to be waving around, then a soccer ball bounce past the screen. Then The soccer ball to zoom past the screen from the opposite direction really fast, and leave the words of my website after it.
Anyway, can anyone help?
Addi
View Replies !
View Related
Make Grass So It Is Waving Around?
hey all,
I just wanted to see, is it possible to make grass on the ground of a flash document, and make it wave around?
Because I want to make a banner and it is for sport, and I want grass to be waving around, then a soccer ball bounce past the screen. Then The soccer ball to zoom past the screen from the opposite direction really fast, and leave the words of my website after it.
Anyway, can anyone help?
Addi
View Replies !
View Related
Stop ENERGETIC Grass Growing Up HELP
Dear All,
The grass in this file keeps growing up even it is out of document size of 600x350px. However, I want them to be grown only inside the document size. Could anyone help me to stop this energetic grass growing when it is out of the document size?
Thanks in advanced
I zipped this file into
www.delvetica.net/solution/fh002.html
View Replies !
View Related
Remember A Growing Grass Anim?
Hi there.
I remember once seeing a site that featured, via flash, a growing grass animation. I've been asked to do something similar but can't remember this site anymore!
Does it ring a bell with anyone?
also, are there any clever ways to make bitmaps wave and sway in flash? I can't think of a way besides doing it vector-based.
thanks for any help!
SS
View Replies !
View Related
Grass Effect Help And Some Other Minor Stuff
Hi Hi can some one help me out on this. I have created a nice scenery but I added the grass effect in it but it doesn't goes all the way across the X-axis. I know in the tutorial it's using 300 X 200 dimension but I am using 550 X 400. So how would I go about changing it.
And also can someone teach me how to create random popping circles. The circles will fade in and fade out (I know alpha must be used here) randomly all over the screen. I am not really a actionscript pro but I am willing to learn. (i only know how to create buttons T_T)
Help please, Thanks In advance
View Replies !
View Related
Lawn Mowing, Blades Of Grass
Hello all,
Okay, I have a problem. I am making something which there is a lawn mower, and it mows grass (uduh!). Don't ask what it is...
Anyways, the lawn mower is just a rectangle. The lawn mower moves around on the screen, on an area of grass. Now, what would be the best way to figure out how many blades of grass it has mowed? Attaching 160,000 blades of grass movie clips (1 pixel each on 400x400 area) and performing thousands of hitTests per frame isn't a good idea. I need to show the path of the lawn mower (A darker color than the grass means its already been mowed).
So how Would I figure out how many blades of grass it has mowed. This means that if the lawn mower goes over the same position twice, it can't mow those blades of grass again.
What is the best way to achieve this?
Thanks,
Jon
View Replies !
View Related
Creating A Swaying Blade Of Grass In AS
Hey there all-
Im trying to create a swaying piece of grass using the easing equation, but I think I'm getting it all wrong. Heres what I have, but it doesnt work at all:
ActionScript Code:
blade._rotation=0;blade.onEnterFrame = function(){ if(this._rotation < 1){this._rotation +=(20 -this._rotation)/10;} else if (this._rotation > 10){this._rotation +=(0 -this._rotation)/10;}}
Is there an easy way of creating a swaying blade of grass. Thanks for the Help!!!
View Replies !
View Related
Grass Effect Help And Some Other Minor Stuff
Hi Hi can some one help me out on this. I have created a nice scenery but I added the grass effect in it but it doesn't goes all the way across the X-axis. I know in the tutorial it's using 300 X 200 dimension but I am using 550 X 400. So how would I go about changing it.
And also can someone teach me how to create random popping circles. The circles will fade in and fade out (I know alpha must be used here) randomly all over the screen. I am not really a actionscript pro but I am willing to learn. (i only know how to create buttons T_T)
Help please, Thanks In advance
View Replies !
View Related
"Moving Grass" At The Bottom Of The Page
Hello everybody! I got this cool effect in my mind I've seen around. Its like having two or more rows of "grass" at the bottom of the page and have them move at a different speed from left to right. It creates this releative feeling and brings the site alive.
I understand to achive this you have to duplicate a movieclip untill it covers the page width + some more and then tell it to move form one side to another.(using laco tween for example.) I don't need it to be continious, just have it move a little bit when user clicks on a new secion of the page. I'm horrible with AS though. Has anybody done this before or know any resources I could check out on this subject? Thank you alot!
View Replies !
View Related
To The Tutorial Writing Staff: XML Portfolio Tutorial
Hi guys!
I'm a basic actionscript user which knows the basics of xml and actionscript. I've been seaching for a tutorial for a long time now how to make a portfolio which is dynamic and loads info from an external .xml file.
Since i couldn't find any tutorial like this i've tryed to make my own script out from this xml file:
Code:
<portfolio thumburl="thumbs/" imgurl="images/">
<project hdline="my first project" client="none" date="2007-01-02" category="website" weburl="http://website.com">
<image url="image1.jpg"/>
<image url="image2.jpg"/>
<image url="image3.jpg"/>
<description><![CDATA[This describes my first project]]></description>
</project>
</portfolio>
I have hade in mind that you should see a bunch of thumbnails first in a table format (like 6 cols and 3 rows) on each page, then you should be able to select page with next and prev buttons. When you press on a thumnail a box with the bigger image shuld pop-up and you should be able to read the other information in the xml file (such as client, date etc etc).
I've tryed to make this but it's to advanced. And my version is very buggy, aswell.
Here is what i've done sofar:
www.vmgcomputers.com/xml/portfolio3.swf
I don't know if this helps but here is a "multiple loader" i found:
http://www.johnnyslack.com/content/d...der_jslack.zip
I think there are many guys who are looking for a tutorial about this so please consider to make one, all professionals out there!
View Replies !
View Related
XML - Mix The Squirrel Tutorial And The Portofolio Tutorial
Hello,
I'm trying to mix 2 tutorials: the Squirrel Finder (http://www.kirupa.com/web/xml/exampl...rrelfinder.htm )and the Portfolio ( http://www.kirupa.com/web/xml/examples/portfolio.htm ).
Actually i want to create a list of buttons based on loaded xml and when the buttons are cliked i want to displays information obtained from the xml
associated with that button (this part is ok).Now the things is that i also want to add to each "squirrel" a portofolio but i can 't figure out how to write the AS.
here are my codes
the xml
Code:
<?xml version="1.0" ?>
<menu>
<menuitems sourceurl="http://spot.colorado.edu/~halloran/sqrl.html">
<item type="squirrel">
<species>Abert Squirrels</species>
<location>
<![CDATA[Abert squirrels (Sciurus aberti) are only found in mountain regions of North America. In the United States their range extends from extreme south-central Wyoming to New Mexico and Arizona. There are six valid subspecies including S.a. ferreus, True, the subspecies that is found along the Front Range of the Rocky Mountains in Colorado. Abert squirrels are limited to Ponderosa pine (Pinus ponderosa) forests in which they feed and build their nests.]]>
</location>
<portfolio>
<picturetitle= "Tiny Disk"
thumb= "portfolio_images/thumbs/tinydisk.jpg"
description= "portfolio_text/tinydisk.txt"
image= "portfolio_images/tinydisk.jpg" />
<picturetitle= "Plug"
thumb= "portfolio_images/thumbs/plug.jpg"
description= "portfolio_text/plug.txt"
image= "portfolio_images/plug.jpg" />
<picturetitle= "Disk Collection"
thumb= "portfolio_images/thumbs/diskcollection.jpg"
description= "portfolio_text/diskcollection.txt"
image= "portfolio_images/diskcollection.jpg" />
</portfolio>
</item type="squirrel">
<item type="squirrel">
<species>Douglas Squirrels</species>
<location>
<![CDATA[Douglas squirrels (Tamiasciurus douglasii) are found throughout the coniferous forests of Southwestern British Columbia, western Washington, western Oregon, and western California.]]>
</location>
<picturetitle= "Tiny Disk"
thumb= "portfolio_images/thumbs/tinydisk.jpg"
description= "portfolio_text/tinydisk.txt"
image= "portfolio_images/tinydisk.jpg" />
<picturetitle= "Plug"
thumb= "portfolio_images/thumbs/plug.jpg"
description= "portfolio_text/plug.txt"
image= "portfolio_images/plug.jpg" />
</portfolio>
</item>
<item type="squirrel">
<species>Eastern Grey Squirrels</species>
<location>
<![CDATA[Eastern gray squirrels are found throughout the eastern United States; their natural range extends from Florida, north to Canada, and west to where the deciduous forests meet the great plains grasslands. There are 5 subspecies of eastern grey squirrels, S. carolinensis carolinensis is the subspecies found in most of the south from northern Florida, to North Carolina, west to Missouri, and eastern Texas.]]>
</location>
</item>
</menuitems>
</menu>
the as
Code:
function DisplayInfo(){
menu_mc._visible = false;
infobox_mc._visible = true;
infobox_mc.content_txt.text = this.location_text;
}
infobox_mc.close_btn.onRelease = function(){
menu_mc._visible = true;
infobox_mc._visible = false;
infobox_mc.content_txt.text = "";
}
infobox_mc._visible = false; // start the info box hidden
// define basic variables for setting up the menu
var item_spacing = 28; // how far menu items are spaced veritcally
var item_count = 0; // counts menu items as they are added from the XML
// var for the portofolio
var thumb_spacing = 40;
// load variables object to handle loading of text
var description_lv = new LoadVars();
description_lv.onData = function(raw_text){
description_txt.text = raw_text;
}
// CreateMenu creates a menu based on the XML object passed.
// It loops through all the items with a for loop adding clips to the menu_mc
// movieclip on the timeline, defining the appropriate text where needed
function CreateMenu(menu_xml){
// start with the first item in the XML
var items = menu_xml.firstChild.firstChild.childNodes; // menu -> menuitems -> child nodes array
for (var i=0; i<items.length; i++) {
// only continue if the type of this item is a squirrel
if (items[i].attributes.type == "squirrel") {
// create variables for our elements
var species = items[i].firstChild; // same as items[i].childNodes[0]
var location = items[i].childNodes[1]; // second child node
//function GeneratePortfolio(portfolio_xml){
//var portfolioPictures = portfolio_xml.firstChild.childNodes;
//for (var i = 0; i < portfolioPictures.length; i++){
var currentPicture = portfolioPictures[i];
var currentThumb_mc = menu_mc.createEmptyMovieClip("thumbnail_mc"+i,i);
currentThumb_mc._x = i * thumb_spacing;
currentThumb_mc.createEmptyMovieClip("thumb_container",0);
currentThumb_mc.thumb_container.loadMovie(currentPicture.attributes.thumb);
currentThumb_mc.title = currentPicture.attributes.title;
currentThumb_mc.image = currentPicture.attributes.image;
currentThumb_mc.description = currentPicture.attributes.description;
currentThumb_mc.onRollOver = currentThumb_mc.onDragOver = function(){
info_txt.text = this.title;
}
currentThumb_mc.onRollOut = currentThumb_mc.onDragOut = function(){
info_txt.text = "";
}
currentThumb_mc.onRelease = function(){
image_mc.loadMovie(this.image);
description_lv.load(this.description);
}
}
}
// Create a menu item movie clip in the menu_mc instance on the main timeline
// for each item element offsetting each additional further down the screen
var item_mc = menu_mc.attachMovie("menu_item","item"+item_count, item_count);
item_mc._y = item_count * item_spacing;
item_count++;
// assign text using nodeValue to get the text
// from the text nodes and CDATA sections
item_mc.species_txt.text = species.firstChild.nodeValue;
item_mc.main_btn.location_text = location.firstChild.nodeValue;
// set the onRelease of the item button to the DisplayInfo function
item_mc.main_btn.onRelease = DisplayInfo;
}
}
}
var squirrel_xml = new XML();
squirrel_xml.ignoreWhite = true;
squirrel_xml.onLoad = function(success){
if (success) CreateMenu(this);
else trace("Error loading XML file"); // no success? trace error (wont be seen on web)
}
squirrel_xml.load("squirrel_finder.xml");
Thanks for the help
View Replies !
View Related
Looking For A Old Tutorial
Hi i'm looking for a tutorial with small picuters in row. The row allows the user to scroll in either the left or right direction.When the mouse is over the picture the picture is magnified and when the user clicks on the picture it come up.
thanks in advance
View Replies !
View Related
Tutorial
Hi, is there a tutorial where I can find out how to do all of the flash effects on this site
http://www.fallnangels.de/newsite/vorlagen/set.htm
thanks
View Replies !
View Related
Tutorial
Does anybody have a "for stupid people" tutorial that I could access? I want to learn ActionScript but I need something that will explain it in ENGLISH. I mean, stupid things, like, what is a variable? How do you write a variable? Why do you write a variable? Where do you put a variable? Can it have spaces? Does it have to be before all the rest of the actionscript? How is a variable read? Why does it read the way it does?...balh, blah, blah...I need a beginning tutorial. Can you help? Thank you in advance....
Randy
P.S. Remember...it's like talking to a child....
View Replies !
View Related
Looking For This Tutorial...
I'm not sure that there is a tutorial on this, but if there isn't it would be appreciated if you could tell me how. I need to know how to make the flash part of a site appear seperatly from the site itself. Where it is in it's own window and you can move it around. Thx for the help.
Jason
View Replies !
View Related
Need An Tutorial Or Help With...
Hi.
I am making a site it is all done in flash. Now it will have buttons which u press and another box shows up. Now I want to make a scroll bar, but i want it to scroll where u JUST put the mouse over it .. no clicking.
So i need a tutorial to make the scroll bar that u just put the mouse over to scroll. Thx.
View Replies !
View Related
Mx Xml Tutorial
Been tinkering with the the xml menu tutorial in Flash MX - no real problems so far with changing the structure and links but does anyone know how I get the menu text to align right instead of left. I have been playing with the text box and it will accept changes for font and size but not allignment. Thanks...
View Replies !
View Related
|