# programming

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

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

**Page:** 1437

---

## [Dynamic Movie Clip naming](https://forum.kirupa.com/t/dynamic-movie-clip-naming/246480)

<div class="topic-metadata">

**Author:** [@m0nk3y](https://forum.kirupa.com/u/m0nk3y)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 3:35pm UTC](https://forum.kirupa.com/t/dynamic-movie-clip-naming/246480 "2007-12-11T15:35:16Z")

</div>

Hi I'm having a little trouble adding dynamic names in ActionScript 3.0 like I could in AS2.0, can anyone help please? var i:Number=1; var mc\*:MovieClip();

---

## [Thumbnails: reorganize them on browser resize?](https://forum.kirupa.com/t/thumbnails-reorganize-them-on-browser-resize/246478)

<div class="topic-metadata">

**Author:** [@artriste](https://forum.kirupa.com/u/artriste)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 3:21pm UTC](https://forum.kirupa.com/t/thumbnails-reorganize-them-on-browser-resize/246478 "2007-12-11T15:21:43Z")

</div>

Using an XML generated gallery, I would like to add the feature of repositioning the dynamically loaded thumbnails when the browser is resized. Currently, the thumbnails are laid out in columns and row, the number of col…

---

## [Update an text input field](https://forum.kirupa.com/t/update-an-text-input-field/246477)

<div class="topic-metadata">

**Author:** [@Ubermeowmix](https://forum.kirupa.com/u/Ubermeowmix)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 3:03pm UTC](https://forum.kirupa.com/t/update-an-text-input-field/246477 "2007-12-11T15:03:34Z")

</div>

Flash doesn't seem to update the info in the text boxes after a button press: submitBtn.onRelease = function(){ if ((userName != "") && (userEmail != "")){ gotoAndStop("end"); } else { trace("it…

---

## [loadVar.send same window](https://forum.kirupa.com/t/loadvar-send-same-window/246473)

<div class="topic-metadata">

**Author:** [@bardic](https://forum.kirupa.com/u/bardic)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 2:33pm UTC](https://forum.kirupa.com/t/loadvar-send-same-window/246473 "2007-12-11T14:33:39Z")

</div>

I want to use loadvars.send but I would rather it didn't open the target page in a new tab, but to act like a normal page would... Anyone know of any work arounds? Thanks

---

## [Help! Problem with external swf](https://forum.kirupa.com/t/help-problem-with-external-swf/246470)

<div class="topic-metadata">

**Author:** [@vega](https://forum.kirupa.com/u/vega)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 1:46pm UTC](https://forum.kirupa.com/t/help-problem-with-external-swf/246470 "2007-12-11T13:46:33Z")

</div>

I have a flash game which I am loading into the main flash movie using the movieClipLoader object. It loads perfectly but the animations look horribly jerky. When I display the game itself in its own html page, it works …

---

## [as3 embedding fonts and using variations in textformats](https://forum.kirupa.com/t/as3-embedding-fonts-and-using-variations-in-textformats/246468)

<div class="topic-metadata">

**Author:** [@spasticfantastic](https://forum.kirupa.com/u/spasticfantastic)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 1:39pm UTC](https://forum.kirupa.com/t/as3-embedding-fonts-and-using-variations-in-textformats/246468 "2007-12-11T13:39:53Z")

</div>

Hello, I'm posting this to help others who have searched for help on this topic and only found Flex examples with embed tags etc. Platform: AS3 in flash IDE Scenario: I want to - embed fonts - be able to change th…

---

## [Unloading XML / Clearing Array / Scope? - Help Needed!](https://forum.kirupa.com/t/unloading-xml-clearing-array-scope-help-needed/246467)

<div class="topic-metadata">

**Author:** [@StigC](https://forum.kirupa.com/u/StigC)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 1:33pm UTC](https://forum.kirupa.com/t/unloading-xml-clearing-array-scope-help-needed/246467 "2007-12-11T13:33:02Z")

</div>

Hey Everyone. I'm modifying an xml/mp3 player i built to load different song libraries. Basically it's for a personal site, and I want it to be able to load different projects I've worked on. My problem is: I can loa…

---

## [Problem using SWF to launch page in specific frame within HTML frameset](https://forum.kirupa.com/t/problem-using-swf-to-launch-page-in-specific-frame-within-html-frameset/246460)

<div class="topic-metadata">

**Author:** [@lisalester](https://forum.kirupa.com/u/lisalester)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 11:49am UTC](https://forum.kirupa.com/t/problem-using-swf-to-launch-page-in-specific-frame-within-html-frameset/246460 "2007-12-11T11:49:13Z")

</div>

Hi there, Please could someone assist - I have an HTML frameset with a leftFrame and mainFrame. My navigation has been built in Flash and the SWF is embedded in the leftFrame. The pages that the nav link to need to loa…

---

## [Tweening alpha, not affecting children?](https://forum.kirupa.com/t/tweening-alpha-not-affecting-children/246459)

<div class="topic-metadata">

**Author:** [@sceneshift](https://forum.kirupa.com/u/sceneshift)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 11:25am UTC](https://forum.kirupa.com/t/tweening-alpha-not-affecting-children/246459 "2007-12-11T11:25:45Z")

</div>

I have a movieclip (holder) with 5 other movieclips inside it, these range from png images and other movieclips... but all 5 of them are in their own separate movieclip. I tween the alpha of my holder mc from 0 to 1 (u…

---

## [Disabling Buttons?](https://forum.kirupa.com/t/disabling-buttons/246455)

<div class="topic-metadata">

**Author:** [@jpixel](https://forum.kirupa.com/u/jpixel)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 10:40am UTC](https://forum.kirupa.com/t/disabling-buttons/246455 "2007-12-11T10:40:06Z")

</div>

Ok so I have a website, and each section fades in and fades out. The problem is the hidden sections (alpha=0) still have their buttons active...you can click them and I don't use buttons, they are movieclips with actio…

---

## [Half circle XY Placement](https://forum.kirupa.com/t/half-circle-xy-placement/246454)

<div class="topic-metadata">

**Author:** [@blaatorx](https://forum.kirupa.com/u/blaatorx)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 10:23am UTC](https://forum.kirupa.com/t/half-circle-xy-placement/246454 "2007-12-11T10:23:05Z")

</div>

Peepz, I Have a script to caclulate a full circle placeMent, but i can't rewrite it to a half circle. can somebody help me out? function calcCirlceXY(myArray:Array):Array { var radius:Number = 200; var amount:Numb…

---

## [Script contains errors when using import?](https://forum.kirupa.com/t/script-contains-errors-when-using-import/246453)

<div class="topic-metadata">

**Author:** [@keitai](https://forum.kirupa.com/u/keitai)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 10:11am UTC](https://forum.kirupa.com/t/script-contains-errors-when-using-import/246453 "2007-12-11T10:11:34Z")

</div>

Hi there, Been awhile since i last used flash 8, but a simple import gives me the following error message Error Scene=Page 1, layer=Script 0, frame=1:Line 1: Syntax error. import mx.transitions.Tween; Error Scene=Pa…

---

## [Depths. Argh!](https://forum.kirupa.com/t/depths-argh/246449)

<div class="topic-metadata">

**Author:** [@retribution](https://forum.kirupa.com/u/retribution)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 9:07am UTC](https://forum.kirupa.com/t/depths-argh/246449 "2007-12-11T09:07:40Z")

</div>

Hi everyone. I have what should be a pretty simple request for you script-masters! I have a series of background MCs, all different coloured gradients (pretty!), and a series of corresponding buttons elsewhere on the…

---

## [\[help\] Game counter?](https://forum.kirupa.com/t/help-game-counter/246446)

<div class="topic-metadata">

**Author:** [@cjj](https://forum.kirupa.com/u/cjj)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 8:41am UTC](https://forum.kirupa.com/t/help-game-counter/246446 "2007-12-11T08:41:37Z")

</div>

Im not sure how to go about this script. Basically I have games on my website and users are only allowed to play a specific game 5 times a day. And the next day the counter will start at 0 again. I created a database…

---

## [Refreshing page](https://forum.kirupa.com/t/refreshing-page/246445)

<div class="topic-metadata">

**Author:** [@bulletz](https://forum.kirupa.com/u/bulletz)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 8:34am UTC](https://forum.kirupa.com/t/refreshing-page/246445 "2007-12-11T08:34:10Z")

</div>

Hello. How can I refresh a page after receiving result from PHP? I use "sendAndLoad" to send variable from flash(8) to php.

---

## [Create log file](https://forum.kirupa.com/t/create-log-file/246444)

<div class="topic-metadata">

**Author:** [@edryan](https://forum.kirupa.com/u/edryan)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 8:29am UTC](https://forum.kirupa.com/t/create-log-file/246444 "2007-12-11T08:29:35Z")

</div>

i have a page and then i want to create logs on every click or every move on my page.. how can i do it with php? should i post some insertion codes or not? tnx

---

## [Creating sub menu](https://forum.kirupa.com/t/creating-sub-menu/246443)

<div class="topic-metadata">

**Author:** [@teenup](https://forum.kirupa.com/u/teenup)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 8:26am UTC](https://forum.kirupa.com/t/creating-sub-menu/246443 "2007-12-11T08:26:42Z")

</div>

Hi, Is there a way in AS3 to add a sub-menu to the default context menu? Thanks

---

## [Extending V2 Components](https://forum.kirupa.com/t/extending-v2-components/246442)

<div class="topic-metadata">

**Author:** [@black\_pearl](https://forum.kirupa.com/u/black_pearl)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 8:01am UTC](https://forum.kirupa.com/t/extending-v2-components/246442 "2007-12-11T08:01:09Z")

</div>

Hi, I am new to Kirupa Forum. I want to extend v2 components but I did not find any document or help in the net. Can anybody please send me some reference for learning how to extend v2 components. Thanks

---

## [Is ther an equivalent to SetAttribute()](https://forum.kirupa.com/t/is-ther-an-equivalent-to-setattribute/246441)

<div class="topic-metadata">

**Author:** [@glidealong](https://forum.kirupa.com/u/glidealong)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 7:08am UTC](https://forum.kirupa.com/t/is-ther-an-equivalent-to-setattribute/246441 "2007-12-11T07:08:49Z")

</div>

I am assembling a XML object from an associative array using the e4x standards. One thing that i coudnt figure out is how to set the attributes of an xml node in an xml object. Javascript has something like xmlnode.setat…

---

## [Access main stage properties within a class](https://forum.kirupa.com/t/access-main-stage-properties-within-a-class/246440)

<div class="topic-metadata">

**Author:** [@anon4341189](https://forum.kirupa.com/u/anon4341189)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 6:49am UTC](https://forum.kirupa.com/t/access-main-stage-properties-within-a-class/246440 "2007-12-11T06:49:44Z")

</div>

Hello all, Does anyone have solutions to accessing the main stage properties from within a class? Currently I have a movieClip with something in there that is sized at 900 (width) x 500 (height) with a linkage name c…

---

## [\[FLASH8\] Placing a startFlag in the Easing code](https://forum.kirupa.com/t/flash8-placing-a-startflag-in-the-easing-code/246439)

<div class="topic-metadata">

**Author:** [@mcotterill](https://forum.kirupa.com/u/mcotterill)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 6:37am UTC](https://forum.kirupa.com/t/flash8-placing-a-startflag-in-the-easing-code/246439 "2007-12-11T06:37:29Z")

</div>

Hi! I am relatively new to ActionScript using Flash Professional 8 and was wondering if I can implement the startFlag as used in the Sliding Menu tut into the Easing code found a this tut http://www.kirupa.com/develope…

---

## [Strange Problem with my Site](https://forum.kirupa.com/t/strange-problem-with-my-site/246437)

<div class="topic-metadata">

**Author:** [@Corvis777](https://forum.kirupa.com/u/Corvis777)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 6:25am UTC](https://forum.kirupa.com/t/strange-problem-with-my-site/246437 "2007-12-11T06:25:53Z")

</div>

I wasn't sure if this was the relevant forum to post this in(almost posted it in HTML), but does anyone know why the banners on the front of my site, as well as my Portfolio, are visible when you access it via: http://ww…

---

## [How to get and send values in AICC - HACP method](https://forum.kirupa.com/t/how-to-get-and-send-values-in-aicc-hacp-method/246432)

<div class="topic-metadata">

**Author:** [@amutha](https://forum.kirupa.com/u/amutha)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 5:17am UTC](https://forum.kirupa.com/t/how-to-get-and-send-values-in-aicc-hacp-method/246432 "2007-12-11T05:17:27Z")

</div>

I am new to AICC. Is anybody know how to get and send values in AICC - HACP method ?

---

## [Combo box problem. HELP](https://forum.kirupa.com/t/combo-box-problem-help/246431)

<div class="topic-metadata">

**Author:** [@anel](https://forum.kirupa.com/u/anel)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 5:12am UTC](https://forum.kirupa.com/t/combo-box-problem-help/246431 "2007-12-11T05:12:40Z")

</div>

\[FONT=verdana, arial, helvetica\] Hi, im having a strange problem with a combobox. I have a layer called SCRIPT and on the first frame i put an actionscript that attach a movieclip (attachMovie). After i attach that mo…

---

## [Set Default values in php my admin](https://forum.kirupa.com/t/set-default-values-in-php-my-admin/246426)

<div class="topic-metadata">

**Author:** [@edryan](https://forum.kirupa.com/u/edryan)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 3:54am UTC](https://forum.kirupa.com/t/set-default-values-in-php-my-admin/246426 "2007-12-11T03:54:55Z")

</div>

the integer count, when you create a primary key with auto increment(e.g. idnum), is idnum + 1..i want to start the count of my idnum field(for example) to 2007.. how could i set a default value for my idnum field?:hurt:…

---

## [Product Color Chooser - Checkbox Help](https://forum.kirupa.com/t/product-color-chooser-checkbox-help/246424)

<div class="topic-metadata">

**Author:** [@Sarabande](https://forum.kirupa.com/u/Sarabande)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 3:51am UTC](https://forum.kirupa.com/t/product-color-chooser-checkbox-help/246424 "2007-12-11T03:51:33Z")

</div>

I'm new to Flash, so hopefully I'll be able to clearly explain what I'm trying to achieve. I'm making a product color chooser (Actionscript 2.0), that is intended to allow customers to preview different color combination…

---

## [CSS background center problem](https://forum.kirupa.com/t/css-background-center-problem/246423)

<div class="topic-metadata">

**Author:** [@reblis](https://forum.kirupa.com/u/reblis)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 3:46am UTC](https://forum.kirupa.com/t/css-background-center-problem/246423 "2007-12-11T03:46:49Z")

</div>

I'm fairly new to css and am having a perplexing problem. when I add a line of code: background-position: center; it drops my backgroud image down 15-20 pixels. I dontunderstand why. www.alchemyhairsalon.com/200…

---

## [Help with Kirupa SWF Transition](https://forum.kirupa.com/t/help-with-kirupa-swf-transition/246419)

<div class="topic-metadata">

**Author:** [@pimsme](https://forum.kirupa.com/u/pimsme)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 2:02am UTC](https://forum.kirupa.com/t/help-with-kirupa-swf-transition/246419 "2007-12-11T02:02:18Z")

</div>

I know this is probably obvious, but i can not get it to work. I have this code embedded in a MC (2 Lvls) and i tried to add MC names after the \_root to hope to make it work, but to no result. The rest of the kirupa tran…

---

## [Kinda urgent question (code error = frozen flash :S), and then a URL question](https://forum.kirupa.com/t/kinda-urgent-question-code-error-frozen-flash-s-and-then-a-url-question/246418)

<div class="topic-metadata">

**Author:** [@gsquare567](https://forum.kirupa.com/u/gsquare567)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 1:59am UTC](https://forum.kirupa.com/t/kinda-urgent-question-code-error-frozen-flash-s-and-then-a-url-question/246418 "2007-12-11T01:59:27Z")

</div>

ok, well i just tried AS for the first time, made a cool movieclip with an invisible button on top, but it looks like i've made a mistake cuz the whole thing just stopped and now my flash is frozen. if i exit, i lose my …

---

## [loadURLRequest gotoAndPlay frame label](https://forum.kirupa.com/t/loadurlrequest-gotoandplay-frame-label/246416)

<div class="topic-metadata">

**Author:** [@HIPPY](https://forum.kirupa.com/u/HIPPY)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 1:23am UTC](https://forum.kirupa.com/t/loadurlrequest-gotoandplay-frame-label/246416 "2007-12-11T01:23:23Z")

</div>

Hi I'm loading a long timeline into a listener and trying to use buttons on a menu to goto andplay the frame label further into the timeline. My selling\_btn has this AS and loads the .swf but no luck going to the fram…

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

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