I have a one question, because I`m not a programmer, I use only tutorials for teaching Flex and programming in his.
Is possible to make new render file for s:Label or s:Text property? Because I make a small RSS application for mobile and I have this code for showing images from description of RSS items (this code is located on DetailsView.mxml): var descArr:Array = rdesc.split("src="); var resArr:Array = descArr.split(".jpg"); var resArr2:Array = resArr.split("\""); rimage = resArr2 + ".jpg";
In new renderer file I will hide html tags, because if I use this code: var p:RegExp = /(<strong>, <a...)/ig; into DetailsView, images not show because this RegExp hide all my htm tags.
So, I need render on new .mxml document with same code of DetailsView, but in new render (if it possible) I use this RegExp for hiding html text… How I set s:Label or s:Text to show renderer from new document?