A Flash Developer Resource Site

Search:

Type: Posts; User: LukewarmSteak

Search: Search took 0.02 seconds.

  1. i was unable to use this method of reference......

    i was unable to use this method of reference... however i found a solution -
    because i was creating multiple textfields in a loop i created an array and saved them as a member of the array
    ...
  2. yes sir Ata ha'eesh but i'm not sure i...

    yes sir
    Ata ha'eesh

    but i'm not sure i understand how to use the reference...


    this.removeChild(getChildAt(getChildIndex(my_mc) - 1));

    using this how can i say after an event......
  3. great thinking however i receive an error 1119 ...

    great thinking however i receive an error 1119

    1119: Access of possibly undefined property graphics through a reference with static type flash.text:TextField.
  4. [RESOLVED] Semi-Transparent Textfield Background

    i've created a textfield dynamically and i have filled the background with a colour - however its not good enough! i want it to be semi transparent

    i've used



    my_mc.background = true;...
  5. neznein9 you were right - this did work for me...

    neznein9

    you were right - this did work for me thanks for steering me in the right direction man
    neznein9++
  6. [RESOLVED] accessing variables - dynamically - in a loop

    package {
    imports...
    public class btn3pageclass extends MovieClip
    {
    public var mc1:TextField;
    public var mc2:TextField;
    public var mc3:TextField;
    public var mc4:TextField;...
  7. holy F... you're amazing... great thinking......

    holy F... you're amazing... great thinking... ZOMPO +=1
  8. so can i not now say... ...

    so can i not now say...


    getChildByName(page+prevbutton).gotoAndPlay(1);

    ?????

    i get error:
    1061: Call to a possibly undefined method gotoAndPlay through a reference with static type...
  9. thanks... i think it worked right away... ...

    thanks... i think it worked right away...

    public var pagebtn1:btn1pageclass = new btn1pageclass();
    pagebtn1.name = "pagebtn1";
    addChild(pagebtn1);
    trace(this.getChildByName("page"+prevbutton));...
  10. that sounds reasonable thanks i'll try right now

    that sounds reasonable thanks i'll try right now
  11. trace("getchild...

    trace("getchild "+getChildByName("page"+prevbutton));

    = getchild null



    =(__
  12. Replies
    3
    Views
    10,234

    this is awesome... thanks for asking this...

    this is awesome... thanks for asking this question... this makes things a lot simpler for stopping animations on the last frame...


    if (movieclip.currentFrame == movieclip.totalFrames) {
    stop();...
  13. ... or... now that i can get the string to say...

    ... or... now that i can get the string to say pagebtn? (?=1-6), how do i convert the string into an instance definition?
  14. this defeats the purpose - my variable changes...

    this defeats the purpose - my variable changes from btn1 thru btn6 and i need to say

    lets just say...// if ["page"+variable] = pagebtn1... then i want something like this...
    ...
  15. [RESOLVED] referring to an instance with a variable??

    i can't really explain what I'm trying to do here... but here it goes
    i'm trying to access an instance by using a variable but when i try to manipulate a property to the instance (by referring to it...
  16. the idea is that i don't want them seperate......

    the idea is that i don't want them seperate... i'm trying to be able to access the same variable in both classes... but obviously i'm a fricken noob -

    i did try that once however i got some silly...
  17. [RESOLVED] trying to access variable...

    hey! i'd like to access a variable in an associated class from my Document class

    document class - (index)

    package{
    class index...{
    public static var somevar:Boolean = false;
    public...
  18. update?? solved?? i'm trying to finish my...

    update??
    solved??

    i'm trying to finish my preloader's post animation sequence - when it reaches its last frame - i want the document class to initiate "addChild" objects - either by calling a...
  19. ok so now i have a different problem with my same...

    ok so now i have a different problem with my same preloader...

    at the end of it's load i'm choosing to play a small animation that destructs the company emblem/logo of my client... how can i pause...
  20. thanks 5TonsOfFlax - you're awesome... and just...

    thanks 5TonsOfFlax - you're awesome... and just to blow some more smoke up your @$$ i've been looking at a whole bunch of your posts... you really know what you're talking about...
  21. ..

    ..
  22. I think i like the first idea, however i'm not...

    I think i like the first idea, however i'm not entirely sure how to implement the fix for the document class that i have

    i know people always refer to adding an Event.ADDED_TO_STAGE listener to...
  23. or better yet, a preloader that you can call...

    or better yet, a preloader that you can call directly from the document class repeatedly for each class containing a large movieclip that you wish to be preloaded....

    maybe something similar to......
  24. [RESOLVED] preloading 101 (for the nth time)

    hi guys i think this is my first or maybe second post... after coming to the site thousands of times i thought i'd start posting some of my probs...

    countless hours spent on googling preloading......
Results 1 to 24 of 24




Click Here to Expand Forum to Full Width

HTML5 Development Center