# Different questions concerning my first AS3-project

**URL:** https://forum.kirupa.com/t/different-questions-concerning-my-first-as3-project/267905
**Category:** flash
**Created:** [August 7, 2008, 3:02am UTC](https://forum.kirupa.com/t/different-questions-concerning-my-first-as3-project/267905 "2008-08-07T03:02:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hasch2o](https://avatars.discourse-cdn.com/v4/letter/h/ba8739/32.png) [@hasch2o](https://forum.kirupa.com/u/hasch2o)
#### Post date: [August 7, 2008, 3:02am UTC](https://forum.kirupa.com/t/different-questions-concerning-my-first-as3-project/267905/1 "2008-08-07T03:02:54Z")

</div>

Hey Everybody

I am trying to create a “Showroom” with AS3.  
The start looked actually really promising. As You can see in the SWF in the zip, it’s not tuned at all, but the functions that I wanted to implement so far worked.  
Then I started to screw around with customEvents and the outcome was disastrous.  
(don’t have a swf for that unfortunately)

I attached my 4 classes I used (and the TweenLite Class by GreenSock) in the zip.  
Hope you can rebuild it easily with that. I had nothing in the fla-library, just add the Showroom.as as Doc-Class.

Those parts don’t work:  
Automatic Realignment on resizing --\> Products.as Line 46  
Dispatch Event --\> Product.as Lines 70-81  
(Dispatching could work, but it’s hard to check)

I have no idea if this is the right way to do something like that, therefore I would appreciate any help, thoughts, critics. Furthermore I am pretty new to OO and AS3, so if you have any suggestions how I can improve my code I’d appreciate any Input.

Thank you in advance  
Carlo
