Select to view content in your preferred language

Why I can not create a skin class for Editor?

547
2
05-02-2011 07:38 AM
MikeCliffton
Emerging Contributor
I tried to create a skin class in a folder of src of my flex viewer project.  I right click mouse, select "New--- MXML Skin", Host component is com.esri.ags.components.Editor, "Create as copy of com.esri.ags.skins.EditorSkin".  But it always gives me error message as below:

The source for the skin "{0}" cannot be found

If change the Create as copy of to other things such as "mx.skins.spark.TabSkin", it works.  I am very confused about that. Thanks!
Tags (2)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Mike,

   Look here for Dasa's answer to this issue.

http://forums.arcgis.com/threads/28487-PopUps#10
0 Kudos
MikeCliffton
Emerging Contributor
Thanks! I tried that method and created a skin class called MySkin.mxml in the widget--Edit folder (copy all the code from EditorSkin.mxml to this file).  But inside MySkin.mxml file, there is error mark in front of [Embed(source="../../../../assets/skins/loader.swf")].  It said unable to resovle '../../../../assets/skins/loader.swf' for transcoding. 


Mike,

   Look here for Dasa's answer to this issue.

http://forums.arcgis.com/threads/28487-PopUps#10
0 Kudos