dangquocthai / flash-videoio

Automatically exported from code.google.com/p/flash-videoio
0 stars 0 forks source link

Controls are doubled onLoad #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
With controls=true in v2.0, it initially loads with 2 sets of controls (see 
attached screenshot).  then, after something changes (for example, the controls 
are hidden then brought back), it goes back to normal.

Original issue reported on code.google.com by zwe...@gmail.com on 4 Jun 2011 at 6:31

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in version 2.1 and uploaded.

The problem was because I changed event to add controls from "added" to 
"addedToStage" and the latter is getting fired twice by Flash Player. So 
changed the code not handle addedToStage after it is added first. Please let me 
know if it doesn't work for you.

Original comment by kundan10 on 6 Jun 2011 at 12:53