A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: component skin in child swf

  1. #1
    Junior Member
    Join Date
    Sep 2009
    Posts
    16

    component skin in child swf

    MOVED TO AS3 FORUM!

    I have an elearning course, a .swf, that loads multiple .swfs as the user progresses through the course. At the end, there is a quiz.

    The quiz.swf uses the radiobutton component. I have developed some custom skins to use on the radiobutton component. I have figured out that:

    1. I have to add an instance of a radiobutton in the main .swf for the radiobuttons in the quiz .swf to show.
    2. I have to copy the radiobutton intance from the quiz swf library to the main swf library if I want my custom skins to show in the quiz swf


    While, this works fine. It is not practical. I want the quiz.swf to more modular. So I can pop it in to any course and not have to go back in and add the radiobutton skins to each course.

    Does anyone know of a way around this?

    Thanks!
    Last edited by cmay@coke; 02-13-2010 at 01:11 PM. Reason: moved to AS3

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    put the movieclip containing the radio buttons in a new .fla, and load it whenever you need radio buttons?

    gparis

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center