Posts by Tean

1676 posts Envato Elite Author
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Europe
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
+1 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…

1676 posts Envato Elite Author
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Europe
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
+1 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

1676 posts Envato Elite Author
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Europe
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
+1 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…

1676 posts Envato Elite Author
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Europe
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
+1 more
Tean says

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

1676 posts Envato Elite Author
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Europe
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
+1 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

1676 posts Envato Elite Author
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Europe
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
+1 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

1676 posts Envato Elite Author
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Europe
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
+1 more
Tean says

I waited 6 days for my file to be rejected for not having enough code comments :D

1676 posts Envato Elite Author
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Europe
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
+1 more
Tean says

I dont have an online example now so I am using a product from here. I hope the author doesnt mind :)

Anyway, go here: http://activeden.net/item/xml-gallery-with-thumbnail-scroller-v2/full_screen_preview/74687

Put a mouse over thumbnails, and let it scroll and watch button mode “breaks” when crossing from thumb to thumb. I am currently experiencing the same problem and its quite anoying…

One would think its happening because there is a space between thumbs, but I have tried even spacing the thumbs so that each one lies under the previous one (like thumb.x = i * (thumb.width – 1) ) so there cant possibly be any space between, so why is this happening?

Thank you!

1676 posts Envato Elite Author
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Europe
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
+1 more
Tean says

I dont actually understand that language but I have it clicked for you :) Good luck!

1676 posts Envato Elite Author
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Europe
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
+1 more
Tean says

I want this in my video player preview:

link

:D

by
by
by
by
by
by