# programming

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

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

**Page:** 468

---

## [Dynamic htmlText - Unable to center it](https://forum.kirupa.com/t/dynamic-htmltext-unable-to-center-it/310914)

<div class="topic-metadata">

**Author:** [@humbucker](https://forum.kirupa.com/u/humbucker)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 8:06pm UTC](https://forum.kirupa.com/t/dynamic-htmltext-unable-to-center-it/310914 "2010-06-22T20:06:03Z")

</div>

Hi I need to be center htmlText loaded from XML into an autosize textfield. I've already tried to edit format, autosize center, but it stay at left. Here is my code, can you help ? var myFont2:Font = new Font2(); te…

---

## [\[AS1.0 Flash CS5\] Text form only accepting certain characters](https://forum.kirupa.com/t/as1-0-flash-cs5-text-form-only-accepting-certain-characters/310913)

<div class="topic-metadata">

**Author:** [@bryantjcoffey](https://forum.kirupa.com/u/bryantjcoffey)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 8:00pm UTC](https://forum.kirupa.com/t/as1-0-flash-cs5-text-form-only-accepting-certain-characters/310913 "2010-06-22T20:00:54Z")

</div>

Hey I just recently got Flash CS5 and am in process of customizing a templated flash website. I went in and as I was completing a mailto form I tested the movie and the text fields only accept the characters: 9, a, m, n…

---

## [removeChild on an MC from my library](https://forum.kirupa.com/t/removechild-on-an-mc-from-my-library/310909)

<div class="topic-metadata">

**Author:** [@J\_Mo](https://forum.kirupa.com/u/J_Mo)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 6:27pm UTC](https://forum.kirupa.com/t/removechild-on-an-mc-from-my-library/310909 "2010-06-22T18:27:02Z")

</div>

Hi, I have an MC that is called from my library when there is a specific error in my movie. My problem is that I cant manage to remove the movie clip when it is on the screen. I have a errorclose\_mc button in the err…

---

## [MC's holding custom variables](https://forum.kirupa.com/t/mcs-holding-custom-variables/310907)

<div class="topic-metadata">

**Author:** [@Cablestein](https://forum.kirupa.com/u/Cablestein)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 6:18pm UTC](https://forum.kirupa.com/t/mcs-holding-custom-variables/310907 "2010-06-22T18:18:26Z")

</div>

Hi Having a bunch of dynamically-created MC's, what is the best way to store custom variables for each MC? Do I just make a hidden textfield inside each MC to hold the data? For example I have MC's called: -Apple1 -…

---

## [Stage Size — MX 04 7.0](https://forum.kirupa.com/t/stage-size-mx-04-7-0/310906)

<div class="topic-metadata">

**Author:** [@oscartellez](https://forum.kirupa.com/u/oscartellez)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 6:13pm UTC](https://forum.kirupa.com/t/stage-size-mx-04-7-0/310906 "2010-06-22T18:13:28Z")

</div>

i am using MX 2004 7.0. the stage size i have is 336 x 280. when i export to .swf i open in browser and flash blows up to fit the browser window. I dont want that. I want the .swf file to ope at 336 x 280. HELP PLEASE!

---

## [AMF vs. XML -- not any smaller?](https://forum.kirupa.com/t/amf-vs-xml-not-any-smaller/310905)

<div class="topic-metadata">

**Author:** [@Anogar](https://forum.kirupa.com/u/Anogar)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 6:06pm UTC](https://forum.kirupa.com/t/amf-vs-xml-not-any-smaller/310905 "2010-06-22T18:06:11Z")

</div>

Edit: HEY, I'm dumb. Make sure you call bytes.compress() if you want compression. Lolz. I'm testing out AMF to see if I can save some file size, so I wrote a quick AIR2 test to see what the size difference is like b…

---

## [How could I refine this script with only one Graphic var](https://forum.kirupa.com/t/how-could-i-refine-this-script-with-only-one-graphic-var/310902)

<div class="topic-metadata">

**Author:** [@As\_quot\_g\_quot](https://forum.kirupa.com/u/As_quot_g_quot)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 5:20pm UTC](https://forum.kirupa.com/t/how-could-i-refine-this-script-with-only-one-graphic-var/310902 "2010-06-22T17:20:08Z")

</div>

I want to create 1 variable for the Graphic's instead of the current script wit 4. I've been using an array with loop but t no avail....Here is the working version: var buttons:Sprite = new Sprite(); var gr4:Graph…

---

## [Sending multiple Queries at same time?](https://forum.kirupa.com/t/sending-multiple-queries-at-same-time/310901)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 5:05pm UTC](https://forum.kirupa.com/t/sending-multiple-queries-at-same-time/310901 "2010-06-22T17:05:28Z")

</div>

Hey there, I am trying to query multiple things, so I can insert them into different fields within a table. I am a PHP newbsors, and having trouble at this part. Running one query, is not a problem. I need to do more…

---

## [Returning Multiple Objects from Function?](https://forum.kirupa.com/t/returning-multiple-objects-from-function/310900)

<div class="topic-metadata">

**Author:** [@as3ohh](https://forum.kirupa.com/u/as3ohh)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 4:53pm UTC](https://forum.kirupa.com/t/returning-multiple-objects-from-function/310900 "2010-06-22T16:53:06Z")

</div>

Hey Friends, I have a function that returns an object full of data pulled when an XML file gets parsed. But I also need to use an array object with additional data. That array also gets built in the same function. Is the…

---

## [Video has no audio after importing](https://forum.kirupa.com/t/video-has-no-audio-after-importing/310899)

<div class="topic-metadata">

**Author:** [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 4:37pm UTC](https://forum.kirupa.com/t/video-has-no-audio-after-importing/310899 "2010-06-22T16:37:10Z")

</div>

Using Flash CS4, I've imported a .mov video, went through the import video steps (i.e., choosing a file path, skin, etc.) and then published the swf. It looks and plays great, but I'm not getting any audio. Any idea wh…

---

## [Blog Roll problem](https://forum.kirupa.com/t/blog-roll-problem/310898)

<div class="topic-metadata">

**Author:** [@adalast](https://forum.kirupa.com/u/adalast)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 4:14pm UTC](https://forum.kirupa.com/t/blog-roll-problem/310898 "2010-06-22T16:14:26Z")

</div>

I am trying to make a blog roll program that will put the titles of a client’s blog on their homepage. i ran through a tutorial that got most of it working, but when i went to move from the tutorial to the client’s prog…

---

## [Online Playable Word Search Puzzles](https://forum.kirupa.com/t/online-playable-word-search-puzzles/310897)

<div class="topic-metadata">

**Author:** [@labory33](https://forum.kirupa.com/u/labory33)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 3:32pm UTC](https://forum.kirupa.com/t/online-playable-word-search-puzzles/310897 "2010-06-22T15:32:37Z")

</div>

Contrary about if Make sure firm can more than features like the rates brakes because parent company online playable word search puzzles your your car little competition lessee can choose to can only show rates need to a…

---

## [Duplicating dynamically generated MovieClip](https://forum.kirupa.com/t/duplicating-dynamically-generated-movieclip/310895)

<div class="topic-metadata">

**Author:** [@jabarwaki](https://forum.kirupa.com/u/jabarwaki)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 3:05pm UTC](https://forum.kirupa.com/t/duplicating-dynamically-generated-movieclip/310895 "2010-06-22T15:05:23Z")

</div>

\[FONT=Verdana\]Hi, I am loading several images from XML to dynamically generated movieclips (mc\_1, mc\_2, mc\_3...etc.). Then adding all of them into a parent MovieClip - imageContainerMc. So now, imageContainerMc holds m…

---

## [Error #2044: Unhandled skinError:. text=Error #2121: Security sandbox violation](https://forum.kirupa.com/t/error-2044-unhandled-skinerror-text-error-2121-security-sandbox-violation/310893)

<div class="topic-metadata">

**Author:** [@OML](https://forum.kirupa.com/u/OML)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 3:00pm UTC](https://forum.kirupa.com/t/error-2044-unhandled-skinerror-text-error-2121-security-sandbox-violation/310893 "2010-06-22T15:00:21Z")

</div>

Hello, I'm getting a security error while trying to load a custom skin to my player from my server. I've already tried placing the allowDomain with "\*" wildcard, and still it doesn't work. \*\* Here's the error:\*\* \*Err…

---

## [Creating a multi-step download page](https://forum.kirupa.com/t/creating-a-multi-step-download-page/310892)

<div class="topic-metadata">

**Author:** [@alliea](https://forum.kirupa.com/u/alliea)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 2:53pm UTC](https://forum.kirupa.com/t/creating-a-multi-step-download-page/310892 "2010-06-22T14:53:16Z")

</div>

I'm trying to create a download page with several options that lead you to other options that you can download. This page is pretty much exactly what I mean: http://www.commtech-fastcom.com/CommtechSoftware.html. I re…

---

## [Real Life Color Mixing](https://forum.kirupa.com/t/real-life-color-mixing/310890)

<div class="topic-metadata">

**Author:** [@dewey](https://forum.kirupa.com/u/dewey)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 2:11pm UTC](https://forum.kirupa.com/t/real-life-color-mixing/310890 "2010-06-22T14:11:08Z")

</div>

Hey Everyone... I'm curious if anyone has ever worked enough with the ColorTransform (or any other) classes in AS3 that would allow you to mix colors as they would mix in real life... I'm not sure if there is a proper …

---

## [Flash bug: img in textField not linking](https://forum.kirupa.com/t/flash-bug-img-in-textfield-not-linking/310886)

<div class="topic-metadata">

**Author:** [@johnnymeerkat](https://forum.kirupa.com/u/johnnymeerkat)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 12:35pm UTC](https://forum.kirupa.com/t/flash-bug-img-in-textfield-not-linking/310886 "2010-06-22T12:35:51Z")

</div>

Yesterday I spotted what seemed to be a minor issue with having a linked image in a dynamic textField. That minor issue has turned into a massive headache. Basically, this doesn't work as expected: myField.htmlText …

---

## [Steel Company Website](https://forum.kirupa.com/t/steel-company-website/310885)

<div class="topic-metadata">

**Author:** [@kmarnob](https://forum.kirupa.com/u/kmarnob)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 9:16am UTC](https://forum.kirupa.com/t/steel-company-website/310885 "2010-06-22T09:16:02Z")

</div>

Hi Every one, Could you please help me to provide URL of best Steel company website? Flash based will be great... Thank you.

---

## [What is this thing I sometimes use?](https://forum.kirupa.com/t/what-is-this-thing-i-sometimes-use/310884)

<div class="topic-metadata">

**Author:** [@e\_owen](https://forum.kirupa.com/u/e_owen)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 9:11am UTC](https://forum.kirupa.com/t/what-is-this-thing-i-sometimes-use/310884 "2010-06-22T09:11:27Z")

</div>

I sometimes use a statement(?) that I have today forgotten how to write and now I can't find it on Google because I don't know what to look for... It looks something like the below and is like a shorthand if.. else (…

---

## [GetCursorPos problem](https://forum.kirupa.com/t/getcursorpos-problem/310879)

<div class="topic-metadata">

**Author:** [@speedy\_rudolf](https://forum.kirupa.com/u/speedy_rudolf)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 7:21am UTC](https://forum.kirupa.com/t/getcursorpos-problem/310879 "2010-06-22T07:21:32Z")

</div>

\[FONT=Consolas\] \[COLOR=#0000ff\]\[FONT=Consolas\] \[COLOR=#0000ff\]\[FONT=Consolas\] \[COLOR=#0000ff\]\[FONT=Consolas\] \[COLOR=#0000ff\]\[FONT=Consolas\] \[COLOR=#0000ff\]\[FONT=Consolas\] \[COLOR=#0000ff\]Hi. Iave thefolowing ode se…

---

## [How to generate movieclips dynamically in a circular fashion](https://forum.kirupa.com/t/how-to-generate-movieclips-dynamically-in-a-circular-fashion/310877)

<div class="topic-metadata">

**Author:** [@rajesh\_flash](https://forum.kirupa.com/u/rajesh_flash)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 6:38am UTC](https://forum.kirupa.com/t/how-to-generate-movieclips-dynamically-in-a-circular-fashion/310877 "2010-06-22T06:38:29Z")

</div>

Hello Friends, I need a small help from you guys. I want to generate movielclips dynamically using xml nodes in a circular fashion (lets assume 360 degree circle). Suppose if i have 5 nodes in xml, then it has to gen…

---

## [Add element to array if element is not in there already](https://forum.kirupa.com/t/add-element-to-array-if-element-is-not-in-there-already/310876)

<div class="topic-metadata">

**Author:** [@Skribble](https://forum.kirupa.com/u/Skribble)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 4:43am UTC](https://forum.kirupa.com/t/add-element-to-array-if-element-is-not-in-there-already/310876 "2010-06-22T04:43:16Z")

</div>

Hey guys, another question here. This is for a small RTS prototype I'm working on for some fun, but I've hit a snag. For examples sake, I've got two arrays, activeAgents and houseArray. A number of movieclips (player c…

---

## [HTMLText and CS5 (Embedding Texts)](https://forum.kirupa.com/t/htmltext-and-cs5-embedding-texts/310875)

<div class="topic-metadata">

**Author:** [@arunforce](https://forum.kirupa.com/u/arunforce)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 2:57am UTC](https://forum.kirupa.com/t/htmltext-and-cs5-embedding-texts/310875 "2010-06-22T02:57:57Z")

</div>

I've done my fair share on searching for this, and I couldn't really find anything about it except CSS related stuff, which is not what I am looking for. I have a text field on the stage with font Arial, and I embed Ar…

---

## [Trouble with Wizard's sliding menu tutorial](https://forum.kirupa.com/t/trouble-with-wizards-sliding-menu-tutorial/310872)

<div class="topic-metadata">

**Author:** [@Birdbeak](https://forum.kirupa.com/u/Birdbeak)\
**Replies:** 0\
**Last updated:** [June 22, 2010, 12:56am UTC](https://forum.kirupa.com/t/trouble-with-wizards-sliding-menu-tutorial/310872 "2010-06-22T00:56:47Z")

</div>

Hey guys, I'm trying to create a simple menu with a slider at the bottom but I just can't get it to align properly. Can anyone see why that would be? I've followed the tutorial here: http://www.kirupa.com/developer/mx2…

---

## [Get row from sql server database](https://forum.kirupa.com/t/get-row-from-sql-server-database/310869)

<div class="topic-metadata">

**Author:** [@Vandel212](https://forum.kirupa.com/u/Vandel212)\
**Replies:** 0\
**Last updated:** [June 21, 2010, 9:38pm UTC](https://forum.kirupa.com/t/get-row-from-sql-server-database/310869 "2010-06-21T21:38:14Z")

</div>

I'm using SQL server 2005 and Visual Webdeveloper 2008 express. Hi, I have a database created and I've successfully connected to it. My question is, would it be possible to do something like search the first column of …

---

## [PHP: Temporarily disable history logging](https://forum.kirupa.com/t/php-temporarily-disable-history-logging/310868)

<div class="topic-metadata">

**Author:** [@thalamus](https://forum.kirupa.com/u/thalamus)\
**Replies:** 0\
**Last updated:** [June 21, 2010, 6:33pm UTC](https://forum.kirupa.com/t/php-temporarily-disable-history-logging/310868 "2010-06-21T18:33:43Z")

</div>

Hello: Is there a way to "turn off" history in PHP (or JS) temporarily for a page and then re-enable for next page? I'm using echo('location.replace(" (URL here) ")'); Back button history shows 2nd address only, but …

---

## [AS2 CS4 - "Allow smoothing" for FLV's?](https://forum.kirupa.com/t/as2-cs4-allow-smoothing-for-flvs/310867)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [June 21, 2010, 6:31pm UTC](https://forum.kirupa.com/t/as2-cs4-allow-smoothing-for-flvs/310867 "2010-06-21T18:31:12Z")

</div>

I've got a swf that was designed at 800x600 for a presentation and now we want to put it on our website, resized via ActionScript to 520x390. The vector art scales just fine, but we have two short FLV animations that pla…

---

## [DataGrid txt style](https://forum.kirupa.com/t/datagrid-txt-style/310866)

<div class="topic-metadata">

**Author:** [@Solidus](https://forum.kirupa.com/u/Solidus)\
**Replies:** 0\
**Last updated:** [June 21, 2010, 5:33pm UTC](https://forum.kirupa.com/t/datagrid-txt-style/310866 "2010-06-21T17:33:52Z")

</div>

Hey guys, I am working on this DataGrid and had a quick question. \[image\] I am using a DataGrid to display products that are selected through this wizard. Now all the txt that is displayed is just the default txt of …

---

## [Google Maps Flash API: Refining the search area](https://forum.kirupa.com/t/google-maps-flash-api-refining-the-search-area/310863)

<div class="topic-metadata">

**Author:** [@J\_Mo](https://forum.kirupa.com/u/J_Mo)\
**Replies:** 0\
**Last updated:** [June 21, 2010, 4:27pm UTC](https://forum.kirupa.com/t/google-maps-flash-api-refining-the-search-area/310863 "2010-06-21T16:27:29Z")

</div>

\[COLOR=#000000\]\[FONT=Times New Roman\]\[COLOR=#444444\]\[FONT=Segoe UI\]\[FONT=verdana\]Hi, I have implemented a Google Maps Flash API with a place search. This all works fine but I need to make the area that is searched smal…

---

## [URLRequest to other domain results in Sandbox Violation](https://forum.kirupa.com/t/urlrequest-to-other-domain-results-in-sandbox-violation/310862)

<div class="topic-metadata">

**Author:** [@kvnfldng](https://forum.kirupa.com/u/kvnfldng)\
**Replies:** 0\
**Last updated:** [June 21, 2010, 4:01pm UTC](https://forum.kirupa.com/t/urlrequest-to-other-domain-results-in-sandbox-violation/310862 "2010-06-21T16:01:26Z")

</div>

I am trying to access a URL generated at runtime of my swf ("http://www.yourdictionary.com/synonyms/"+synVariable+".html") using URLRequest. It works fine when I test from within flash CS5 pro but when I host to my serve…

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

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