# programming

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

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

**Page:** 1181

---

## [I am so noob, don't know terms to search for](https://forum.kirupa.com/t/i-am-so-noob-dont-know-terms-to-search-for/264299)

<div class="topic-metadata">

**Author:** [@mrr0ng](https://forum.kirupa.com/u/mrr0ng)\
**Replies:** 4\
**Last updated:** [June 24, 2008, 9:32pm UTC](https://forum.kirupa.com/t/i-am-so-noob-dont-know-terms-to-search-for/264299 "2008-06-24T21:32:57Z")

</div>

First, I want to apologize for posting this. I tried searching on a number of different terms, but I am so new to AS3, that I really don't know what kind of terminology to user for this search. Simple problem. I have two…

---

## [Jagged Edges on image turned on an angle](https://forum.kirupa.com/t/jagged-edges-on-image-turned-on-an-angle/264301)

<div class="topic-metadata">

**Author:** [@ponyack](https://forum.kirupa.com/u/ponyack)\
**Replies:** 0\
**Last updated:** [June 24, 2008, 8:35pm UTC](https://forum.kirupa.com/t/jagged-edges-on-image-turned-on-an-angle/264301 "2008-06-24T20:35:19Z")

</div>

Hi, I have an image that sits in an MC. The MC is on an angle so the image must be the same. But once I rotate the image it becomes jagged. Right click the image, choose properties and click allow smoothing...so s…

---

## [Declaring Variables and Calling Function from Timeline](https://forum.kirupa.com/t/declaring-variables-and-calling-function-from-timeline/264300)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [June 24, 2008, 8:33pm UTC](https://forum.kirupa.com/t/declaring-variables-and-calling-function-from-timeline/264300 "2008-06-24T20:33:14Z")

</div>

I could use some help figuring out how to convert some older script to AS 3. I'll start simple - here is the main class and a bit of code on the main timeline that calls it. I'm not certain how to declare the "settings" …

---

## [Importing different classes based on IDE](https://forum.kirupa.com/t/importing-different-classes-based-on-ide/264285)

<div class="topic-metadata">

**Author:** [@Rezmason](https://forum.kirupa.com/u/Rezmason)\
**Replies:** 8\
**Last updated:** [June 24, 2008, 7:44pm UTC](https://forum.kirupa.com/t/importing-different-classes-based-on-ide/264285 "2008-06-24T19:44:38Z")

</div>

Flash CS3 has the fl package. Flex Builder and the Flex SDK have the mx libraries. I'm writing code that I wish to be able to compile in Flash and Flex. That means, I need to implement one system that determines whether …

---

## [Scoping Problems, I Think](https://forum.kirupa.com/t/scoping-problems-i-think/264124)

<div class="topic-metadata">

**Author:** [@bencam](https://forum.kirupa.com/u/bencam)\
**Replies:** 6\
**Last updated:** [June 24, 2008, 7:33pm UTC](https://forum.kirupa.com/t/scoping-problems-i-think/264124 "2008-06-24T19:33:34Z")

</div>

I have code that works when placed in a keyframe on the main timeline, but doesn't behave the same when it's in a package in an .as file. The linkage is correct for the document and movieclips, but I am missing some ste…

---

## [Referencing objects on stage](https://forum.kirupa.com/t/referencing-objects-on-stage/264277)

<div class="topic-metadata">

**Author:** [@bardic](https://forum.kirupa.com/u/bardic)\
**Replies:** 5\
**Last updated:** [June 24, 2008, 7:17pm UTC](https://forum.kirupa.com/t/referencing-objects-on-stage/264277 "2008-06-24T19:17:39Z")

</div>

Ok, this is a dumb question but I'm just horribly stuck. In my script I go toframe 5, and there are several textfields and clips on stage, but I can't reference them from my code. I get an error saying the objects don't…

---

## [Flash Banner is Covering Up My Drop-down Menus - Suggestions?](https://forum.kirupa.com/t/flash-banner-is-covering-up-my-drop-down-menus-suggestions/264246)

<div class="topic-metadata">

**Author:** [@stina](https://forum.kirupa.com/u/stina)\
**Replies:** 3\
**Last updated:** [June 24, 2008, 7:02pm UTC](https://forum.kirupa.com/t/flash-banner-is-covering-up-my-drop-down-menus-suggestions/264246 "2008-06-24T19:02:15Z")

</div>

This is just a general question, so depending on the answer, I might need to come back for some more help. Anyway, I have created a javascipt horizontal drop-down menu at the top of my page and under that is a rotating …

---

## [Randomized Answer Quiz](https://forum.kirupa.com/t/randomized-answer-quiz/264293)

<div class="topic-metadata">

**Author:** [@Robbe](https://forum.kirupa.com/u/Robbe)\
**Replies:** 0\
**Last updated:** [June 24, 2008, 6:46pm UTC](https://forum.kirupa.com/t/randomized-answer-quiz/264293 "2008-06-24T18:46:59Z")

</div>

I found a neat Flash quiz that both randomizes the questions and answers. Original Files - by sephiroth I converted it from Italian to English (for the most part) and added a few minor scoring functions at the end. …

---

## [Color change for all instances?](https://forum.kirupa.com/t/color-change-for-all-instances/264292)

<div class="topic-metadata">

**Author:** [@peartart](https://forum.kirupa.com/u/peartart)\
**Replies:** 0\
**Last updated:** [June 24, 2008, 6:34pm UTC](https://forum.kirupa.com/t/color-change-for-all-instances/264292 "2008-06-24T18:34:25Z")

</div>

I have a movie clip right now (a lion) and in it are two color movie clips, the ones I'm changing the color of, and some shading effects, etc. However, the code I'm using only changes one instance of the lion movie clip …

---

## [TweenRGB class bug](https://forum.kirupa.com/t/tweenrgb-class-bug/264290)

<div class="topic-metadata">

**Author:** [@fatPluto](https://forum.kirupa.com/u/fatPluto)\
**Replies:** 0\
**Last updated:** [June 24, 2008, 6:29pm UTC](https://forum.kirupa.com/t/tweenrgb-class-bug/264290 "2008-06-24T18:29:27Z")

</div>

Anyone use this? I've used it before without error, but getting an extremely odd behavior now. So, on roll over, I'm tweening a movieClip from white to yellow, and this works as expected, except when I embed the flash fi…

---

## [Noob question about classes in as3/cs3](https://forum.kirupa.com/t/noob-question-about-classes-in-as3-cs3/264287)

<div class="topic-metadata">

**Author:** [@thejoeknows\_com](https://forum.kirupa.com/u/thejoeknows_com)\
**Replies:** 0\
**Last updated:** [June 24, 2008, 6:15pm UTC](https://forum.kirupa.com/t/noob-question-about-classes-in-as3-cs3/264287 "2008-06-24T18:15:42Z")

</div>

how can i make a private function into a class that my main.as file will call upon and work within the code. for example, i hav this class: private function createObjects():void { //create generic objec…

---

## [InputText Focus - Safari & Firefox only](https://forum.kirupa.com/t/inputtext-focus-safari-firefox-only/264265)

<div class="topic-metadata">

**Author:** [@1Riptide](https://forum.kirupa.com/u/1Riptide)\
**Replies:** 1\
**Last updated:** [June 24, 2008, 6:09pm UTC](https://forum.kirupa.com/t/inputtext-focus-safari-firefox-only/264265 "2008-06-24T18:09:45Z")

</div>

http://starcam.com/cam On this page there is a login form at the bottom left. 1) Type some text in the username field. 2) Drag-Select this text (from right to left) so that it is highlighted - but DO NOT release t…

---

## [Useful Code Snippets](https://forum.kirupa.com/t/useful-code-snippets/215027)

<div class="topic-metadata">

**Author:** [@TheCanadian](https://forum.kirupa.com/u/TheCanadian)\
**Replies:** 10\
**Last updated:** [June 24, 2008, 6:00pm UTC](https://forum.kirupa.com/t/useful-code-snippets/215027 "2008-06-24T18:00:52Z")

</div>

I figured it might be nice to have a thread where people can post some useful AS code snippets for all to see. If you have some useful code, by all means post it in this thread and I will index it in this post ASAP. If y…

---

## [Flash RPG - Saving Via PHP & MySQL](https://forum.kirupa.com/t/flash-rpg-saving-via-php-mysql/264226)

<div class="topic-metadata">

**Author:** [@Razza16](https://forum.kirupa.com/u/Razza16)\
**Replies:** 1\
**Last updated:** [June 24, 2008, 5:12pm UTC](https://forum.kirupa.com/t/flash-rpg-saving-via-php-mysql/264226 "2008-06-24T17:12:31Z")

</div>

Hello, Can anyone help me with saving flash game data onto a database (mysql) by using php? Such as saving the users weapons, armour etc etc. Any help given is much appreciated, thankyou.

---

## [Components and setting depth](https://forum.kirupa.com/t/components-and-setting-depth/264281)

<div class="topic-metadata">

**Author:** [@MontsterTX](https://forum.kirupa.com/u/MontsterTX)\
**Replies:** 0\
**Last updated:** [June 24, 2008, 5:10pm UTC](https://forum.kirupa.com/t/components-and-setting-depth/264281 "2008-06-24T17:10:10Z")

</div>

I have an easing scrollbar component in my Flash document that always appears in the foreground, regardless of what layer its on (screenshot attached). Looking around the Web, I figure that I have to somehow manage the…

---

## [Send variables to PDF through php form \[GET?\]](https://forum.kirupa.com/t/send-variables-to-pdf-through-php-form-get/264197)

<div class="topic-metadata">

**Author:** [@Limitlis](https://forum.kirupa.com/u/Limitlis)\
**Replies:** 5\
**Last updated:** [June 24, 2008, 5:04pm UTC](https://forum.kirupa.com/t/send-variables-to-pdf-through-php-form-get/264197 "2008-06-24T17:04:44Z")

</div>

Please check out this example to see exactly what I'm talking about. http://www.spreadfirefox.com/en-US/worldrecord/certificate?participant=Your%20Name%20Goes%20Here! Does anyone know how they do this? Is there an easy…

---

## [\[as2\] FlashVars and FLVPlayback](https://forum.kirupa.com/t/as2-flashvars-and-flvplayback/264280)

<div class="topic-metadata">

**Author:** [@tank7700](https://forum.kirupa.com/u/tank7700)\
**Replies:** 0\
**Last updated:** [June 24, 2008, 5:03pm UTC](https://forum.kirupa.com/t/as2-flashvars-and-flvplayback/264280 "2008-06-24T17:03:49Z")

</div>

\[FONT=Verdana\]SOLVED: sorry to waste your time. I forgot to put the flashvars in the javascript. D'oh! I really woke up on the stupid side of the bed this morning.... I've done this before, but I'm missing something th…

---

## [Fullscreen Vid Snafu](https://forum.kirupa.com/t/fullscreen-vid-snafu/264278)

<div class="topic-metadata">

**Author:** [@Holland\_Oats](https://forum.kirupa.com/u/Holland_Oats)\
**Replies:** 0\
**Last updated:** [June 24, 2008, 4:57pm UTC](https://forum.kirupa.com/t/fullscreen-vid-snafu/264278 "2008-06-24T16:57:07Z")

</div>

So I spent all morning tweaking custom controls for my FLVPlayback, (component by component, rather than customizing a preset skin.swf) , and now I see they aren't showing up in FullScreen mode. I assume this is because …

---

## [Reverse the direction of the scroller?](https://forum.kirupa.com/t/reverse-the-direction-of-the-scroller/264159)

<div class="topic-metadata">

**Author:** [@wdv](https://forum.kirupa.com/u/wdv)\
**Replies:** 6\
**Last updated:** [June 24, 2008, 4:06pm UTC](https://forum.kirupa.com/t/reverse-the-direction-of-the-scroller/264159 "2008-06-24T16:06:44Z")

</div>

var center = Stage.width/2; var speed = .05; function activateMenu() { menu.onEnterFrame = function() { var distance = root.xmouse-center; if (mask.hitTest(root.xmouse, root.ymouse)) { this.\_x += (distance\*speed)…

---

## [Using scrollbars](https://forum.kirupa.com/t/using-scrollbars/264170)

<div class="topic-metadata">

**Author:** [@maidomax](https://forum.kirupa.com/u/maidomax)\
**Replies:** 3\
**Last updated:** [June 24, 2008, 3:45pm UTC](https://forum.kirupa.com/t/using-scrollbars/264170 "2008-06-24T15:45:28Z")

</div>

I am currently working on something like a shopping cart which loads products dynamycally (the images of them). At the moment, I have 6 empty movieclips on stage, and upto 6 different images are loaded in them. There is …

---

## [AS3/AIR - Export horizontally flipped BitmapData](https://forum.kirupa.com/t/as3-air-export-horizontally-flipped-bitmapdata/264191)

<div class="topic-metadata">

**Author:** [@bhadaway](https://forum.kirupa.com/u/bhadaway)\
**Replies:** 3\
**Last updated:** [June 24, 2008, 3:39pm UTC](https://forum.kirupa.com/t/as3-air-export-horizontally-flipped-bitmapdata/264191 "2008-06-24T15:39:17Z")

</div>

I've created a little AIR application that captures video from a webcam and exports stills of the video as JPGs. This works fine but I would like to flip the bitmapdata before it is exported so that the exported jpg is…

---

## [Looping the playlistitems in this xspf player](https://forum.kirupa.com/t/looping-the-playlistitems-in-this-xspf-player/264263)

<div class="topic-metadata">

**Author:** [@dualaud](https://forum.kirupa.com/u/dualaud)\
**Replies:** 0\
**Last updated:** [June 24, 2008, 2:33pm UTC](https://forum.kirupa.com/t/looping-the-playlistitems-in-this-xspf-player/264263 "2008-06-24T14:33:38Z")

</div>

Hiya, is there an easy way to let the playlist items of this script loop until forward, reverse, pause or stop is pressed? :puzzle: I already changed function seekTrack(p\_offset:Number){ mysound.stop() mysound.s…

---

## [List & CSS Based Dropdown Menu](https://forum.kirupa.com/t/list-css-based-dropdown-menu/254364)

<div class="topic-metadata">

**Author:** [@thedaveyb](https://forum.kirupa.com/u/thedaveyb)\
**Replies:** 16\
**Last updated:** [June 24, 2008, 1:23pm UTC](https://forum.kirupa.com/t/list-css-based-dropdown-menu/254364 "2008-06-24T13:23:29Z")

</div>

Hi People.. I am well aware of the suckerfish dropdowns for creating CSS and List based dropdown menus - problem is i need one activated by on-click - anyone know of anything like that?. Have looked at some ajax alte…

---

## [A New Student](https://forum.kirupa.com/t/a-new-student/264055)

<div class="topic-metadata">

**Author:** [@The\_Art\_Man](https://forum.kirupa.com/u/The_Art_Man)\
**Replies:** 5\
**Last updated:** [June 24, 2008, 1:22pm UTC](https://forum.kirupa.com/t/a-new-student/264055 "2008-06-24T13:22:22Z")

</div>

Hi there, My name is Nasser, and i am a new student in the great kirupa community... Realy i am happy here, ill do my best, and ill post my drawings and designs here \[wink\] ... I would like to ask some questions in adobe…

---

## [How can I find out what my db\_host is?](https://forum.kirupa.com/t/how-can-i-find-out-what-my-db-host-is/264176)

<div class="topic-metadata">

**Author:** [@w1sh](https://forum.kirupa.com/u/w1sh)\
**Replies:** 5\
**Last updated:** [June 24, 2008, 1:01pm UTC](https://forum.kirupa.com/t/how-can-i-find-out-what-my-db-host-is/264176 "2008-06-24T13:01:25Z")

</div>

I'm trying to install Wordpress to play around with, but it won't install. I think I've filled out everything correctly. My database is set to localhost and it tells me "there is a 99% chance you won't have to change t…

---

## [myBitmapData.draw();](https://forum.kirupa.com/t/mybitmapdata-draw/262655)

<div class="topic-metadata">

**Author:** [@unnamed](https://forum.kirupa.com/u/unnamed)\
**Replies:** 6\
**Last updated:** [June 24, 2008, 12:53pm UTC](https://forum.kirupa.com/t/mybitmapdata-draw/262655 "2008-06-24T12:53:52Z")

</div>

Hi, could someone point me how can i move my bitmap, to for example x:100, y:100 ? i tried everything, and i cant do such an easy thing :/ my head hurts from thinking and searching... my code: ActionScript Code: \[LEFT…

---

## [Insert time delay into mail sending](https://forum.kirupa.com/t/insert-time-delay-into-mail-sending/264247)

<div class="topic-metadata">

**Author:** [@korpela2](https://forum.kirupa.com/u/korpela2)\
**Replies:** 0\
**Last updated:** [June 24, 2008, 11:59am UTC](https://forum.kirupa.com/t/insert-time-delay-into-mail-sending/264247 "2008-06-24T11:59:18Z")

</div>

mail($ToName." \<".$ToEmail."\>",$ToSubject, $Message, "From: ".$from." \<".$Email."\>"); This is my mail function, which works fine and sends an email automatically to $ToEmail. I would like to delay the sending of the…

---

## [Special Characters from a POST](https://forum.kirupa.com/t/special-characters-from-a-post/264013)

<div class="topic-metadata">

**Author:** [@bear](https://forum.kirupa.com/u/bear)\
**Replies:** 5\
**Last updated:** [June 24, 2008, 11:08am UTC](https://forum.kirupa.com/t/special-characters-from-a-post/264013 "2008-06-24T11:08:14Z")

</div>

Is there a way to get accented characters like é from a POST value? I tried specialcharacters(), urlencode, and nothing worked.

---

## [How to find domain name](https://forum.kirupa.com/t/how-to-find-domain-name/264240)

<div class="topic-metadata">

**Author:** [@Sivanathan](https://forum.kirupa.com/u/Sivanathan)\
**Replies:** 1\
**Last updated:** [June 24, 2008, 10:48am UTC](https://forum.kirupa.com/t/how-to-find-domain-name/264240 "2008-06-24T10:48:00Z")

</div>

Hi, Once a swf is loaded on a server,can any variable inside can tell me the domain name and the directory in which it is present. Thanks Sivanathan

---

## [Simple AJAX clock](https://forum.kirupa.com/t/simple-ajax-clock/264025)

<div class="topic-metadata">

**Author:** [@tanel96](https://forum.kirupa.com/u/tanel96)\
**Replies:** 4\
**Last updated:** [June 24, 2008, 10:10am UTC](https://forum.kirupa.com/t/simple-ajax-clock/264025 "2008-06-24T10:10:57Z")

</div>

I'm not quite sure this is 100% the right place to post a question about AJAX, but I couldn't find a more suitable place. I'm trying to create a "live" web application... and the first part is to make a simple clock, …

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

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