# programming

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

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

**Page:** 572

---

## [Get url from function and put content into template](https://forum.kirupa.com/t/get-url-from-function-and-put-content-into-template/304196)

<div class="topic-metadata">

**Author:** [@WAcreative](https://forum.kirupa.com/u/WAcreative)\
**Replies:** 0\
**Last updated:** [February 3, 2010, 2:35am UTC](https://forum.kirupa.com/t/get-url-from-function-and-put-content-into-template/304196 "2010-02-03T02:35:31Z")

</div>

Hi, I have been searching all over the web and every thread in these forums for the issue I am having but I can't find anything (I've done about a billion different google searches). Here is my issue: I am creating…

---

## [Numbers in AS2 misbehaving](https://forum.kirupa.com/t/numbers-in-as2-misbehaving/304194)

<div class="topic-metadata">

**Author:** [@mavoric](https://forum.kirupa.com/u/mavoric)\
**Replies:** 0\
**Last updated:** [February 3, 2010, 2:07am UTC](https://forum.kirupa.com/t/numbers-in-as2-misbehaving/304194 "2010-02-03T02:07:26Z")

</div>

I seem to be having a strange problem with a flash variable whilst creating an isometric game. The variable is created as follows... \[COLOR=DimGray\]\*i is an array\*\* tiles,current\_sub and x are all objects\*\[/COLOR\] a…

---

## [Get php $\_GET variables](https://forum.kirupa.com/t/get-php--get-variables/304191)

<div class="topic-metadata">

**Author:** [@waverider303](https://forum.kirupa.com/u/waverider303)\
**Replies:** 0\
**Last updated:** [February 3, 2010, 12:50am UTC](https://forum.kirupa.com/t/get-php--get-variables/304191 "2010-02-03T00:50:16Z")

</div>

I want to my flash gallery to get the variables at the end of the url (ex: artGallery.php?page=2) How would I beable to get the 2 into a variable in as3?

---

## [Rollover gotoandplay AS3](https://forum.kirupa.com/t/rollover-gotoandplay-as3/304189)

<div class="topic-metadata">

**Author:** [@Evangelizes](https://forum.kirupa.com/u/Evangelizes)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 11:40pm UTC](https://forum.kirupa.com/t/rollover-gotoandplay-as3/304189 "2010-02-02T23:40:05Z")

</div>

Hi, I'm a noob to flash, and any kind of programming. I made a very simple site with 2 navigation buttons that trigger different content. The tutorial I followed use AS2, and I am not sure if this is the right code f…

---

## [FFmpeg update or response?](https://forum.kirupa.com/t/ffmpeg-update-or-response/304185)

<div class="topic-metadata">

**Author:** [@dColumbus](https://forum.kirupa.com/u/dColumbus)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 10:54pm UTC](https://forum.kirupa.com/t/ffmpeg-update-or-response/304185 "2010-02-02T22:54:48Z")

</div>

I'm trying to figure out how I'm going to find out that a video has completed converting. I've read that there's a possibility that you can output something to a .txt file and read the last lines... but is there a way to…

---

## [Terminology Help: Slider and Scrollbar?](https://forum.kirupa.com/t/terminology-help-slider-and-scrollbar/304182)

<div class="topic-metadata">

**Author:** [@boazig](https://forum.kirupa.com/u/boazig)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 9:52pm UTC](https://forum.kirupa.com/t/terminology-help-slider-and-scrollbar/304182 "2010-02-02T21:52:23Z")

</div>

Hello! I am looking to do two things. I need the terminology for these, because nothing is coming up when I search: 1) I have a dynamic text field to put information into. I want a scrollbar to appear when too much t…

---

## [Making a Dynamic SWF Background](https://forum.kirupa.com/t/making-a-dynamic-swf-background/304181)

<div class="topic-metadata">

**Author:** [@IaguCool](https://forum.kirupa.com/u/IaguCool)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 9:26pm UTC](https://forum.kirupa.com/t/making-a-dynamic-swf-background/304181 "2010-02-02T21:26:15Z")

</div>

Hello everybody! I'm constructing a Flash-based system as a personal website, and was using a dynamic background which I found on the internet. The problem is that this background is too boring, but I want to know how …

---

## [Xampp how to use on macosx](https://forum.kirupa.com/t/xampp-how-to-use-on-macosx/304177)

<div class="topic-metadata">

**Author:** [@geestring](https://forum.kirupa.com/u/geestring)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 9:00pm UTC](https://forum.kirupa.com/t/xampp-how-to-use-on-macosx/304177 "2010-02-02T21:00:02Z")

</div>

how do you access the options for mysql and phpmyadmin on windows xampp has a preferences area, on my mac there is not.

---

## [Strange problem with loader](https://forum.kirupa.com/t/strange-problem-with-loader/304174)

<div class="topic-metadata">

**Author:** [@EEpEr](https://forum.kirupa.com/u/EEpEr)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 7:53pm UTC](https://forum.kirupa.com/t/strange-problem-with-loader/304174 "2010-02-02T19:53:00Z")

</div>

Hi, all! I'm working with Loader class in as3 and there comes some really strange problem. I have two swf files, one loading the other. In the first one, I have codes like this: var loader:Loader=new Loader(); var cont…

---

## [Singling out non-looping anims from looping](https://forum.kirupa.com/t/singling-out-non-looping-anims-from-looping/304172)

<div class="topic-metadata">

**Author:** [@Atomic\_Kat](https://forum.kirupa.com/u/Atomic_Kat)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 7:07pm UTC](https://forum.kirupa.com/t/singling-out-non-looping-anims-from-looping/304172 "2010-02-02T19:07:12Z")

</div>

I am fairly new to Flash and I am constructing a website. The issue I am running across is this: I encoded and embedded a movie clip to act as the background. There are other animations that can and will loop, as the mov…

---

## [Weird disappearing text bug?](https://forum.kirupa.com/t/weird-disappearing-text-bug/304170)

<div class="topic-metadata">

**Author:** [@tpspoons](https://forum.kirupa.com/u/tpspoons)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 6:49pm UTC](https://forum.kirupa.com/t/weird-disappearing-text-bug/304170 "2010-02-02T18:49:03Z")

</div>

I found this really weird bug on a site I did a little while back. Click on a page (any page), then click somewhere outside the flash content (like another window) then again choose another page. The text dissappears eve…

---

## [How do you delete skins?](https://forum.kirupa.com/t/how-do-you-delete-skins/304169)

<div class="topic-metadata">

**Author:** [@geestring](https://forum.kirupa.com/u/geestring)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 6:09pm UTC](https://forum.kirupa.com/t/how-do-you-delete-skins/304169 "2010-02-02T18:09:44Z")

</div>

basically I want a list component but without the skin. So it looks like it's just floating over the stage area... Or is there a better way of doing this?

---

## [Calling & running a random function from an array](https://forum.kirupa.com/t/calling-running-a-random-function-from-an-array/304167)

<div class="topic-metadata">

**Author:** [@doh](https://forum.kirupa.com/u/doh)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 5:39pm UTC](https://forum.kirupa.com/t/calling-running-a-random-function-from-an-array/304167 "2010-02-02T17:39:29Z")

</div>

Hi, I've seen similar threads on here but nothing quite works for me, so sorry if this has been previously answered. I'm creating buttons dynamically in functions, and I want to load them ALL in randomly as you enter t…

---

## [Output File](https://forum.kirupa.com/t/output-file/304166)

<div class="topic-metadata">

**Author:** [@lairusi](https://forum.kirupa.com/u/lairusi)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 5:35pm UTC](https://forum.kirupa.com/t/output-file/304166 "2010-02-02T17:35:33Z")

</div>

Hello newbie question. I am currently learning how to program in C++ and I have the following code. #include \<iostream\> #include \<fstream\> using namespace std; void main () { ofstream myfile; myfile.open ("C:\\ es…

---

## [Set Progressive Buffer on Dreamweaver's FLVPlayer\_Progressive?](https://forum.kirupa.com/t/set-progressive-buffer-on-dreamweavers-flvplayer-progressive/304164)

<div class="topic-metadata">

**Author:** [@creatify](https://forum.kirupa.com/u/creatify)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 4:56pm UTC](https://forum.kirupa.com/t/set-progressive-buffer-on-dreamweavers-flvplayer-progressive/304164 "2010-02-02T16:56:21Z")

</div>

Edit: found that it's not possible... I've opened Dreamweaver twice since I've had it over a year... if anyone uses it and has used the FLVPlayer\_progressive component that is 'built in', does anyone know if there is a…

---

## [Problem with events](https://forum.kirupa.com/t/problem-with-events/304163)

<div class="topic-metadata">

**Author:** [@kadaj](https://forum.kirupa.com/u/kadaj)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 4:52pm UTC](https://forum.kirupa.com/t/problem-with-events/304163 "2010-02-02T16:52:49Z")

</div>

I have a main class which listens for an event dispatched from another class say class A. Also there are other classes say class B, class C etc. There is a controller class. Classes B, C dispatches events that gets liste…

---

## [Calling dynamic page titles into a single swf movie](https://forum.kirupa.com/t/calling-dynamic-page-titles-into-a-single-swf-movie/304162)

<div class="topic-metadata">

**Author:** [@winstonsmithii](https://forum.kirupa.com/u/winstonsmithii)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 4:04pm UTC](https://forum.kirupa.com/t/calling-dynamic-page-titles-into-a-single-swf-movie/304162 "2010-02-02T16:04:07Z")

</div>

Newbie here trying to create a single animated swf header within a drupal template page(page.tpl.php) to display a page's title. My question is, how do I just call the dynamic page titles within the actionscript, and not…

---

## [Using USB gamepads with AS3](https://forum.kirupa.com/t/using-usb-gamepads-with-as3/304161)

<div class="topic-metadata">

**Author:** [@itsKEtCHUP](https://forum.kirupa.com/u/itsKEtCHUP)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 3:59pm UTC](https://forum.kirupa.com/t/using-usb-gamepads-with-as3/304161 "2010-02-02T15:59:01Z")

</div>

Is this possible? I looked at the MakingThings site, which offers "controllers", but they're not like gamepad controllers. I also found a bit of software that allows you to connect xbox360 controllers to your PC and …

---

## [Database Search Application](https://forum.kirupa.com/t/database-search-application/304160)

<div class="topic-metadata">

**Author:** [@espence](https://forum.kirupa.com/u/espence)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 3:38pm UTC](https://forum.kirupa.com/t/database-search-application/304160 "2010-02-02T15:38:41Z")

</div>

I have a list of distributors for the company i work for. They are companies from all over North America. I have the list in Excel and I need to create a flash application like the one attached that allows the visitor to…

---

## [Need advice on Alt Content version to FL site](https://forum.kirupa.com/t/need-advice-on-alt-content-version-to-fl-site/304159)

<div class="topic-metadata">

**Author:** [@Terraform](https://forum.kirupa.com/u/Terraform)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 3:34pm UTC](https://forum.kirupa.com/t/need-advice-on-alt-content-version-to-fl-site/304159 "2010-02-02T15:34:17Z")

</div>

Hello I would really like to start using alternative content (fallback) to the flash sites I have been doing. I have been using swfObjects to disseminate my flash projects and I know they allow for alt content to be u…

---

## [Add Event Listener from External Class](https://forum.kirupa.com/t/add-event-listener-from-external-class/304158)

<div class="topic-metadata">

**Author:** [@goalieguy6](https://forum.kirupa.com/u/goalieguy6)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 3:19pm UTC](https://forum.kirupa.com/t/add-event-listener-from-external-class/304158 "2010-02-02T15:19:46Z")

</div>

Hi everybody, I'm a bit new to ActionScript 3.0 and I have a quick question. I'm writing a tower defense game, and the way I have the tower placement is on a grid, where each square has an Event Listener that checks if t…

---

## [Display word](https://forum.kirupa.com/t/display-word/304157)

<div class="topic-metadata">

**Author:** [@shapper](https://forum.kirupa.com/u/shapper)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 3:05pm UTC](https://forum.kirupa.com/t/display-word/304157 "2010-02-02T15:05:12Z")

</div>

Hello, I need to display a word passed to the flash movie through flashvars. My objective is to display this word centered inside a black rectangle which length adapts to the word length. The box should be on top o…

---

## ["Sub-menu" in ContextMenu](https://forum.kirupa.com/t/sub-menu-in-contextmenu/304156)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 2:58pm UTC](https://forum.kirupa.com/t/sub-menu-in-contextmenu/304156 "2010-02-02T14:58:49Z")

</div>

I'm not really finding anything in the docs, but is there any way to create a "submenu" inside of a custom ContextMenu? I'm not sure exactly what it's called, so I attached a screenshot. EDIT: Oh, and one more thing.…

---

## [localToContent vs contentToGlobal](https://forum.kirupa.com/t/localtocontent-vs-contenttoglobal/304155)

<div class="topic-metadata">

**Author:** [@stephgravity](https://forum.kirupa.com/u/stephgravity)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 2:24pm UTC](https://forum.kirupa.com/t/localtocontent-vs-contenttoglobal/304155 "2010-02-02T14:24:56Z")

</div>

Hi all, I have the following case: VERSION 1 // var r:Rectangle = UIComponent(rectangle).getBounds(bigCanvas)); // var p:Point = UIComponent(bigCanvas).localToContent(r.topLeft); VERSION 2 var p:Point = UIComponent(rec…

---

## [Please help a newbie?](https://forum.kirupa.com/t/please-help-a-newbie/304153)

<div class="topic-metadata">

**Author:** [@jynx20](https://forum.kirupa.com/u/jynx20)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 2:01pm UTC](https://forum.kirupa.com/t/please-help-a-newbie/304153 "2010-02-02T14:01:37Z")

</div>

how to do stage resize in flash

---

## [Tinting by ColorTransform](https://forum.kirupa.com/t/tinting-by-colortransform/304151)

<div class="topic-metadata">

**Author:** [@BoppreH](https://forum.kirupa.com/u/BoppreH)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 1:35pm UTC](https://forum.kirupa.com/t/tinting-by-colortransform/304151 "2010-02-02T13:35:23Z")

</div>

I have a simple code to implement a "tint" effect on a DisplayObject: /\*\* \* Tints an object by a certain amount. \* @usage Display.tint(playerShadow, 0x000000, 0.9) \* @param object the object to have it's col…

---

## [Web development company](https://forum.kirupa.com/t/web-development-company/304146)

<div class="topic-metadata">

**Author:** [@website](https://forum.kirupa.com/u/website)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 12:23pm UTC](https://forum.kirupa.com/t/web-development-company/304146 "2010-02-02T12:23:05Z")

</div>

\[Web development company – Ensure is Professional web site design India, logo design company, web development company, \[URL="http://www.ensure.co.in"\]Web Design Company\](http://www.ensure.co.in), brochure design company …

---

## [Adding Problem](https://forum.kirupa.com/t/adding-problem/304143)

<div class="topic-metadata">

**Author:** [@Laptopbuster](https://forum.kirupa.com/u/Laptopbuster)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 10:49am UTC](https://forum.kirupa.com/t/adding-problem/304143 "2010-02-02T10:49:48Z")

</div>

I have 4 variables 3 of which are dynamic text (variable names: 'num1' and 'num2' and 'score') 1 is input text (variable name: 'ans1') 'score' is set to '0' at the begining of the frame This is for a simple math game -…

---

## [Adding in Actionscript](https://forum.kirupa.com/t/adding-in-actionscript/304142)

<div class="topic-metadata">

**Author:** [@Laptopbuster](https://forum.kirupa.com/u/Laptopbuster)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 10:40am UTC](https://forum.kirupa.com/t/adding-in-actionscript/304142 "2010-02-02T10:40:18Z")

</div>

I have 4 variables 3 of which are dynamic text (variable names: 'num1' and 'num2' and 'score') 1 is input text (variable name: 'ans1') 'score' is set to '0' at the begining of the frame This is for a simple math game -…

---

## [Drawing a circular outline in AS3](https://forum.kirupa.com/t/drawing-a-circular-outline-in-as3/304141)

<div class="topic-metadata">

**Author:** [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Replies:** 0\
**Last updated:** [February 2, 2010, 10:37am UTC](https://forum.kirupa.com/t/drawing-a-circular-outline-in-as3/304141 "2010-02-02T10:37:23Z")

</div>

I found this code in AS2. It draws an outline of a circle: var origin = {x: 200, y: 200}; // the point at the centre of the circle var radius = 100; // how big the circle is this.createEmptyMovieClip("circle\_mc", …

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

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