A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Function related question

  1. #1
    Junior Member
    Join Date
    Jan 2006
    Posts
    18

    Function related question

    Hey,

    Is there any way to know which instance has called a certain function, without passing tht instance name in the parameters of that function. For example: i have this function on root:

    function abc(){
    trace("xyz")
    }

    and I have a movie clip placed on root, instance named 'myClip', and in that movie clip, i have written:

    _parent.abc();

    Now is there some way that 'abc' could know or provide the instance name 'myClip' without sending/recieving any parameter from 'myClip' or 'abc()' (like _parent.abc(this) or abc(thisClip:MovieClip))

    Best Regards

  2. #2
    ___________________
    Join Date
    May 2004
    Posts
    3,174
    no

  3. #3
    Junior Member
    Join Date
    Jan 2006
    Posts
    18
    k thanks

  4. #4
    ___________________
    Join Date
    May 2004
    Posts
    3,174
    good question tho

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