Skip to main content
Participant
July 9, 2007
Question

object.register

  • July 9, 2007
  • 6 replies
  • 329 views
i have got a flash file -- social.fla-- ive got a movie clip with an instance name of "kharddieSymbol" added to the stage)----this movie clip has been registered with a custom class via ---
Object.registerClass("kharddieSymbol", KharddieClass);

KharddieClass - in this movie controls the UI the client/server communication and all the functionality of the social.fla any graphic components are referenced within this class.

this social.swf works perfect on on its own.---- http://project1.ardeningari.net/baranoff/social3.html
my problem is that when i load social.swf it in another movie clip all the functions die and nothing moves.
i have tried to add this so that it inherits the MovieClip methods and properties but still no luck

kharddieClass.prototype= new MovieClip();

any help will be appreciated
This topic has been closed for replies.

6 replies

kglad
Community Expert
Community Expert
July 13, 2007
you're welcome.
kharddieAuthor
Participant
July 12, 2007
i had to redo the whole thing a fresh and for some reason every thing worked out fine thanx anyway
kglad
Community Expert
Community Expert
July 9, 2007
no, that would cause a problem when loading into another swf.

is there any code in the loaded swf that references _root?
kglad
Community Expert
Community Expert
July 9, 2007
is there a reference to the _root timeline in kharddieClass?
kharddieAuthor
Participant
July 9, 2007
no theres no reference should i put one and how???
kharddieAuthor
Participant
July 9, 2007
hey
kharddieClass is in the loading social.swf when i load this file in any other movie nothing works but on its own it works just fine
kglad
Community Expert
Community Expert
July 9, 2007
is KharddieClass in the path of the loading swf?