Posts by Tean

1685 posts Envato Elite Author
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
Tean
says

isnt this why the offtopic forum is for? :D

1685 posts Envato Elite Author
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
Tean
says

You are mentioning you have 7 pages, but if that buttons which make navigation are going to be visible on all 7 pages, then that’s no problem.

Many of the buttons on offer here have “active” button feature, in other words, currently (or last) clicked button is somehow different from the others (showing that this is the active button) and very ofter disabled (so it can not be clicked again).

I hope you find what you are looking for!

1685 posts Envato Elite Author
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
Tean
says

There was a link in actionscript.org forums :)

1685 posts Envato Elite Author
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
Tean
says

Definitely the slowest browser out there… its dragging like a snail :D

1685 posts Envato Elite Author
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
Tean
says

cool, thanks! I actually tried adding transparent shape inside of container sprite at the bottom when it has been populated, but that didnt work either…

1685 posts Envato Elite Author
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
Tean
says
..and yes, a delete update button would definitely be a good addition!

I dont get it…. I already have a delete update button :D

1685 posts Envato Elite Author
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
Tean
says

the code from the pastie is here, i dont really know how this forum formats this:

like I said in my first post, I event tried to go as simply as possible, and just made a shape rectange, converted it into a movieclip, gave an export name of “Box”, and added this code:

var s:Sprite = new Sprite();
addChild(s);

var _box:Box;

for (var i:int = 0; i < 20; i ++) {

    _box = new Box();
    _box.mouseChildren = false;
    _box.buttonMode = true;

    _box.y = i * (_box.height);

    s.addChild(_box);

}
addEventListener(Event.ENTER_FRAME, scroll, false, 0, true);
function scroll(e:Event):void {
    TweenLite.to(s, .5, {y:((stage.stageHeight - s.height)/stage.stageHeight * mouseY)});
}

even if i try like this: _box.y = i * (_box.height – 1); aka tuck the next thumb under the previous one, button mode is still breaking…

1685 posts Envato Elite Author
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
Tean
says

but if you add the space that brakes the button mode.

1685 posts Envato Elite Author
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
Tean
says
I’ve been trying to improve the speed of a project and have done a lot of research but still have a few questions:

1) Is Dictionary ever faster than Array?

2) Are strong references ever faster than weak references?

3) What’s faster: myArray[index] or myArray[int(index)] ?

What kind of project you are making anyway that you need to ask these questions? Are you building a 3D engine?

Show us your code! :D

1685 posts Envato Elite Author
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
Tean
says
If your file is is AS3 you can add the buttonMode to the holder that contains the thumnails, and leave the other actions on the thumbs. Have you tried that?

Yes, I have, and result is the same.

I have also tried making just a shape rectangle, wrapping it into a movieClip, give it an export name of “Box” and make it as simlpe as I can:

http://pastie.org/774544

by
by
by
by
by
by