Issue Details (XML | Word | Printable)

Key: FDT-1719
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: FDT Team
Reporter: Nicholas Bilyk
Votes: 0
Watchers: 0

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

Autocomplete doesn't work in mxml style property

Created: 14/Dec/10 06:49 PM   Updated: 18/Mar/14 05:17 PM
Component/s: MXML
Affects Version/s: FDT 4.1
Fix Version/s: None
Security Level: public

Time Tracking:
Not Specified

 Description  « Hide
Auto-complete in mxml within a style tag does not work, no suggestions are shown.


<s:Label color="{}"/>

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Nicholas Bilyk added a comment - 14/Dec/10 06:57 PM
Then the code in the binding expression isn't interpreted. This only happens for style properties
// This will be considered unused.
  [Bindable] private  function getColor():Number {
   return 0xFF0000;

<!-- getColor is not evaluated -->
<s:Label color="{getColor()}"/>

Stephanie Swiderski added a comment - 18/Mar/14 05:16 PM - edited
Hi Nicholas Bilyk,

use a cdata tag

		private function getColor() :Number {
			return 0xFF0000;

then it is interpreted.

Stephanie Swiderski