Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Placing The Snowfall .fla Onto A Screen



Hi there,

A quick question. If I'm trying to put the "Snow" .fla into a web site, how can I position it so its not in the top left hand all of the time?

Charlie



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 12-11-2003, 05:58 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Placing The Snowfall .fla Onto A Screen
Hi there,

A quick question. If I'm trying to put the "Snow" .fla into a web site, how can I position it so its not in the top left hand all of the time?

Charlie

URGENT Randomly Placing Objects On Screen.
Hey, I've got to finish a game before 12am today for Clock Day 2004! I forgot about it, being busy with 5 games and 2 animations. I know alot of action-script, unfortunately, I don't know about randomizing. So here's what i'm doing. I've got a game where the character is viewed from the top, and you haveto run around and collect an object, lets say, coins. I need to make it so the coins come and go randomly. Hope someone can help me, I've been searching on how to do this for ages. Thanks for reading this
------------------------------Tobunshi--------------------------------

Placing External Library Elements In Full Screen...
I'm trying to place these external library elements in full screen mode.


Code:
class com.Library
{
//
// MovieClips
//
public static var LOGO:String = "lib.clips.Logo";

public static var HORZ_BAR:String = "lib.clips.HorzBar";

public static var BACKGROUND:String = "lib.clips.Background";

public static var MASK:String = "lib.clips.Mask";

public static var SCROLL_LINE:String = "lib.clips.ScrollLine";

public static var SCROLL_BAR:String = "lib.clips.ScrollBar";

public static var TITLE_TEXT:String = "lib.clips.TitleText";

public static var FULL_IMAGE:String = "lib.clips.FullImage";

public static var ITEM:String = "lib.clips.Item";
}
I can place them in a fixed position...


Code:
private function initialise():Void
{
var xmlLoader:XMLLoader = new XMLLoader();
xmlLoader.load( "xml/images.xml" );
xmlLoader.addEventListener( "onXMLComplete", Delegate.create( this, onXMLLoaded ) );

//
// Holds the full size imaage
//
fullImage = target.attachMovie( Library.FULL_IMAGE, "fullImage", target.getNextHighestDepth() );
fullImage._x = 0;
fullImage._y = 0;

//
// Horz Bar top
//
horzBarTop = target.attachMovie( Library.HORZ_BAR, "horzBarTop", target.getNextHighestDepth() );
horzBarTop._x = 0;
horzBarTop._y = 0;
horzBarTop._alpha = 50;
horzBarTop._width = Stage.width;

//
// Horz Bar bottom
//
horzBarBottom = target.attachMovie( Library.HORZ_BAR, "horzBarBottom", target.getNextHighestDepth() );
horzBarBottom._x = 0;
horzBarBottom._alpha = 50;
horzBarBottom._y = Stage.height - horzBarBottom.height;
horzBarBottom._width = Stage.width;

//
// Title Text
//
titleText = target.attachMovie( Library.TITLE_TEXT, "titleText", target.getNextHighestDepth() );
titleText._x = 10;
titleText._y = Stage.height - titleText.height;

//
// Logo
//
logo = target.attachMovie( Library.LOGO, "logo", target.getNextHighestDepth() );
logo._x = 10;
logo._y = -2;

//
// Thumbnail conainer
//
container = target.createEmptyMovieClip( "container", target.getNextHighestDepth() );
container._x = 81;
container._y = 121;

//
// Mask
//
mask = target.attachMovie( Library.MASK, "mask", target.getNextHighestDepth() );
mask._x = 50;
mask._y = 90;

//
// Line below the Scrollbar button
//
scrollLine = target.attachMovie( Library.SCROLL_LINE, "scrollLine", target.getNextHighestDepth() );
scrollLine._x = 50;
scrollLine._y = 513;

//
// Scrollbar button
//
scrollBar = target.attachMovie( Library.SCROLL_BAR, "scrollBar", target.getNextHighestDepth() );
scrollBar._x = 50;
scrollBar._y = 508;

container.setMask( mask );
}
But I don't know how to make them listen to a stage listener to scale and position relative to the stage size or resize.

Can anyone help?

Snowfall
I would like to make snow stop falling when it hits the bottom of the window and pile up until the screen is filled.

How could I do this?
At the moment i have used two clips of snoflakes and used actionscript to make lots of them generate randomly at the top and fall slowly down off the screen

Thanks

cristie

Limiting This Snowfall?
here is the script. my only problem is that i can not set the snow to fall on a specific part of the flash movie... for example: lets say the flash movie is 600 by 500 in size. How do i make the snow only fall on the top part of the movie...which would be for example only 200 by 200 of the total movie. (x,y)


changing the size of the snowfall near random doesn't work.

can someone help me? please pm the results or reply here.


stop();
max = 50;
i = 0;
while (i<max) {
zufall = random(169);
attachMovie("bot", "bot"+i, i);
_root["bot"+i]._x = random(600);
_root["bot"+i]._y = random(500);
_root["bot"+i]._xscale = zufall;
_root["bot"+i]._yscale = zufall;
_root["bot"+i]._alpha = zufall;
i++;
}
fscommand("allowscale", "false");

A Little Help On Snowfall Method
I used the snow fall method (FROM THIS SITE) to make a scene with snow falling and fog.
the problem is that if I make the fog flow, then the snow fall restarts after last frame of fog (clouds layer).
but I want to make snow fall continuous.
can anyone help?

here is the scene- (http://www.yourfilelink.com/get.php?fid=216515)
pass- Gurpinder Singh.

How Do I Create Snowfall Movement
I would like to know how to create the continuous movement of snowfall without the dependency of the mouse (such as in the continuous movement tutorial). I tried the code for the simple movement, but I think it needs the 'block' in order to get it to continuously move. I don't know how to write the code. Would anyone be able to help me with this? Thank you.

Snowfall Class Cpu Issue...
I'm creating a class that makes snow fall depending on some variables like windspeed, fallspeed, etc.....the only issue I'm having right now is that the file 'jolts' when there's too many snow particles floating around....you can see what I mean here...

Basically, I created a single snowflake movieclip off the stage somewhere, and whenever I want to make a new snowflake, I just duplicate that movieclip...now depending on the user's setting, there can be a couple hundred snowflakes on the screen at any given point in time....that's when the slow-down happens....

Creating A Smooth Snowfall Effect
Hi there,

Im fresh on the scene and have practivcally no experience. I am trying to make a flash decor for my website and am having problems. I need (for one of many things) to create a smooth looking snow effect. except it isnt snow it is Jems. Now the prolem im having is that the jems come down in clusters. Yes I have moved the keyframes closer to the 1 frame in the motion tween (thats what all the tutorials i read gave me). It still looks like crap and is very buggy. Now how can i fix that?
thanks to whoever will help me. Please know I will be asking alot of questions (im a perfectionsist of sorts)and help from experst sounds great at a point like now, since I am about to open an art commision site. But if you look at my website please note that I am alot more experienced than i was at that point in time. thanks

~joe (Hoomin)

Fun Script Needed For Random Snowfall..
Hey all!...I was wondering if anyone knows a cool way for me to create a random snowfall effect using actionscript..I assume I'll need the duplicate movie action and some random action or whatever, but how will I set this up to look like snowfall?...any ideas?

Snowfall Script--need To Modify-link Below
http://www.dancevideos.tv/layered-snowfall.fla

I am trying to get this script to fill a complete window at 800 x 600 pixels and have the snow fall from the very top of the movie.
Can someone help? The fla is at the above link.

MX::Snowfall::Random Motion On Dupe MCs
I'm trying to make a Flash Xmas card and I have 3 movie clips of different snow flakes and I want them to duplicate at random sizes and positions and fall at slightly different random speeds in the background and do this constantly through an 18 second movie. What do I do?? Any help is greatly appreciated, thanks!

Snow Tutorial - Direction Of Snowfall
Hi guys,

Just starting out in flash and I was wondering how would you make the snow's direction change from falling to rising (aka a water bubble effect).

Thanks for any insight, love the site!

Snowfall Effect But Make Snow Go Upwards Instead Of Down?
Hello,

I've just followed this tutorial to make falling snow and I wondered whether there was something in the code I can change to make the snow fall upwards (I want a similar effect to falling snow but with stars flying upwards).

http://www.trainstation.cc/Tutorials...snowfall2.html

Thanks in advance

Real Dumb Question From Newbie (snowfall)
Hi

I'm hope someone can point me in the right direction for a tutorial on how to generate snowfall in Flash CS3. I'm happy to deleve into actionscript, but the examples I've found on the web, I'm unable to get to work . The best example I found is http://www.flashkit.com/tutorials/Ac...-980/more3.php

I was hoping this would be quite simple, and I'm sure that it is, but I need a 'noddy guide' that holds my hand for me

Also if anyone can suggest some good books for a newbie on Flash (CS3) and actionscript, I'd be most grateful.

Thanks in advance.

Actionscript Placing Movie Clip And Manual Placing Movie Clip OnPress Blues
Hi,

I placed a movieclip onto the stage and wrote an onPress function for it and it worked fine.

I then deleted it off the stage, and then instead tried using actionscript to attach movie clip onto the stage and set its x,y coordinated.

It showed up on the stage in the right place but didn't respond to clicks (presses) on it.

I used:
this._parent.attachMovie("up_arrow", "upArrow", 1);

The name of the mc in the library is "up_arrow", and I made sure it was exported for actionscript too.

this._parent.upArrow.onPress = function() {
trace("up button pressed");
};

This onPress function only works if I manually place the mc on the stage in the editor and not when I use actionscript.

I don't know why it's not working, anyone have any ideas? You're help is appreciated.

Many thanks.

Akira

Placing Swf Within Swf
I want to place Sub.swf in main.swf, but i want to place him on the x=10, y=200

How do I place a swf in a swf when button is clicked, and when i call him in, how do I put him in a certain position ie x10,y200

thanx!

Placing And Following
Visualize this with me please.

I want to have a box move about and turn, with it, I want 2 lines to the sides of it (both stretching slightly over the corners). The lines will move as the box does; the box rotates, for example, the lines will as well, in sync with the box as though they are one instance.

The problem comes in when the box expands, then if the lines are in the same element as the box, then the lines will get bigger due to scaling, and if they are not of the same element, the box tends to be slightly on or off the lines, though I want them to be touching and not at all overlapping.

Placing Swf Into Pdf?
This isnt really a flash question but i didnt know who else to ask. Id like to place my swf file into my pdf which i am creating from indesign... im told its possible but it comes up with an error 'can not place this file. no filter found for requested operation'. Does anyone know how i can make this work?

Help With Placing URL
I am trying to place a URL to this animation that i created. the text morphs into some other kind of text. my problem is that i want to be able to click on it and send me to another webpage assuming that this "link" is on the main webpage. can anyone help? i've attached the file so that u can see it. thanks for the help...and it's safe to download, no viruses!

Placing Things
I have a movie clip on the over state of a button, and I want to possition it in the same place as in the over state, how do I do this so it will match perfeclty, because no matter how hard I've tried to do it manualy there's always a diference, very small diference but I was wondering if it could be exactly alike.

Thanks for any help you can provide on the matter.

Placing Objects
how can i place a new graphic,movieclip or button from the library to an existing movieclip.

THANX2002 in adv.

Placing Objects
hey, i'm trying to find a way to place new objects [graphics and or buttons] in a flash movie with an actionscript.

any help is greatly appreciated,
thanks in advance

Placing A Soundtrack
Could anyone help me with placing a music track on my website (say a 10second loop or whatever), also I would like it to continue no matter where you go on the site...anyone?

Thanks

P.S I am right in thinking you do this in Flash don't you?, not Dreamweaver?

Placing Swf At Right Place In Fla?
I made a animation of text in swift 3d, now im importing this into Flash, but how can i get it to the right place, cus now when i move the text i only move one frame.

Placing Object Above The Others
Hi everyone!

Does anybody know how to place an object above the others (on the top of z-order)? I have an object, placed on the top layer, and on the level which lays below are dynamically created other object instances. After that the movieclip object which was on the top appears at the bottom regardless of the depth values specified in duplicateMovieClip() when creating object instances. I guess I have to bring back the object to the top, but I don't know how. clip.swapDepths() with the topmost of dynamically created objects doesn't give anything 'cept making the dynamic object visible

If anybody knows solution to this problem, please help!

Thanks a lot beforehand,

Placing The Movies
well this is a n00b questeion
how can i place the loaeded movie somewhere on the movie
when i use loadmovie .. the movies load left next to my bottom
how can i place them somewhere else ?

Placing SWF In Movieclip
Hi,

I'm trying to have a movie play at a particular position inside another movie.

I have tried to follow the directions in other posts, but so far, no luck.

I have an action layer. In that action layer, in the first frame, I am saying "loadMovie ("externalMovie.swf", "MCBox"). On a layer immediately underneath that, I have drawn a rectangle the size of the external movie and converted it to a Movie Clip named MCBox with the registration point in the upper left hand corner. When I test the Movie, the external movie doesn't play. If I change the actionscript in the first frame of the action layer to "loadMovieNum ("externalMovie.swf", 1)", the movie does play, but in the upper left hand corner of the entire movie. I have also tried to put the movie clip on the same layer as the actionscript to no avail.

Can anyone tell me what I'm doing wrong? I'm using Flash MX.

Thanks a lot,

Ed Levy

Placing A Movieclip
Ok,
I finally worked out the LoadMovie command in FlashMX. What I'm wondering is why does the loaded movie default to the top left hand corner of my main movie? The loaded movie is only a movieclip with a music track and an on/off button but it defaults to the corner!!!

How can I place it where I want it??

Thanks.

Placing Flash Pop Up...
How can a place the popup window to open at the center of my screen (browser)?

Cos it always open as default (top left)

Thanx

Placing Tables
i came here for this questions because you guys are genuises.
anyways

on my site... i want to be able to place the tables ABSOLUTE , im thinking of using css.. but ive tried with no success, i dont really know where to place the class="" in a table sccript

i need these tables to be exactly absolute to the last pixel. , right now i have indents and stuff and after trying for hours, there must be some stupid thing im doing wrong, so im turning to you guys.

<!--
.border { left: 0px; top: 0px; clip: rect( )}
.header { left: 0px; top: 200px; clip: rect( )}
-->
</style>

</head>
<body>
<body bgcolor="#FFFFFF">


------>need this to hug the left side and go all the way down the page 100%

<table width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="7" background="brdleft.gif"><img src="/brdleft.gif" width="7" height="2"></td>
<td valign="top">

<--------


------->need this one to hug left and be 200 pxs from the top.

<table width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="2" background="headerbg.gif"><img src="header.jpg" width="600" height="106"></td>
<td valign="top">

</body>
</html>



===============================================
i dont know where i would place the class="" so i took them out for now. i need ot know hwo to place these, even if its not with css.
any help will be greatly apreciated
thank you!

Placing Mc With LoadMovienum
HI
When I load a movieClip with loadMovienum, How do I place it where I want it?
My guess is something with the x and y coordinates but I don't how to use them.
Thanx in advance!

Placing AttachMovie
i have a problem, i tried to attach a movie and place it in the position x=0,y=58, in the main scene but it doesnt work, it come in the wrong place, how i can fix this? i attached u the file and i hope someone can help me...

Placing MC On X And Y Coordinates From Php
Hi there,

I have problem which I'm not able to solve...

In flashMX I created a map of my country and now I want to import an x and y coordinate from php so that there will be a dot on the map on that exact x and y position.

However, I can't get it done.

Can you help me with this one, please?

The php page can be found here: http://www.trouwplannen.nl/bedrijfspositie.php

Thanks in advance,

Ralph

Placing Bitmaps ?
When using Illustrator, I always make bitmap tiffs of outlines, and place them into illustrator document. That way, the placed bitmap can be given any color I want, in that document and keep outlines without the white background. Is there a way to do this in flash?

I tried breaking apart a gif, but that looses the outline I need and just turns into a rectangle fill.

Please help.

Placing The Movieclip
on (rollOver) {
loadMovieNum("http://www.website.com/pic.jpg",1);
}

On a button I have on the main timeline, I need it to pop up an image. It does this, however, I can only get it to pop up at (0,0). How, if it is not an actual movie clip, but a a URL, can I place it specifically on the page.

Can you place the coding into the code above?

Placing Instances
I was wondering how to place instances. I made a movie part, now I have to place it on the actual main timeline, but I don't know how Help? ^_^

Thanks.

Placing A Cursor
Hi.
I am using Flash MX 2004 Professional and have ran across a problem. I have developed an application that completes some calculations. I have 6 input textboxes. Then below that I have a calculate button and a clear all button. When the user clicks on the clear all button I want the cursor to go back to the 1st input textbox. How is the best way to do this?

Thanks in advance,
Jon

Placing Buttons On Top Of Each Other
I can. Just get me ol' mouse and pile them up.

I have - Menu:
Click on [Mainbutton]
[Mainbutton] opens a [Movieclip] of [SubButtons].
([Movieclip] is below [Mainbutton])

I'd like to make it so when the user rolls off the [Movieclip] it closes (which is just a telltarget to go to the first frame).

But I can't use a rollout, because when I rollover one of the [SubButtons] Flash thinks I'm rollingout of the [Movieclip] and closes it. The bastard.

Um. Hm.
Can you help me with the information supplied?

Cheers

Placing Of Preloader
Hello Flashkit dudes...
I'm in a little bit confusion regarding the placing of Preloader movie. Few days back, I'd been suggested to put my Preloader movie in separate Scene (say Scene 1) and my another main movie in separate Scene (say Scene 2). Though it worked .........I'm here to ask u whether it is necessary to put in that way ..i mean in separate scenes. Does my preloader not work if I put that in the same scene where my main movie is kept ??? Please let my confusion end up with solid understanding in this regard. Any sort of suggestion would highly be appreciated. Thanx in advance.

sayamish

[F8] Placing A .swf In Html
I've used dreamweaver to place my swf's in html since I started making flash movies. Basically I place the swf in the html and align it to the middle, and use center alignment for all the properties. This is simple and works.. somewhat.

My question is:
Is there an easy way to have a swf load without needing the html to place it? I know you can load a swf directly into any web browser but you don't have control over it. Ideally I would like my movie to load and take up lets say.. 90% of my audiences browser centered. The site I'm building now is 950x600 pixels which is great on most monitors with 1024x768 res+.. but people under that don't have a size for them.


any ideas?
I'm no html pro.. so yeah.

Random Placing
hi guys im new to this forum and i new to actionscript as a whole, hopefully you guys can guide me along my learning journey

i need to noe how to:

Randomise a tile to be placed on the stage. (From a selection of the 3 different tiles)

Randomise a location and place the selected mahjong tile on the stage, making sure that it does not fall outside the stage area

Also, a randomised tile shud stay there, meaning that randomised tiles stack if they should happen to fall into the same area.

could any1 teach me? i wouldnt want just codes... //descriptions would help me learn too. im a total newb at this so pls dun mind me

Placing Different MC's On The Stage
Hey do you know if there is a way to do it so that if a text box = 1 and blue movieclip goes on the stage at a persific x and y axis, but if the box = 2 a red one goes on there instead and you dont see the blue one. and if the box = 3 and yellow one goes on instead of the two others.

it would be great if you could help.

Thanks

Tom

p.s please see if you can tell me in the noobeist way posible

Thanks!!!

Placing An Image Into A Swf
Hi, im using "Swish Max" to make a flash menu,

the menu is going to have say 3 options on it, each option will then link to a page that will then link back to the menu.

After each page has been viewed and the user returns the the menu, i want a tick image to appear to the left of the options that have been completed(viewed).

I am using the code:

flag1 = 0;
flag2 = 0;
flag3 = 0;

when the menu first loads, each flag is assigned to one of the options, then when the user completes one of the options, it will change the value of the appropriate flag to 1.

then I want to use an if statement to display the tick image to the left of the option if flag(number) = 1 and not to display the image if flag(number)=0.

Ive only just started using actionscript so I dont really know how to do much so sorry for my noobiness.

If you could code the whole thing for me than great, if not just let me know how to place and position an image in the menu using actionscript and I will figure out the rest for myself

Placing Picture
i know this easy but i dont know action script at all.
i want to have 2 buttons and 1 picture place holder, when i click the first button the first picture appears and when i click the second button the second picture appears.

can any one tell me how its done

Placing An SWF Onto The Stage.
I've been working on my new flash site for a few weeks, along with learning AS3, tackling problems as I encounter them and I've learned a lot...but sometimes the simplest things I cannot figure out for the life of me.

All I am trying to do is have some flash banner SWF files I created play within the portfolio page of my site. I don't want them to open in a pop up or anything just play within the page when the link on my site is clicked. I figured it would act like a movie clip and I could just drop it onto the stage, but when I do that it doesn't look right, loops continuously, and is not interactive.

How can I make this work? I would include my code if I had some, but I don't really know where to begin with this.

Placing Pop Up Windows
Is it possible to position a popup window? Does it always have to appear top left -hand corner?

Placing Bitmaps ?
When using Illustrator, I always make bitmap tiffs of outlines, and place them into illustrator document. That way, the placed bitmap can be given any color I want, in that document and keep outlines without the white background. Is there a way to do this in flash?

I tried breaking apart a gif, but that looses the outline I need and just turns into a rectangle fill.

Please help.

Placing Scripting ?
I have an all Flash web site, published in html and I have a java scripted advertisement that I want to add to my site. Problem is I don't know where to add the scripting in my html source. If anyone could help me I would appreciate it.....it would save me a lot of tutorial searching.

Thanks
KyMrn

Copyright © 2005-08 www.BigResource.com, All rights reserved