# programming

**URL:** https://forum.kirupa.com/c/programming/41.md?page=881

[Latest](https://forum.kirupa.com/latest.md) · [Categories](https://forum.kirupa.com/categories.md)

**Page:** 882

---

## [How would you approach this layout?](https://forum.kirupa.com/t/how-would-you-approach-this-layout/284242)

<div class="topic-metadata">

**Author:** [@jmreyes](https://forum.kirupa.com/u/jmreyes)\
**Replies:** 0\
**Last updated:** [March 17, 2009, 3:59am UTC](https://forum.kirupa.com/t/how-would-you-approach-this-layout/284242 "2009-03-17T03:59:33Z")

</div>

Hi Everyone, Long time member here. Just a lurker. Especially at Random where I enjoy it a lot. Hehe. Anyways, i've made the jump to tableless CSS layouts not so long ago and created a few websites that way. Im not t…

---

## [\<b\>loading external data with for of XML\</b\>](https://forum.kirupa.com/t/b-loading-external-data-with-for-of-xml-b/284237)

<div class="topic-metadata">

**Author:** [@outback](https://forum.kirupa.com/u/outback)\
**Replies:** 0\
**Last updated:** [March 17, 2009, 12:26am UTC](https://forum.kirupa.com/t/b-loading-external-data-with-for-of-xml-b/284237 "2009-03-17T00:26:46Z")

</div>

Hi all, I have a pretty CMS that generates an XML and I want to make part of the site loading that data (menu items, thumbs, info, and big pics) is there an way to make all that using for? here is my XML code \<album…

---

## [As3 Site with external swfs as subsites problem](https://forum.kirupa.com/t/as3-site-with-external-swfs-as-subsites-problem/284236)

<div class="topic-metadata">

**Author:** [@Rav](https://forum.kirupa.com/u/Rav)\
**Replies:** 0\
**Last updated:** [March 17, 2009, 12:15am UTC](https://forum.kirupa.com/t/as3-site-with-external-swfs-as-subsites-problem/284236 "2009-03-17T00:15:50Z")

</div>

Hello Everyone ! (this is my first post on this forum \[smile\] ) I wanted to create a site that would load external swfs as subsites. So you've got main swf with menu and buttons which will load certain swf after click.…

---

## [Change Movie Clips from XML file](https://forum.kirupa.com/t/change-movie-clips-from-xml-file/284232)

<div class="topic-metadata">

**Author:** [@anchorball](https://forum.kirupa.com/u/anchorball)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 11:10pm UTC](https://forum.kirupa.com/t/change-movie-clips-from-xml-file/284232 "2009-03-16T23:10:59Z")

</div>

I have a gallery I am trying to update. It's in AS2. Basically the gallery has full size images, some are light, some are dark. I have 2 logos, one for the light images, one for the dark. Can you tell me how I would writ…

---

## [Looking for help modifying an xml menu AS2](https://forum.kirupa.com/t/looking-for-help-modifying-an-xml-menu-as2/284230)

<div class="topic-metadata">

**Author:** [@anchorball](https://forum.kirupa.com/u/anchorball)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 11:00pm UTC](https://forum.kirupa.com/t/looking-for-help-modifying-an-xml-menu-as2/284230 "2009-03-16T23:00:28Z")

</div>

I am looking for help modifying an xml menu. The menu was horizontal, but changing it to vertical. Have it vertical, but can't get the on state indicator to update to a new y position based on the text postion in the men…

---

## [Javascript not working?](https://forum.kirupa.com/t/javascript-not-working/284219)

<div class="topic-metadata">

**Author:** [@krissauquillo](https://forum.kirupa.com/u/krissauquillo)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 8:39pm UTC](https://forum.kirupa.com/t/javascript-not-working/284219 "2009-03-16T20:39:18Z")

</div>

How come neither of this work, they don't change the form's action value. \<form method="post" action="testa"\> \<select onchange="this.form.action=this.options…

---

## [Functions for menu links](https://forum.kirupa.com/t/functions-for-menu-links/284217)

<div class="topic-metadata">

**Author:** [@Tinuviel](https://forum.kirupa.com/u/Tinuviel)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 7:49pm UTC](https://forum.kirupa.com/t/functions-for-menu-links/284217 "2009-03-16T19:49:41Z")

</div>

I want to code better, but am not sure what the names are for what I'm trying to do, so I can't really search on it. I want to make my menu items into a function, so it's faster / smaller code. How would I do that? Cur…

---

## [\[A.S 2\] need help to debug many stuff from xml based image gallery](https://forum.kirupa.com/t/a-s-2-need-help-to-debug-many-stuff-from-xml-based-image-gallery/284214)

<div class="topic-metadata">

**Author:** [@mentega](https://forum.kirupa.com/u/mentega)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 7:37pm UTC](https://forum.kirupa.com/t/a-s-2-need-help-to-debug-many-stuff-from-xml-based-image-gallery/284214 "2009-03-16T19:37:06Z")

</div>

hi everyone, i found a very nice tutorial about making an xml based gallery from oman3D which i use it as a base and change some codes abit for my own gallery project... but those modification comes with bugs that i can'…

---

## [Timed Image Rotation](https://forum.kirupa.com/t/timed-image-rotation/284211)

<div class="topic-metadata">

**Author:** [@briand5](https://forum.kirupa.com/u/briand5)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 6:44pm UTC](https://forum.kirupa.com/t/timed-image-rotation/284211 "2009-03-16T18:44:32Z")

</div>

Hi, I am trying to setup a timed image rotation. Currently I have a 3 icon spots that when rolled over display a different image (1 of 3 images) in the background depending on which icon is rolled over. What I am tryin…

---

## [Assigning a movie clip a depth](https://forum.kirupa.com/t/assigning-a-movie-clip-a-depth/284210)

<div class="topic-metadata">

**Author:** [@Drew91](https://forum.kirupa.com/u/Drew91)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 6:40pm UTC](https://forum.kirupa.com/t/assigning-a-movie-clip-a-depth/284210 "2009-03-16T18:40:44Z")

</div>

Right now, I'm in the progress of making a roster for my school. It can be found at http://www.jefferson.k12.mi.us/Default.aspx?alias=www.jefferson.k12.mi.us/athletics at the bottom of the page. I'm re-arranging how I …

---

## [Flash Banner with certain embedded code](https://forum.kirupa.com/t/flash-banner-with-certain-embedded-code/284207)

<div class="topic-metadata">

**Author:** [@iBall](https://forum.kirupa.com/u/iBall)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 6:04pm UTC](https://forum.kirupa.com/t/flash-banner-with-certain-embedded-code/284207 "2009-03-16T18:04:45Z")

</div>

Hi, I'm going to do a flash banner with flash 8, action script1/2. I'm required to do a link in the flash banner. However, I'd like to know how to trigger the link in the .swf file with the given embedded code without …

---

## [Google Search Bar](https://forum.kirupa.com/t/google-search-bar/284205)

<div class="topic-metadata">

**Author:** [@clarencecowan](https://forum.kirupa.com/u/clarencecowan)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 5:19pm UTC](https://forum.kirupa.com/t/google-search-bar/284205 "2009-03-16T17:19:32Z")

</div>

I have a Flash Header in my web site with a google search bar. I have the correct google code but I keep getting undefined in my search querys. I'm assuming I am typing the indentifier for the text box wrong so can someo…

---

## [AS3.0 problem with changing center of MC while zooming](https://forum.kirupa.com/t/as3-0-problem-with-changing-center-of-mc-while-zooming/284204)

<div class="topic-metadata">

**Author:** [@Trupti](https://forum.kirupa.com/u/Trupti)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 4:30pm UTC](https://forum.kirupa.com/t/as3-0-problem-with-changing-center-of-mc-while-zooming/284204 "2009-03-16T16:30:01Z")

</div>

Hi, I have one main movieclip which hold multiple movieclips in it. The center of the main MC is set at the center of the stage. What I need is, if I click on any MC inside main MC, then that position (mouseX, mouseY) …

---

## [Clouds Animation Problem](https://forum.kirupa.com/t/clouds-animation-problem/284200)

<div class="topic-metadata">

**Author:** [@ThiZz](https://forum.kirupa.com/u/ThiZz)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 3:59pm UTC](https://forum.kirupa.com/t/clouds-animation-problem/284200 "2009-03-16T15:59:01Z")

</div>

I created an animation for my website's background which you see the clouds moving slowly in the background. And I copied that MC through all the scenes (Preloader, Intro, Main , About, Works and Contact) The problem is …

---

## [Xbox Controllers? wus the deal yo?](https://forum.kirupa.com/t/xbox-controllers-wus-the-deal-yo/284199)

<div class="topic-metadata">

**Author:** [@OneEleven](https://forum.kirupa.com/u/OneEleven)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 3:43pm UTC](https://forum.kirupa.com/t/xbox-controllers-wus-the-deal-yo/284199 "2009-03-16T15:43:33Z")

</div>

Is it possible to use an Xbox 360 controller in Flash using AS 2.0?

---

## [Check this out - Videos on how to protect your website against hackers](https://forum.kirupa.com/t/check-this-out-videos-on-how-to-protect-your-website-against-hackers/284197)

<div class="topic-metadata">

**Author:** [@Arne1983](https://forum.kirupa.com/u/Arne1983)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 3:17pm UTC](https://forum.kirupa.com/t/check-this-out-videos-on-how-to-protect-your-website-against-hackers/284197 "2009-03-16T15:17:07Z")

</div>

\[COLOR=#000000\]\[FONT=Verdana\]Hi! Thank you for checking out this thread. I'm working on some killer videos right now that will explain in detail how you can protect your website against hackers. The first part of the…

---

## [TweenMax on open](https://forum.kirupa.com/t/tweenmax-on-open/284191)

<div class="topic-metadata">

**Author:** [@jjdelv](https://forum.kirupa.com/u/jjdelv)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 1:55pm UTC](https://forum.kirupa.com/t/tweenmax-on-open/284191 "2009-03-16T13:55:31Z")

</div>

I have a button on frame 1 which when clicked takes me to frame 2. What I want to happen is, upon arrival at frame 2 i want my tween to start. Does anyone know the code to make this happen... I have a feeling I'm being r…

---

## [Highlighting text and saving it as link in xml or DB](https://forum.kirupa.com/t/highlighting-text-and-saving-it-as-link-in-xml-or-db/284190)

<div class="topic-metadata">

**Author:** [@last](https://forum.kirupa.com/u/last)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 1:51pm UTC](https://forum.kirupa.com/t/highlighting-text-and-saving-it-as-link-in-xml-or-db/284190 "2009-03-16T13:51:08Z")

</div>

So I thought of building a Flash CMS. The one thing i would like to know is how would one turn text that has been typed in then highlighted in a textbox and then click on a button and turn the highlighted text into a li…

---

## [Bouncy rabbit!](https://forum.kirupa.com/t/bouncy-rabbit/284188)

<div class="topic-metadata">

**Author:** [@m3ta](https://forum.kirupa.com/u/m3ta)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 1:13pm UTC](https://forum.kirupa.com/t/bouncy-rabbit/284188 "2009-03-16T13:13:52Z")

</div>

Hey all, I'm trying to achieve a bouncy rabbit type animation. Tweener.addTween(this, {x:x + 100, time:2}); Is there any way I can use tweener to achieve this, either by adding an aditional tween or modifying the e…

---

## [Best way to create pages....?](https://forum.kirupa.com/t/best-way-to-create-pages/284183)

<div class="topic-metadata">

**Author:** [@keanonumber10](https://forum.kirupa.com/u/keanonumber10)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 12:03pm UTC](https://forum.kirupa.com/t/best-way-to-create-pages/284183 "2009-03-16T12:03:14Z")

</div>

So I'm working on a new flash site project for my boss. I've not done a flash site before so am learning as I go. iankeane.com/introduction.html (you can see the work in progress here...). What I wanted to get advi…

---

## [Actionscript 2.0, cancelling snow animation, novice needs help!](https://forum.kirupa.com/t/actionscript-2-0-cancelling-snow-animation-novice-needs-help/284180)

<div class="topic-metadata">

**Author:** [@OneEleven](https://forum.kirupa.com/u/OneEleven)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 11:47am UTC](https://forum.kirupa.com/t/actionscript-2-0-cancelling-snow-animation-novice-needs-help/284180 "2009-03-16T11:47:37Z")

</div>

Hey guys, got a cool snow animation on the first frame of my movie clip and I want to make it stop in the second but I have no idea how to go about it. I'm serious when I say novice so please be nice. \[smile\] Code below: …

---

## [Product activation and hard drive failure](https://forum.kirupa.com/t/product-activation-and-hard-drive-failure/284178)

<div class="topic-metadata">

**Author:** [@DrQuincy](https://forum.kirupa.com/u/DrQuincy)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 10:55am UTC](https://forum.kirupa.com/t/product-activation-and-hard-drive-failure/284178 "2009-03-16T10:55:16Z")

</div>

Hi Just got CS4 Design Premium which includes Flash. Is it true if you hard drive goes and you haven't deactivated it you effectively lose the license like I think you did with older versions?

---

## [No import statement on timeline code?](https://forum.kirupa.com/t/no-import-statement-on-timeline-code/284177)

<div class="topic-metadata">

**Author:** [@DrQuincy](https://forum.kirupa.com/u/DrQuincy)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 10:53am UTC](https://forum.kirupa.com/t/no-import-statement-on-timeline-code/284177 "2009-03-16T10:53:34Z")

</div>

If you put code on a frame you don't need to import the packages do you? So, are they done automatically and if this is the case does that mean writing classes is more efficient?

---

## [AS2: Add comma to a value](https://forum.kirupa.com/t/as2-add-comma-to-a-value/284174)

<div class="topic-metadata">

**Author:** [@annonse](https://forum.kirupa.com/u/annonse)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 10:01am UTC](https://forum.kirupa.com/t/as2-add-comma-to-a-value/284174 "2009-03-16T10:01:54Z")

</div>

Hi again all! Real simple question; How would I code in AS2 to add commas to a value in \[COLOR=Gray\]myText\[/COLOR\]\[COLOR=Blue\].text\[/COLOR\] which recieves input from xml? Say if the value is 1000000, I want it to say 1.0…

---

## [How to convert my AS2 Flash File to AS3](https://forum.kirupa.com/t/how-to-convert-my-as2-flash-file-to-as3/284173)

<div class="topic-metadata">

**Author:** [@Amit\_Ranjan1](https://forum.kirupa.com/u/Amit_Ranjan1)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 9:53am UTC](https://forum.kirupa.com/t/how-to-convert-my-as2-flash-file-to-as3/284173 "2009-03-16T09:53:05Z")

</div>

HI Every1, I wanted to know, " How to convert my AS2 Flash File to AS3." Is there something which convert the files automatically, like any website or something in flash itself or something else?? Waiting for ur resp…

---

## [Picky smoothing](https://forum.kirupa.com/t/picky-smoothing/284168)

<div class="topic-metadata">

**Author:** [@nook](https://forum.kirupa.com/u/nook)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 9:23am UTC](https://forum.kirupa.com/t/picky-smoothing/284168 "2009-03-16T09:23:37Z")

</div>

Hi. I have a minor but annoying problem. I'm loading external images into a sidescroller (x-axis). I've tried both setting smoothing parameter as well as creating new Bitmap object with no pixelsnapping, but the smoothin…

---

## [Reference to class methods](https://forum.kirupa.com/t/reference-to-class-methods/284167)

<div class="topic-metadata">

**Author:** [@ThinkKirupa](https://forum.kirupa.com/u/ThinkKirupa)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 9:23am UTC](https://forum.kirupa.com/t/reference-to-class-methods/284167 "2009-03-16T09:23:11Z")

</div>

Hi there, I need a way to reference to object (or the class methods inside). I have a button "Add box" and when it is pressed it creates a new instance of class "MyBox". The thing is everyone of these objects get the s…

---

## [Convert the Strings in Java?](https://forum.kirupa.com/t/convert-the-strings-in-java/284161)

<div class="topic-metadata">

**Author:** [@Gracey](https://forum.kirupa.com/u/Gracey)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 8:18am UTC](https://forum.kirupa.com/t/convert-the-strings-in-java/284161 "2009-03-16T08:18:08Z")

</div>

Hello, How to convert String into primitive datatype.also give me a program where you clearly define the primitive datatypes. Please reply my post if you know the answer. Thanks

---

## [Random Translate Transform](https://forum.kirupa.com/t/random-translate-transform/284160)

<div class="topic-metadata">

**Author:** [@psychman](https://forum.kirupa.com/u/psychman)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 7:13am UTC](https://forum.kirupa.com/t/random-translate-transform/284160 "2009-03-16T07:13:35Z")

</div>

Hello. I am programmatically displaying image thumbnails on a canvas and they all stack up in the upper left corner. I want to have them start in the upper left corner, but then reposition to a random location on the can…

---

## [Insert data into database from Flash](https://forum.kirupa.com/t/insert-data-into-database-from-flash/284159)

<div class="topic-metadata">

**Author:** [@nupur2609](https://forum.kirupa.com/u/nupur2609)\
**Replies:** 0\
**Last updated:** [March 16, 2009, 6:27am UTC](https://forum.kirupa.com/t/insert-data-into-database-from-flash/284159 "2009-03-16T06:27:35Z")

</div>

Hi I am completely new to Flash and actionscript.I have a small project which requires me to submit details into a MS Access Database. I have created an asp scrip to do the same but it doesnt seem to be working. I am po…

[Previous page](https://forum.kirupa.com/c/programming/41.md?page=880)

[Next page](https://forum.kirupa.com/c/programming/41.md?page=882)
