ActiveDen

3D Hearts Confetti

  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Vietnam
  • Referred between 10 and 49 users
greentea says

Lovely, nice for background!

2 years ago
Author
pixeljunkyard pixeljunkyard replied

;) thx

2 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • United States
  • Referred between 10 and 49 users
RJFlash says

Cool! ..Good Valentine effect ;)

2 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Referred between 10 and 49 users
baklach says

Niiiiiiiiiiiice rain of hearts :)

2 years ago
  • Has been a member for 5-6 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
  • Greece
w84me says
Purchased

Hello,

Nice emitter engine!

I have a problem though…

I am trying to load it as an external file, but I get this error

TypeError: Error #1009: Cannot access a property or method of a null object reference
var loader:Loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, done); loader.load(new URLRequest("Hearts_Popper.swf"));
2 years ago
  • Has been a member for 5-6 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
  • Greece
w84me says
Purchased

OK I ’ve fixed it.

The problem was caused by the stage not being initialized yet. I’ve added two private variables

private var sW:Number; private var sH:Number;

and then in Main()

addEventListener(Event.ADDED_TO_STAGE, init);

and in the init()

private function init(e:Event):void { sW = stage.stageWidth; sH = stage.stageHeight; stage.align = StageAlign.TOP_LEFT; stage.scaleMode = StageScaleMode.NO_SCALE; }
2 years ago
Author
pixeljunkyard pixeljunkyard replied

Thanks for letting me know, I usually do this but it slipped on this one.

2 years ago
  • Has been a member for 1-2 years
  • Won a Competition
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Community Superstar
  • Grew a moustache for the Envato Movember competition
  • Community Moderator
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 50 and 99 items
  • Brazil
  • Referred between 500 and 999 users
DzincStudio says
Purchased

Cheers.

1 year ago

by
by
by
by
by