History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: SDK-11360
Type: Bug Bug
Status: Closed Closed
Resolution: Not a Bug
Priority: B B
Assignee: PR Muruganandh
Reporter: Peter deHaan (Adobe)
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Flex SDK

Some Flash movie clips stop working after being converted to a Flex Component in Flash CS3

Created: 06/18/07 08:48 PM   Updated: 07/09/08 04:30 AM
Component/s: Flash Integration
Security Level: Public (All JIRA Users )

Severity: Usability Issue
Reproducibility: Every Time
Discoverability: Medium
Found in Version: SDK Moxie M3 (Beta 2) - 173617
Milestone: SDK Moxie (Feature Complete)
Affected OS(s): Windows - XP
Steps to Reproduce:
Steps to reproduce:
1. Create a new Flash document in CS3.
2. Drag an ActionScript 3.0 Button onto the Stage and give it an instance name of "myButton".
3. Convert component instance to a movie clip.
4. Double click movie clip on Stage to enter symbol editing mode.
5. Add the following ActionScript to the Actions panel:
[code]
myButton.label = "my label";
[/code]
6. Ctrl+Enter. You should now see a Button with the label "my label".
7. Close the standalone Flash Player and return to Flash.
8. Select the movie clip symbol in your library (probably named "Symbol 1" if everything was left at defaults)
9. Select "Commands > Make Flex Component" from the main menu, you should see the following output in the Output panel:
[quote]
Command made the following changes to the FLA:
  Turned on Permit Debugging
  Turned on Export SWC
  Set frame rate to 24
  Imported FlexComponentBase component to library
Component "Symbol 1" is ready to be used in Flex.
[/quote]
10. Ctrl+Enter.


Actual Results:
After converting the symbol in the Library panel to a Flex component, it stops working, giving the following error:
[quote]
1120: Access of undefined property myButton.
[/quote]


Expected Results:
Not sure if this is FOL since its dealing with a Flash framework as well as a Flex framework (sort of) at this point. I half expected this to sandbox and work properly (sort of). For instance, it works if you use a FLVPlayback component, although that uses its own framework, separate from the other UIComponent frameworks (but you do need to set the bounding box if you use the FLVPlayback)

Language Found: English
Bugbase Id: none
Triaged: Yes
Regression: No
QA Owner: PR Muruganandh
Resolved by: Glenn Ruehle
Participants: Glenn Ruehle, j jonez, Lauren Park, Peter deHaan (Adobe) and PR Muruganandh


 All   Comments      Sort Order:
Lauren Park - [06/18/07 09:30 PM ]
opened to Glenn

Glenn Ruehle - [06/19/07 01:45 PM ]
Here is another one for the docs: when referencing child clips from framescripts, you must precede the child name with "this.". For example, this.myButton.label = "Hello".

PR Muruganandh - [06/19/07 11:01 PM ]
NAB

j jonez - [07/09/08 04:27 AM ]
Hi Glenn,
I see that this issue is resolved. I'm still seeing this problem. Do I just need to update FlashCS3, the Flex Component Kit?

Thanks,
jj

j jonez - [07/09/08 04:30 AM ]
Ah, okay, I see the resolution status is NOT A BUG. However is there a workaround?

I basically have the problem you describe above:
+ A symbol whose base class is set to mx.flash.UIMovieClip via the CS3 Linkage window
+ Buttons in the symbol above with instance names
+ Error 1120 is thrown