Forum Array

ActionScript 2.0 :: Populate Combo Box Values Using Another Combo Box Instance

I have two combo boxes. The first combo box's data is added through an XMLConnector object, the second combo box, I would like to populate through an on (change) event in the first combo box. The items in the second combo box would relate to the selection made in the first combo box. I have attempted the following within the Actions for the first combo box: on(change) { switch(this.value) { case "value1": comboBox2.addItem({Label:"Label",Data:"Data"}); break; } // end switch } // end event which is not working. should an event be dispatched by comboBox1 and a listener be attached to comboBox2? I can't find any examples of this on the internet.. but i might be using the wrong search terms.

View Answers

Very Similar Questions

Take Values From DB To Combo Box
www.daniweb.com
I need to get the itemId's from the Database to a combo box where the combo box will increase according to the new values. I wrote a code like this [code]... With that I could have taken the item id and the other necessary values displayed according to the id.But the problem is even though it displayed correct values ,always the item id which is selected is the first one.So I cant do any update with it,because it will update only the 1st record in the DB table since update query is working according to the itemId.How should I change the code to get the correct item id selected with its values displayed in the form where I can edit and update it.

Minipulating Combo Box Values
phpbuilder.com
I am working on a form and would like to minipulate the selected list item in a combo box. I am taking values from a record in MySQL and filling in form fields. Can I access the combo box like in JavaScript where you can do it like the following: document.myform.combo1.value="myvalue" or do I have to code the whole combobox in php like the following (I would really like to avoid it): *HTML Tags May Be A Little Off - Example Only. Code:

Get Values From Multiple Combo Box?
www.sitepoint.com
I don't know what is wrong with my code. I am creating multiple combo box based on the the resultset of my database. However, I don't know how the the value being selected...I create the object as [Code]...

Changing Second Drop Down Box Value According To Selection In First Drop Down Box
forums.asp.net
i have two drop down boxes where i would like to link first with second. i am new to website development. how to do it. i tried to pass first drop down box value in to parameter but i am unable to do it. i dont know where i am doing the mistake.

Combo Box, Textbox And Command Button In A Dictionary
www.codeguru.com
hello!!! it seems the adodb im working w/ is now working... i had my combo box object, a textbox and a command button. The adodb that i'm asking you a while ago, is now working with the codes below. it was already linked w/ the database. My table name is dictionary, the filename is terms.mdb, the fields inside the dictionary table are as follows: word, meaning, usage, origin, pronunciation. The output that i would like to be is: in the combo box, the user could found there the fieldnames of my database such as, word,meaning, usage, origin, pronunciation. With the keyword he/she input in the textbox (e.g. "act"), then all the words that has the word "act" will come out regardless of where it is placed, middle, beginning, or end of that word. I hope this could help u understand better what i meant to say....Tnx for ur effort and for showing interest about this probz... u'r such a nice person !!!! Private Sub Combo1_DropDown()Dim cn As ADODB.ConnectionDim rs As ADODB.RecordsetSet cn = New ADODB.Connection Set rs = New ADODB.Recordset cn.Provider = "Microsoft.Jet.Oledb.4.0"cn.Open App.Path & " erms.mdb" If cn.State = adStateOpen Then Set rs = New ADODB.Recordset rs.Open "Select dictionary.word from dictionary order by word", cn, adlockoptimistc End IfCombo1.Clear rs.Requery Do While Not rs.EOF Combo1.AddItem rs![word] rs.MoveNext LoopEnd Sub

ActionScript 2.0 :: Twitter Box For Flash Websites?
board.flashkit.com
Is it possible to put a Twitter box on a Flash site? I'm using Action script 2.

Web Forms :: List Box Value Is Not Populated And Reflected In Code Behind With JavaScript
forums.asp.net
I have a listbox that I am populating at runtime with javascript. After the listbox is populated I am using a button to get that value. on button click when I am trying to get the value it is the listbox item count is 0, Can anyone tell what's wrong after t he javascript populates the code,I have written the code in button click : for (int i = 0; listbox1.Items.Count - 1; i++) { string s = listbox1.Items[i].ToString(); } the value of count is showing as 0, though it has the values populated. What I am missing ?

Making Certain Items In A Combo Box Bold
www.vbcity.com
What I am trying to achieve an effect on a combo box with similar functionality of that of in the code window in Visual basic. When you have a control selected it loads the events combo with the appropriate events. If an event has code behind it, the item is bold in the list. If there is no code behind it, the text is in a regular font. My assumption is that there is an API call(s) to achieve this. Thanks in advance for your help. Luber25

How To Get Dropdownlist Box Value To The Controller Using Mvc
stackoverflow.com
I have this code in my view.. <%=Html.DropDownList("ProductTemplate",new SelectList(Model.ProductTemplate,"Value","Text"))%> I know if this dropdownlist box is in between BeginForm submit I can able to access the value in Controller using collection["ProductTemplate"]; if it is not in my beginForm still I can able to access this selected value in controller?

How To Get Text Value Of Dropdown List Box By Passing Index Value
forums.asp.net
how to get text value of dropdown list box by its index. i want to read the ddlproject.selectedindex = 0's text and assign it to a variable strProject.

Passing Text Box Values To Excel Spreadsheet On Cmd Button Press
www.vbcity.com
I have a text box who's value is increased (or decreased depending on which of 2 cmd buttons is pressed, button 1 is the increase button button 2 is the decrease button). My problem is I don't know how to pass the value in the text box to an Excel spead sheet. I'm sure that this is a newbie question but I haven't found an answer to it anywhere yet. If the question requires any additional info I would be glad to provide it, but I have a feeling that it is too simple of a question to need much info. Thank You  

Security :: Populate A Text Box In CreateUserWizard?
forums.asp.net
I have the following CreateUserWizard control that has 3 steps in it. Step 1: WizardStepLoginName Step 2: WizardStep2 Step 3: CreateUserWizardStep1 In step 1, the user will check to see if the username is available.  If so, when the control gets to Step3, I want to have the text that is in the WizardStepLoginName txtLogin textbox to automatically populate the "UserName" textbox in the CreateUserWizardStep1 step. <asp:CreateUserWizard ID="CreateUserWizard1" runat="server" BackColor="#FFFBD6" BorderColor="#FFDFAD" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="10pt" Width="500px" ActiveStepIndex="3"> [code]...

AJAX :: AutoCompleteExtender Key Value In Text Box?
forums.asp.net
I am using ASP.NET 3.5...I have a text box where I am using the AutoCompleteExtender for search. When user enter the key the serach shows the "ProjectNumber-ProjectName" in the search result....after selecting any of this...only ProjectNumber is entered in the textbox (I am using hidden control to store key values)...everything works fine till here.Now I have a problem with values stored in the hidden control...for example in the text box there are three ProjectNumbers ..A,B,C....now I go ahead and delete all these three and enter the key word again...the search work fine but when I select any value the Text box is populated with old value (coming from hidden control) like A,B,C and then new value D Please suggest me how I can assign the hidden text box value with the new text box values after the selection is done... function KeySelected(source, eventArgs) {             var labelVal = document.getElementById('<%=this.Hidden1.ClientID%>').value;           var userValues = ""; [code]...

Ticking A Check Box Based On A Value From A Record
bytes.com
I am retreiving records into a table (part of the code below) <td width="20%" class="BodyText"><span class="style38"><?php echo $commindex; ?></span></td> <td width="10%" class="BodyText"><span class="style38"><?php echo $username; ?></span></td> <td width="45%" class="BodyText"><span class="style38"><?php echo $comment; ?></span></td> <td width="10%" class="BodyText"><span class="greenbody"> <input name="checkbox2" type="checkbox" value="<?php echo <td width="20%" class="BodyText"><span class="style38"><?php echo $commindex; ?></span></td> <td width="10%" class="BodyText"><span class="style38"><?php echo $username; ?></span></td> <td width="45%" class="BodyText"><span class="style38"><?php echo $comment; ?></span></td> <td width="10%" class="BodyText"><span class="greenbody"> <input name="checkbox2" type="checkbox" value="<?php echo $available; ?>" MYFUNCTIONHERE> </span></td>; ?>"> </span></td> The last cell contains a check box, its value is set to $available. which is a value of 1 or 0. Trouble is I want the check box to be ticked if the value is 1 and unticked if the value is 0 I thought of using a function such as function checked($avail) { if ($avail = $available) { return 'checked' } } after the value part of the code (where I have written MYFUNCTIONHERE) which would put the work 'checked' in the appropriate place but my inexperience means I cant get the syntax correct

Jquery :: Show Select Box Value Based Anchor Clicked
stackoverflow.com
Jquery change the select box value based on anchor clicked I can change the value of the actually select box $("#id-for-select").val(2) but not the result of selecting that value (what happens when the value is selected) as if it was clicked by hand In my case I'm trying to change the dates on a calendar from [URL] I'm only able to change the value of the month select box from a anchor but not able to get the corresponding dates for that month since it wasn't actually clicked from the drop down. Any way I can keep the dates corresponding with the month value in the select box?

Jquery :: Form Got Submitted When Hit Enter On Select Value In Autocomplete Box
forum.jquery.com
In my application,there are several autocomplte field is available.When I type "pank" and then it list out the several matching in the autocomplete field and select one and then hit the enter then it submitted the entire form, which will cause the error message. Because there are several more mandatory field are there, which i need to fill up.I was trying to restrict in this way, but i believe this is the wrong way.

Saving A Picture Box Using A Command Button
www.vbforums.com
I was just wondering how I would go about implementing a sub program which at the click of a button would save a picture box displaying data and then at the click of another button, would display that saved informationany help is appreciated

Printing Text In A Text Box Using Command Button
www.xtremevbtalk.com
I don't know how to insert a command button to print the text in a text box. Could someone please help me out? Thx heaps

Creating Rows Of Labes And Texboxes In A Form By Using Input Box OR Command Button
www.vbforums.com
hello there... i'm in a deep deep trouble here and i need help very much... my problem is... i want to create a form (in VB 6) the allows user to add as many name and contact details in a from based on input box.the procedure is;first, an input box will appear prompting user to keyin the amout of name that he want to add (e.g 20). then, the form will appear showing 20 Textbox complete with numbered label (somewhat like this)NO NAME CONTACT NO EMAIL ID NO01 |Textbox | |Textbox | |Textbox | |Textbox |02 |Textbox | |Textbox | |Textbox | |Textbox |03 |Textbox | |Textbox | |Textbox | |Textbox |:::20 |Textbox | |Textbox | |Textbox | |Textbox |and if the user key in 70, 70 rows of textboxes and labels will appear and so on. And also, how to ensure that every information that is entered here is saved in a database (MS Access database)?OR:I've pre-create 5 rows of textboxes with labels like above. And now, everytime the user wants to add more name and details, all they had to do is to click a command button (sounds more practical isn't it?), a new row will appear together with the numbered label. (izzit possible to do something like this???)can someone help me with this? i hope i've described the problem clear enough. BILLIONS of thanks for anyone who can help me and you cant imagine how grateful i am for your help.

AutoSum Text Box Values In A Separate Text Box?
bytes.com
I'm developing an ASP.NET web page, which includes three text boxes for users to enter customer revenues. I want to code a formula such that the value in the Total Revenue text box (txtRev_Expr_Tot) equals the sum of values entered in the Current Revenue (txtRev_Expr_Curr) and Incremental Revenue (txtRev_Expr_Incr) text boxes. I also want the Total box to update in OnLostFocus events from the other two boxes.

Web Forms :: Selecting A Value In A Drop Down Box And Then Populating 2 Fields Based On Value
forums.asp.net
What is the best way to do the above?  Basically i have a drop down list box with a list of names pulled from a database.  When someone selects a name i would then like to populate two further boxes with the persons Login ID and Email address which are held on the same DB.  I have currently been using Combox1_selected index change and then running a select query on the database to fill in the other fields - unfortuntly this is too slow.  There must be a better way then this?  I will also need to put the values in a DB in a later stage so will need to be able to retrieve these values. As an infopath developer this can be done easily on InfoPath using a filter - is there anything similar in ASP.net

Forms Data Controls :: Populating Dropdown Box With XML Data Filtered From Another Dropdown Box?
forums.asp.net
I've currently got a form with two dropdown boxes on, and an XML file sitting on the site. My two drop down boxes are Location and Date and what i'm trying to do it get the Location box to filter the XML and put the dates in the Date dropdown box. I'm using C#. Unfortunatly, its not working. My code is: [Code].... and my XML is like this: [Code].... why my dropdown boxes are not being populated?

Using JSON With .NET ASP.NET 2.0?
stackoverflow.com
I'm trying to understand how to actually use, and create JSON data. StringBuilder sb = new StringBuilder(); StringWriter sw = new StringWriter(sb); using (JsonWriter jsonWriter = new JsonTextWriter(sw)) [code].... and I am sure it does... but how do I view it? How do I turn that into an object that the browser can output.It seems to me that the first stage I need to resolve is "how to create" JSON files/strings, next stage will be how to actually use them. If it helps answer the question, what I'm aiming for initially is to be able to use AJAX Autocomplete from a search page generated from my MySQL database, I was hoping I could write a simple SQL query and have that returned using something similar to the above?

Defined Name Edit Box
www.excelforum.com
The edit box used to make or edit ranges for Defined Names is VERY difficult to use for long char strings. The arrow keys do not move the cursor within the edit box & the end key does not work. How to edit range names that are 100-200 characters long? Are there settings to alter behavior of arrow keys withing these "range definition boxes"?

Prevent Window For Scrolling After Div Box Scrolling?
stackoverflow.com
I have a small div box that has a vertical scroll bar and sits within an html page that also has a vertical scroll bar. My problem is when the user reaches the end of the small DIV box scrolling, the ENTIRE html page that contains the div box then begins to scroll (assuming the user is scrolling via the mouse scroll and NOT by actually clicking the DIV box scroll buttons themselves) is there a way to prevent the entire html page from scrolling once a user reaches in end of my small DIV box scroll? I have tried this (but it cancels scrolling for even the div box): if (window.addEventListener) /** DOMMouseScroll is for mozilla. */ window.addEventListener('DOMMouseScroll', handleWheelEvent, false); /** IE/Opera. */ window.onmousewheel = document.onmousewheel = handleWheelEvent; function handleWheelEvent(e){ e.preventDefault(); }

Link Two Text Boxes Like In Quark?
www.photoshopforums.com
link two text boxes in photoshop like you do in quark?

Combo To Link Table
www.access-programmers.co.uk
Hi.. i have a combo1(InvoiceNo) that look up the values in a table, (there are invoices numbers on it) In the Invoices table i have InvoiceNo (that is the key) and other fields like InvoiceCity, SaleDate, etc I need to store the current date in Invoices.SaleDate = now() in Invoices table that matches with the combo1. The Form has as RecordSource, Customers Table Any tip or hint???

Command Button Not Enabling On List Box Click
www.xtremevbtalk.com
Hello again everyone,Can someone help me out here. Excel 2002/vba 6. I have a form with a list box and a few command buttons. On initialization of the form I disable the "Make Table" button because I don't want the users clicking it until they have selected items from the list box. They are supposed to select items in the list box then press the button.In the listbox click event, I have this code Code:Private Sub lstbTestMeth_Click()cmdMakeTable.Enabled = TrueEnd Sub however, when you click in the listbox, the button is not enabled for some reason. Any clues why this is not working? All info I have looked up indicate that setting enabled to true should bring the button back. The button is not locked either. Maybe I've got the code in the wrong event? Thanks, Hilfy

Clicking On A Command Button To Display Something In A Text Box
www.vbforums.com
Back to VB basics here, but as usual I'm stuck on something simple!If Index = 0 Then txtWhatever.Text = "Newcastle" And txtWhatever.BackColor = &HFFC0C0The Bac Color absolutely refuses to change, I can take out the code from And onwards which does display 'Whatever' in the box but I can't get it to change the colour as well. Any ideas anyone? Thanks

Picture Box / Command Button
www.vbforums.com
I'm using a form that was generated by the Data Form wizard. At the bottom, there is a row of buttons (Update, Cancel, Delete, etc). I need to add a button. But dragging and dropping a command button doesn't seem to put the button inside the object in which the rest of the buttons are housed. This object is given as a picture box. I looked up picture boxes in my book and it's all about pictures and animation. How can I add a function button to my generated form?Robert

Text Box And Command Button
www.vbforums.com
I have a text box which permits user to enter number upto 9 digits. The first 2 digits are always 25. So I am looking for a way to show the first 2 digits as 25 proteceted the rest are user enterable. I do not want to split the text box into 2 text box. Is there a way?How to make a Fancy Command Button in VB Form?

Command Button/Text Box
www.vbforums.com
ok.once i figured out that the last code i got wouldnt work because im trying to make a html creator and the files always arent going to be the same.can you help me put text anywhere without this.VB Code:Private Sub Command1_Click()      Dim How_Many_Spaces As Long          How_Many_Spaces = 10      Text1.Text = Space(How_Many_Spaces) & "Hey" End Sub

Command Button/Text Box
www.vbforums.com
how do i make a command button pick from mutliple points in a textbox to insert a word.

Command Button That Can Pop Up A Text Box
www.vbcity.com
Hi,Can anyone tell me what I should add in VB coding to make sure a command button that can pop up a text box for user to fill in their comment?Thanks..

Put Cursor In Text Box From Command Button
www.xtremevbtalk.com
Good Morning Forum.I have a form with two text boxes and one command button. The user enter text in both of the text boxes and then clicks on the command button to save the text to a disk file. What I need to do is move the cursor to the first text box after the button is clicked. How is the best way to do this?Thanks-Sweidman

Adding An HTML Link To An About Box, Or Other Form
www.codeguru.com
I would like to add an HTML link to an about box, so the user can click on it, launchwhatever their default browser is, and go to the urlprovided by me.The examples I've seen in this forum don't show how to make a Clickable Link on a form, only how to call IE via Shell, or send mail. I'm sure I didn't look for the correct terms, but I'm not sure what else to use for search criterai.Would someone point me to or post an example on how to make a clickable link launch the default webrowesr ?thanks

Adding Picture "Link" To Text Box
www.xtremevbtalk.com
I have a question for those who have been really working with pictures or photos.I have a form with a large textbox in the middle of the form. I am trying (maybe impossible) to add a picture "Link" to the text.What I am trying to do is put a marker that describes the picture in the text and then if the user click on the "Link" to have a pop-up form that displays the picture.I have the program set to print the text and would also like to be able (at the user's option) to print the picture in place of the "Link" in the textbox.Am I dreaming of something that is not possible or does anyone have any suggestions about how this can be done.Thank you,Jenn

Sony Ericsson Xperia X10 : A Tick Appears In Dialog Box / When Send Text Messages
talk.sonyericsson.com
I've upgraded my software and have no problems with my phone, but now when I send a text message a tick appears in the dialog box. When I first got my phone I was being charged for text notification from orange so I'm just wondering if this tick has something to do with that? If so, how do I turn them off?

ActionScript 2.0 :: CS3 - How To Compare The Dates
board.flashkit.com
How does one Compare Dates, as in If (sampleDate is before TodaysDate) { do something }elseif (sampleDate is after TodaysDate) { do something else }

ActionScript 2.0 :: Can't Compare Dates In Array
www.actionscript.org
I have a small problem with my script, and its due to the dates in the array. I have tried writing the dates in a different way, and that works well. However I need the dates as they are now, because of an other function later on.[code]...

ActionScript 2.0 :: Adding Custom Class To Object?
www.kirupa.com
For the game I am making, I'm using a self-made sprite managing system.I've got three classes: SpritesManager, SpriteGroup extends Movieclip and Sprite extends Movieclip.The idea is: SpritesManager is holding an object: "mainSprites", SpritesManager also hasa method "newGroup", wich creates a new SpriteGroup in mainSprites.In this way I want to make a system for creating and managing some sort of Movieclip-tree.For example:mainSprites.enemies.badEnemyThe method newGroup in SpritesManager has a param "name" wich is the name of the SpriteGroup to create.Here's where I'm stuck: how do I create a new SpriteGroup referenced to as "name" in mainSprites?

ActionScript 2.0 :: Adding Custom Class To Object
www.kirupa.com
For the game I am making, I'm using a self-made sprite managing system. I've got three classes: SpritesManager, SpriteGroup extends Movieclip and Sprite extends Movieclip. The idea is: SpritesManager is holding an object: "mainSprites", SpritesManager also has a method "newGroup", wich creates a new SpriteGroup in mainSprites. In this way I want to make a system for creating and managing some sort of Movieclip-tree. For example: mainSprites.enemies.badEnemy The method newGroup in SpritesManager has a param "name" which is the name of the SpriteGroup to create. How do I create a new SpriteGroup referenced to as "name" in mainSprites?

ActionScript 2.0 :: Pull Data From JSON In It?
www.actionscript.org
I am currently designing a set of actionscript charts for my company's website. For the set of charts I have set up right now I'm reading all the data from FlashVars, but as you could guess that's not a very good format for charts... I'd prefer to use a JSON array of values, now my question is: Where should I go to start learning about reading from JSON is AS2? I'll hit the books, of course, but this forum is always good when I need to get some advice to dive right in to an urgent project

ActionScript 2.0 :: Loading Data From JSON
www.actionscript.org
does anybody have any experience with using the JSON class from JSON.org to load JSON data into Actionscript 2?

ActionScript 2.0 :: Read Flash Cookies With Json?
www.actionscript.org
I made a flash cookie[code]... my question is how can i use Java Script to read the flash cookie?

ActionScript 2.0 :: Unexpected '.' Encountered
www.actionscript.org
i found out that iused delete.this.onRollOver, insteadof delete this.onRollOver.i found out that the panel is as good asawesome, but how do i make it that when i roll over one of the thmbnails a lager image shows up?here's the code ActionScript Code: //create a roll over function for our panel panel.onRollOver = panelOver;[code]....

ActionScript 3.0 :: Difficulty Accessing JSON Values Of Elements
www.actionscript.org
I am working on a information visualization project that involves visualizing json data from online forums. The problem that I'm having is that I'm not able to access all of the values of elements the json. Here is my Schema: [{"course": "compsci 101", "forums": { "forum": { "forum_title": "Week 11 - Cable and the Specialization of Television", "forum_word_count": "1000", [Code] ..... I tested and the json is valid but when I run it with this code it only is able to pull the last value (Week 2 Discussion 1 - Cable and Broadcast Television). for (key in tuples) { trace("forum title: "+ tuples[key].forums.forum.forum_title); } So, my question is, why isn't it tracing all of the values for the forum title? and what do I need to change to access those values?

Actionscript 3 :: Populate New MovieClip() With JSON Object Properties
stackoverflow.com
I have saved out an object using JSON.encode to a text file, is it possible to then create a new MovieClip and populate it with all of the properties from the saved file? If so how would it be done, or is there a better way

ActionScript 2.0 :: Getting Json Data With A Useragent From Server
www.actionscript.org
sendInfo = new LoadVars(); sendInfo.addRequestHeader("User-Agent", "myagent"); sendInfo.onLoad = function() { trace(sendInfo.loaded): }; sendInfo.load("url");//for getting JSON data My Result is false and the firefox browser is still loading data from server. how to use useragent in actionscript2 and also how to get json data. I don't know is it json data problem or another

ActionScript 2.0 :: Send JSON With LoadVars?
www.actionscript.org
I am trying to make a simple POST using LoadVars. Since I am using an API there are some limitations though. The request must be send via POST with a JSON header. The body of the request should not contain name value pairs, but rather just a JSON object. This last requirement has been troublesome for me because it seems like the only way to make a POST with LoadVars requires you to specify a variable name. [Code]...

ActionScript 2.0 :: Load Movie And Pass The Variables Needed From The Main Movie
www.kirupa.com
I'm trying to do a demo with a fastforward button and a rewind button that will go to the next scene and previous scene...however, due to the format that my predecessor created used...I'm stuck with alot of scenes. The navbar (ff and rewind buttons) is in a .swf file called main. The actual demo is in demo3.swf. I created a loader scene to redirect to the correct scene (when ff and rewind are hit), but I'm not sure how to pass the variables needed from the main movie.

ActionScript 2.0 :: Pass Variables Between Different Movie Clips (.swf's) On Main Movie
www.kirupa.com
Make things very simple, I need to pass variables between different movie clips (.swf's) on my main movie. It seems as tho my variables are only local, not global, i just need to know how to initialize global variables, and how to use the global variables in my other swf's.

ActionScript 2.0 :: What Does Prototyping A Function Do
www.kirupa.com
What does prototyping a function do?i got this from the tile based games site. game.Tile0 = function () { }; game.Tile0.prototype.walkable = true; game.Tile0.prototype.frame = 1;[code]....

ActionScript 2.0 :: Color Object Prototyping?
www.kirupa.com
i've been using a MovieClip prototype to create and set a color object, like this: MovieClip.prototype.setRGB=function(hex){ (new Color(this)).setRGB(hex); //creates color object + sets color } which makes it easy to change a MC's color like this: MC.setRGB(0x00ff00); now i'm working in AS 2.0, which seems to discourage using prototyping and extending the MC class methods--so my question is, what is the best approach for doing this in AS 2? i've created a new class to handle it, but it seems clunky to have to call an instance rather than having a MC call an internal method...the bottom line, is: is it ok to extend the MovieClip class in AS2, and if not, what's the cleanest approach?

ActionScript 2.0 :: Custom Class Event Prototyping
www.kirupa.com
Ive been having a problem with a MovieClip prototype. The code i used is below - the problem being that the onLoad event never happens.If i change the onLoad event to apply to the MovieClip class and not the PlaylistItem class then the event fires fine.[code]

ActionScript 2.0 :: Custom Class Event Prototyping?
www.kirupa.com
Ive been having a problem with a MovieClip prototype. The code i used is below - the problem being that the onLoad event never happens.If i change the onLoad event to apply to the MovieClip class and not the PlaylistItem class then the event fires fine. //constructor PlaylistItem = function(){} //inherit from MovieClip PlaylistItem.prototype = new MovieClip(); [code]....

ActionScript 2.0 :: Web Services Connector Only Works In Flash Player 7
www.kirupa.com
I am using the web services connector but it only works if I set the publish settings to compile for Flash Player 7 or above and I need my movie to run on version 6. The web services connector should work from version 6 and I have used it before and published for v6 but for some reason the movie will publish without an error but the web service won't trigger. If I change the settings to publish for version 7 or 8 then it works fine. Here's my code if it's any help: ActionScript Code: import mx.data.components.WebServiceConnector; var webServiceURL:String = "http://myurl.com"; var wSCheckConnection:Object = new Object(); [Code].....

ActionScript 2.0 :: Load Twitter 'update' Into Flash
board.flashkit.com
I'm trying to pull a Twitter text based update in to Flash using actionscript 2.0 I have php pull the twitter like so and php works just fine: Code: <?php require_once( './my_twitter.php' ); $twitter = new MyTwitter('xxxx', 'xxxxxx'); [Code].....

Web Forms :: Add Hardcoded Listitems To Dropdownlist Box?
forums.asp.net
I have the following ddl control within datagrid: <FooterTemplate> <asp:DropDownList id="milestone_add" CssClass="TextBoxes" runat="server"> </asp:DropDownList> </FooterTemplate> How to add list items "yes" , "no"

ActionScript 2.0 :: RSS Feed Into Flash
www.actionscript.org
pull some simple text from an external website's RSS feed into a basic text box in a Flash movie. It would need to be in AS2 to fit with the website. The RSS feed is on a PHP page: [URL] I understand I need to pull the content via an xml / php page under my own domain in order to get around the Flash security, but I still can't scrape together the right code for it to work.

ActionScript 2.0 :: Flash8 RSS Feed Into Flash?
board.flashkit.com
setting up an RSS feed into my flash site. I've been trying to work with the code below, but when it displays the code includes all the HTML code of the RSS feed (ie image and link tags). I'd also like it to scroll. Code (AS2): Code: // create a new XML object var feed:XML = new XML(); [Code].....

ActionScript 2.0 :: RSS Feed Widget In Flash
board.flashkit.com
I've created this code for an RSS Feed Widget I would like to post on a site. the Widget will pull info from various sites. The code is built on Adobe CS4. When testing I don not get any errors, however, it does not display any information either. Code: var widget //Widget; var rss; var textfield:TextField; addEventListener("widget-loaded",onWidgetLoaded); function onWidgetResize( evt:Event ):void [Code] .....

Poor Up/down Speeds (KeyWeb - Dedicated Box)
www.webhostingtalk.com
I have been lurker for long time already but now decided to ask this question I have been wondering about past few months. I rent an dedicated server from KeyWeb, with dedicated 100mbps link. The server itself isn't that good & fast, but it's just perfect for my gaming server (E4500, 2GB DDR-2 ram and 2 x 320GB sata 2 drives) Now to the problem. Always when I download some big files with this server from ftp or html server, and if I only open one connection, speed is very poor... Like 1MB/s or so, but if I use some download manager or torrent client which opens more than just one connection, +10 or so... Then the speed is very good, sometimes it goes up to 15MB/s. The server is actually connected to 1gbps switch but I think the port is limited to 100mbps. At speedtest (dot) net, I get results like 17mbps down and 8mbps down. So... Is that normal or is there something wrong? I've not contacted them yet, but if this isn't normal. I will Ofcourse I'll try to solve this on my own. and before someone asks if this ftp I'm downloading from is not fast enough... I can tell you, it's. I downloaded one big file from it at school and at max speed was about 9MB/s

Web Forms :: Set Define Region Boxes In Mainpage?
forums.asp.net
I am trying to create a main page for my website. However I would like to incorporate different boxed regions on the front page like the main page of ASP.net (www.asp.net) . Where they have boxed regions for Welcome, News, Feature Ads, Latest Blogs, Articles of the Day, etc. 

Gridview Not Populating Using VS 2005
www.vbforums.com
I am using VS2005 I am using this code to populate gridview, there is no error but gridview is not populating. Dim strConn1 As String = "Data Source=localhost;MultipleActiveResultSets=True;Initial Catalog=abc;User ID=sa;Password=sandy" Dim conn1 As SqlConnection = New SqlConnection(strConn1) conn1.Open() Dim ds As New Data.DataSet() Dim da As SqlDataAdapter = New SqlDataAdapter("SELECT * FROM xyz WHERE ItemId ='1.4.1'", conn1) da.Fill(ds) GridView1.DataSource = ds GridView1.DataBind()

Web Forms :: How To Change Language When Got Focus To Text Box
forums.asp.net
i have 2 Text-box in my web form. when i got focus to textbox1 - i want that the language will be hebrew  and when i got focus to textbox2 - i want that the language will be english how to do it ?

MVC :: Checkbox To Dynamically Disable Text Box?
forums.asp.net
I'm trying to have a checkbox disable and enable a textbox, within a strongly typed viewmodel. [Code].... I couldn't find any way to make a checking the nine2five checkbox to disable the startTime and endTime textboxes (and set values to 9 and 5 appropriately).

Web Forms :: Set Text Box Height According To (table Column) Text
forums.asp.net
I have a multiline text box on page which has style "overflow: hidden" to hide the scroll bar. I want to set the vertical hight of that text box at runtime according to the string coming from table column. Is there any way of doing it? I have tried to put the text in array but its not working.... Dim myParas As Object myParas = Split(TextBox2.Text, vbNewLine) ln = UBound(myParas) + 1 TextBox2.Height = 22 * ln

Web Forms :: How To Add The Last Item On The List Box
forums.asp.net
i'm dealing with a problem where i manage to get all the related data and put it into an arraylist, after that i also manage to display it in a list box.. but, now i was ask to add 30 minutes to all the data in the list box.. how can i do that?? the code i'm using only allow me to add the last item on the list box, other data it will ignore.

Web Forms :: Dropdown List Box - Selecting 5th Item It Going To First
forums.asp.net
i have used one drop down list box...in that ....whn i m running web applicaiton i need to stick the value which i m selected for the movement upto i select the next choice. it is always going to the first value always. i have 40 items in my drop down. whn i select the 5TH item after selecting 5th item it going to first item.

Web Forms :: Same Control Under Each Item Of Check Box List
forums.asp.net
my form requirement is i have a checkboxlist control aching,cramping, pain are the checkboxlist items under checkboxlist i need another checkboxlist whose items(arms, legs, thighs,buttocks) are same for all the items in first check box when i select an item in 1st checkboxlist the i should get the 2nd checkboxlist ,and the values have to be specific for each item in 1st checkboxlist

Forms Data Controls :: How To Find Out The Focused Text Box Id In Gridview
forums.asp.net
I am using gridview controll in asp.net. I  dynamically kept text box in all cells and I set text box readonly property as true.  I want to find out the focused text box id. I have to populate  some dynamic valuese into selected text box.

Profit Calculator - Make A Form That Subtracts And Adds Numbers From 3 Different Box's Into A New Box?
www.daniweb.com
how to make a php form that subtracts and adds numbers from 3 different box's into a new box.. abit like this... box 1: 10 box 2 adds: 1 box 3 minus: 5 Result: 6

Move Items From One List Box To Another
forums.devshed.com
I have a form populated by PHP and MySql and I am trying to get the values returned. I have amanged to be able to move the items from one list box to another and get the values of the second list box. What I need now is the values of the items added to the second list box and the values of the items removed from the second list box. The website is currently under development on my local server but if you need to see it running LIVE, let me know and I will upload what I have currently. [Code]...

Move Items Between 2 List Boxes?
www.webdeveloper.com
I have created a form with 2 list boxes and coded to allow a user to move items from one list box across to another. What I need to do now is 1. to send the completed right list to a php page for database updating. 2. be able to have up to 3 list box sets on one page and reference each individually. i.e one for parent categories, one for child categories and one for products belonging to this category. the page is located at [URL] the code is as follows Code: <HEAD> <SCRIPT LANGUAGE="JavaScript"> function move(frombox, tobox) { var arrFrombox = new Array(); [Code]....

Jquery :: Animate Width Of A Box Towards Left?
stackoverflow.com
I have a div box <div style="width: 400px; height: 400px; position: absolute; left: 350px; top: 350px; background-color: #cdcdcd;"></div> i can easily animate its width towards right side (left edge will be on fixed position). How to fix the right edge of the box and animate its width towards left??? i.e. box will expand towards left side.

How To Automatically Display From A List Box?
bytes.com
I am working on a PHP/HTML form which supports End User queries. I need the user to select a combination of Airline and corresponding place of Origin. i,e Delta - Madison, Dallas, Atlanta KLM - Amsterdam, Houston, Detroit Brit - New York, London, Seattle I have a list of Airlines in a list box. The moment the user selects an Airline(Delta) from the List box, the list box below it needs to have (Dallas, Atlanta, Madison) as its options. How is this done? How do I use a listbox selection as a trigger an automatically start the next activity?

Drop Down Option Box Not Displaying Items?
www.daniweb.com
I am having trouble displaying the item listed in my drop box. It is not showing up anything. The list is blank. I don't know what the problem is. At first I thought it was because of an undefine varialbe, I learned that was not the reason my list is not displaying. <?php // manage colors // pull associated color/products and display them // give ability to delete associations and add [Code].....

Simulating Mouse Clicks/rtf Box Supporting Doc
www.vbforums.com
hi all,2 short questions.1) how can i simulate mouse clicks in VB2) i need some component say like the rtf box which also supports word documents(*.doc). the user will only select/view the document, also word may not necessarily be installed on the client machine. any freeware doc to rtf convertors????Thanks in advanceSatyajeet

Jquery :: Select Box With 50+ Word Select
stackoverflow.com
I have a number of subtopics I would like to select using a select / dropdown box. The problem I have is that each subtopic is 30-50 words long. Does anyone know of any way that I can have multi-line selects within a select box? Right now I can show the select but because of my page size I have some data trucated.

Pressing The Enter Key Submit Page More Than Once - Both Alert Popup Boxes Appear
www.daniweb.com
Pressing the enter key of the following page (created by JSP) submit page more than once. Both alert popup boxes appear as expected: However, then this alert appear again, which is unexpected: But alert('alarmgroup ' + alarmgroup + ' rowsPerPage ' + rowsPerPage); do not appear.

JQuery :: Default Text On Empty Text Box
stackoverflow.com
I have a email form text box that while it is empty I would like it to have the value "E-Mail" And when you click on it the text goes away. If someone clicks on it and doesn't enter text. on Blur I would like for it to return to having the default text.I have been trying a few things but nothing is working.

The Check Box As Default Is Unchecked And When Checked Validates A Text Area For Text
www.sitepoint.com
Im trying to nut out a check box validation The goal- the check box as default is unchecked and when checked validates a text area for text CODE:

JQuery Javascript Combo List?
stackoverflow.com
I am trying to create a form in which I can have a list and an input box/text box. What I want is when a user types in the text box a value and clicks add to the list, the value should be added to the list. Then once the person presses submit, the PHP code should be able to use the values obtained from list for procedure. I am trying to do it in PHP and HTML but a few have suggested jQuery in JS. Please help with what you know or how I can do this. If you dont understand I have a diagram for what I want to do... <?php $Fname = $_POST["Fname"]; if (!isset($_POST['submit'])) { // if page is not submitted to itself echo the form ?> [Code]...

Making Names In List Boxes In The Format Lastname, Firstname
www.xtremevbtalk.com
I have a lstbox that has a list of names in it that look like this...Marcie GarciaDanny ChapaJuliana DavilaWhat I need is to pick an entry and have it put in a text box with the name reading ...Garcia, MarcieCan anyone help me with this??

Seing Visible Boxes
www.xtremevbtalk.com
Hi,Imagine a map with x and y coordinatesA character standing on X:8/Y:12 coordinates shoots an arrowat another character say X:22/Y:19How will it be possible to get all coordinates (as x/y) this arrowpasses before it reaches its target(Example for purposes to seeif this arrow is obstacled by an object standing in between)PSOr another example, whether a character sees certain spot on this map if there are obstacles in between)

To Check The Visible Text Boxes
www.vbforums.com
Hi,i want to check the visible textboxes are filled or not.for the below code checking all the text boxes which are also not visible Dim frm As Form Dim ctlAll As Control For Each frm In Forms For Each ctlAll In frm If TypeOf ctlAll Is TextBox Then If ctlAll.Text = "" Then MsgBox "Enter in all text boxes" Exit Sub End If End If Next ctlAll Next frmany suggestions pleasethanks

Get Last Visible Line From A Rich Text Box
www.xtremevbtalk.com
does anyone know how to find out what the last visible line in a rich text box is? Theres an API function to find the 1st visible line, but I dont know how to go about finding out what the last visible line is? I need it so that I can generate my own "page up" and "page down" messages to send to the richtextbox, since Im trying to emulate the "non-smooth scrolling" of a regular textbox, and the page up and page down buttons are scrolling smoothly and creating a problem. If I know what the 1st and last visible lines in the textbox are, then I can just generate a generate a "page down" routine as being "scroll down (#of visible lines) + 1", same for page up, kinda.Please help.

Coloring Colde In Rich Text Box Is SLOW && Visible
www.vbforums.com
I'm using the code at http://www.codeguru.com/vb/articles/1589.shtml to colorize some VB code in a Rich Text Box.Problem is, you can watch the program step thru the code & colorize it. It's too clunky...Anyone know a way to have it happen & NOT be visible like that?Thanks!

HELP!! Making Text Bold In Text Box
www.codeguru.com
i already posted this and i got help but the answers werent right. what i want to do is have a text box and three check boxes. one check box to make the text bold, one to make it italic and one to make it underlined. and when you enter text in the text box you can check the bold box and the text will turn bold right there. you dont check the box and then it turns to bold and from what you type from then on out is bold but instead it turns everything that is already in the box bold. some people told me to type if check is true then text1.fontbold. in when i do that it says invalid use of property. and i also tried text1.font.bold. please help me out!!

Making A Offer Through A Text Box
www.xtremevbtalk.com
If txtWage1.Text = (Text3.Text) Or More ThenFrameOffer.Visible = TrueEnd Ifone text box is hidden and has a value in itwhat i want to do is in the other text box where you make a offer, it it meets the other text box's value then i want FrameOffer.Visible = True. which it does.i want to know how in the text box that you make a offer, if its more than the value in the other box, i want it to still accept the offer and then make FrameOffer.Visible = True

Making A Currency Text Box
www.xtremevbtalk.com
HiI've created a program which users can enter prices into an Access Database. At the moment the text boxes are just normal but i want to make them into the format of currency (£).Tried using the DataFormat property but it doesn't seem to do the job.When i come to view the prices from the Access Database they don't come back in currency form even though the Field Property is set to Currency.Could anyone help me in solving this problem.Thanks

Images On Pic Boxes
www.xtremevbtalk.com
is there a way to bitblt images on picture boxes becasue they dont show up.

Images With Image Boxes
www.vbforums.com
i am trying create my own graphics file format, and i want to capture the image from one image box to another and i am hoping my file will hold the rgb value for each pixel, but when i try and caputure each pixel its very sloooow, how do i display images from a list of rgb value as quickly as any image editing program displays them

Making Boxes.
www.xtremevbtalk.com
Hi all,I am using Exel 2002 (10.58.4219) SP-2 and need to add in some text buttons to a user form at run time.Looking at the help files and lots (I do mean lots) of searching it looks like Controls.Addis the command to use. The problem is no matter what I try I have not been able to get it to work. I get constant syntax/format/string type errors. It looks like the examples given are for previous versions.Does anyone know of any good tutorials n the subject of adding in controls at run time? I would be grateful.ThanksEverso

Jquery :: Drag And Drop Ui Drop Box Limit?
stackoverflow.com
I want to limit a droppable to only take 1 draggable at a time Example: I have 3 draggable boxes and 2 droppable target boxes. I am trying to to limit the drop boxes to only accept item at a time. I do not want to disable the drop box i just want to limit how many you can drop on it to only 1. I want a solution thats expandable. I am also trying to keep track where you drop the box. I redid my demo: [URL]

JQuery :: Drag And Drop Photos To Right Box
forum.jquery.com
I found fantastic drag and drop technique, analyzied javascript file and would like to get helo, how to create it. Here: [URL] you can drag and drop the photos to the right box, then you can email them. How can I create it on my own website? You can find javascript file here: [URL]. Is it possible at all?

Actionscript 3 :: Unable To Parse JSON Using Flash
stackoverflow.com
I am attempting to parse some JSON from a URL via Flash/AS3. Here's my code so far: > import com.adobe.serialization.json.JSON; > import com.adobe.serialization.json.JSONDecoder; > > var loader:URLLoader = new URLLoader(); [code]... The trace(loader.data.toString() + " ") outputs a bunch of HTML.

ActionScript 3 - How To Read JSON Using Flash
stackoverflow.com
To read JSON using as3, are there any built in methods? It would be better if we get some code samples.