Issue Details (XML | Word | Printable)

Key: FDT-1277
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: FDT Team
Reporter: Scott Enders
Votes: 0
Watchers: 0
Operations

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

Script tag improperly created on auto completion

Created: 15/Sep/10 10:41 PM   Updated: 22/Jun/12 07:01 PM
Component/s: Core (Deprecated)
Affects Version/s: FDT 4 RC 1
Fix Version/s: FDT 4.0
Security Level: public

Time Tracking:
Not Specified

Environment: Windows 7


 Description  « Hide
I created an mx Application and created a Button. When I specify a click event on the the button and use auto complete to create the function for me, it creates the Script tags and the new click listener function for me. But the Script tags don't have mx: in front of Script. Below is the result of the scenario:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
	<Script>
		<![CDATA[

			private function onClick(event : MouseEvent) : void {
			}
		]]>
	</Script>
	<mx:Button click="onClick(event)"/>
</mx:Application>


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.