A bit on Silverlight again and something cool with htmlText

I have read a pretty good article today about exactly what I blogged about yesterday. It’s actually about Keith Peters asking Bill Gates what has in plan for the future of Silverlight. Gates’ answer is interesting, he mostly says that the end user doesn’t mind if it’s Flash or Silverlight; it’s all the same for him. Where the battle will be fought is on the developer side. He also says that the competition will be good for the industry just as I believe.

On an other subject,  I found something very interesting today about  htmlText. I already knew that you could insert images using the img html tag. What I found is that using ActionScript 3 you can also embed MovieClips also using the img tag. All you have to do is put the linkage id of the library of the particular MovieClip you want to embed in the src attribute of the img tag inside the htmlText. What is pretty cool is that you can use a normal text scrollbar to scroll images and MovieClips. I blog about htmlText more later because there are tons of things you can do with that.

, ,

  1. #1 by Hobbis - July 25th, 2008 at 02:06

    I’m looking for the actual flex code that produces this technique of embedding the image as I can’t to do it. Any chance you could enlighten me on this? I’ve tried this:

    [Embed(source='assets/smilies/smilies.swf', symbol='TestSmiliey')]
    [Bindable]
    private var smiley:Class;

    var messageString:String = “Tigger:SMILEY1: \n and SMILEY2:”;

    TestSmiley is the linkage ID of the symbol.

  2. #2 by Hobbis - July 25th, 2008 at 02:07

    Oops, my HTML was rendered. The tag looks like this:

    >

(will not be published)
Subscribe to comments feed
  1. No trackbacks yet.