Hi list...
I thought I'd share code that generates a sprite displaying neverending cloud
movement with bitmap data, using perlin noise.
- Michael M.
package {
import flash.display.Sprite;
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.
- Original Message
> From: Jack Doyle
> To: Flash Coders List
> Sent: Mon, April 26, 2010 12:36:45 PM
> Subject: RE: [Flashcoders] Infinitely Looping Image
>
> You're mixing Tween and TweenLite code. You've got an event listener set
> up
I thought
AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Infinitely Looping Image
Hi;
I would like to have a background image of clouds loop infinitely.Here's my
code:
function BigPic():void
{
parent_container2 = new MovieClip();
var square:Sprite
From: jonathan howe
To: Flash Coders List
Sent: Mon, April 26, 2010 10:17:10 AM
Subject: Re: [Flashcoders] Infinitely Looping Image
Hi, John,
The first reference to "cloudTween" I see is here:
cloudTween.addEventListener(TweenEvent.MOTION_FINISH, restartAnimation);
So I'm gu
Hi John,
I've just been dabbling in the same sort of thing, but basically just using
bitmapfill, it's very simple, check this out:
http://www.innerdrivestudios.com/blog/articles/actionscript-3/gfx-actionscript-3-articles/wrapping-bitmapdata-in-actionscript-3
And an application of the principle:
h
Hi, John,
The first reference to "cloudTween" I see is here:
cloudTween.addEventListener(TweenEvent.MOTION_FINISH, restartAnimation);
So I'm guessing you need to declare and assign that object before you try
attaching an event listener to it.
In the future, the quality of the feedback you'll ge
Hi;
I would like to have a background image of clouds loop infinitely.Here's my
code:
function BigPic():void
{
parent_container2 = new MovieClip();
var square:Sprite = new Sprite();
parent_container2.mask = square;
addChild(square)
7 matches
Mail list logo