Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. michanagel

    combobox behavior question...

    Kenneth, which MovieClip do I need to target properly ? The combobox or the 'stage' ? As stated before the combobox is nested inside a movieclip which is nested in another movieclip, but the action script layer with code discussed is in the same movieclip as the combobox is and the path to...
  2. michanagel

    combobox behavior question...

    Kenneth, tried it, but it doesn't work... Here's the AS2 code I placed on an action script layer above the combobox layer: this.onRelease = function(){ if(_root.cb == 1){ cb_1.gotoAndPlay("s3"); } } Explanation: 1. _root.cb = 1 is the flag for the dropddown menu being rolled down 2...
  3. michanagel

    combobox behavior question...

    Kenneth, thanx for the answer - makes perfectly sense to me, gonna set a flag for the rollover/out state of the dropdown... But how do I specify (in code) 'on click on stage' ? Thanx again for your help ! Mike
  4. michanagel

    combobox behavior question...

    Hi, I designed my own combobox here since I didn't like the look of the combobox that ships with Flash and skinning didn't really work for me as well... ;) Now, everything works fine but there's one behavior that the original component combobox has that I can't seem to set up for my duplicate...
  5. michanagel

    Possible to see which country users are from ?

    Hi, I have a website here which has three language buttons, so the user can read the content in three different languages. Here's my question: Is it possible - either through flash or the html page that embeds the flash file - to see which country the user is from to show the page right from...
  6. michanagel

    Checking a variable...

    Kenneth, I don't think that's the case, because (as stated multiple times) I'm checking the other TextField with variable 'email' for it's length as well, with this condition: _parent.form.email.length<6 Now, if I don't type anything into that text field with var 'email' to it, the condition...
  7. michanagel

    Checking a variable...

    I'm sorry guys, maybe I'm just not getting it... But Kenneth showed an excerpt from the help files which explains that they don't recommend using variables... But my questions remain, how can it work for that one variable and not for the other 2 in the same if statement ? All 3 variables are...
  8. michanagel

    Checking a variable...

    Kenneth, I did not fall into that confusion, because if you read my post(s) carefully I stated twice that there are 3 variables. --> email, name_input, message_input The first one ('email') is checked 20 times (with all kind of conditions) and it all works - it is also checked with this...
  9. michanagel

    Checking a variable...

    got it working, I tested '_parent.form.name_input == 0' which didn't work. then I tested _parent.form.name_input == null --> which works ! Thanx again to everybody for your input and help !!! Mike
  10. michanagel

    Checking a variable...

    Kenneth, what do u mean ? I shouldn't use variables for text fields ? Well, I gave the text fields instance names as well and checked those and it still didn't work... also, as mentioned there are three variables (email, name_input, message_input) and one (email) is doing fine regarding all...
  11. michanagel

    Checking a variable...

    alright, i traced both just the variable and then also the 'text length' of the variable with this code: trace ("name input characters = " + _parent.form.name_input.length); trace ("message input characters = " + _parent.form.message_input.length); trace (_parent.form.name_input.text.length)...
  12. michanagel

    Checking a variable...

    Kenneth, doesn't make any sense to me, I check about 20 other conditions for another variable (email) before that always with the 'or' and not with the '||' and those work just great, but those last two conditions just won't get checked... Anyways, I tried it and unfortunately a no go... :(...
  13. michanagel

    Checking a variable...

    Hi, I've created a php email form which works fine, and I have action script attached on the 'submit' button which checks for certain values in the input fields.. There are only 3 input fields: 1. Name field - variable assigned = 'name_input' - Input text / single line 2. email field -...
  14. michanagel

    onLoadInit alternatives....

    oldnewbie, yes I do use the movieClipLoader (later in the code)... I just figure that the code I posted earlier is key for my problem, although I think the code is okay, it's just very strange that Flash sometimes does not react when certain conditions are met...
  15. michanagel

    Sound behaviour is driving me NUTS...

    No, all sounds are set to 'Event' Repeat 0...
  16. michanagel

    Sound behaviour is driving me NUTS...

    Hi, I got a WEIRD problem here that is simply driving me crazy... I have this flash movie here in AS2 exporting for Flash Player 8, 30fps... Movie starts, two soundfiles play (simply placed on the timeline) and then the movie stops at an 'Enter button'... So far so good and that's how it...
  17. michanagel

    onLoadInit alternatives....

    alright, first of all thanx for the tip for 'onLoadProgress', it kinda works but now I have a different problem... When I leave everything as is, reaching 100% and then do something it works, but for that I didn't had to change the code... What I want is to do certain actions when 80% of the...
  18. michanagel

    onLoadInit alternatives....

    Hi, I have a preloader here that works great, but I would like to change one part of the code... I am using 'onLoadInit' to declare some actions as soon as the movie is loaded, but I want those actions to start when the movie is loaded to 80 % because the movie has an intro that will gain me...
  19. michanagel

    2 Basic questions about AS2...

    Hi, my action script skills are (still) very limited and I have two basic questions because I'm kinda stuck here... 1. Is it possible to run an 'if' statement after an 'on release' statement ? e.g. on (release){ if (_root.a ==0){ play(); } } Every time I try to run code like...
  20. michanagel

    Possible to load all external .swf files at once ?

    Hi, I have a website here in AS2 which has main .swf file and 8 sub .swf files which are loaded into a container depending on which button the user presses... And I have a couple of question regarding those external sub .swf files: 1. First a general question: when a user loads the main .swf...

Part and Inventory Search

Back
Top