
|
If you were logged in you would be able to see more operations.
|
|
|
Flex SDK
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)
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:
|
|