Dynamically create a movieClip and put it into a scrollPane?(urgent)
Posted on 2006-07-16
I have dynamically created a movieClip and would want to put it into a scrollPane object?
Here is the code i have written
m_oScrollPane =_root.createClassObject(ScrollPane, m_mcParent+"oScrollPane", _root.getNextHighestDepth());
m_oScrollPane._x = 0;
m_oScrollPane._y = 400;
Here i have created a Movie Clip m_mcCheckList dynamically through code
Now i want to attavh it to the scrollPane object
If i use m_oScrollPane.contentPath = "m_mcCheckList"
i get the following error
Error opening URL "file:///D|/Experios/Script%20Files/Science%20Slueths/m_mcCheckList"
Please help me attach this dynamically created movie clip to hte scroll pane
It is very urgent
Thanks in advance.