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!

Recent content by michanagel

  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...

Part and Inventory Search

Back
Top