# programming

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

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

**Page:** 1393

---

## [Referencing the stage from a loaded swf](https://forum.kirupa.com/t/referencing-the-stage-from-a-loaded-swf/249573)

<div class="topic-metadata">

**Author:** [@mmattrw](https://forum.kirupa.com/u/mmattrw)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 9:47am UTC](https://forum.kirupa.com/t/referencing-the-stage-from-a-loaded-swf/249573 "2008-01-20T09:47:21Z")

</div>

I am converting my website, which has a liquid interface, to as3 but I am still learning and I have a problem. I have child.swf that I load dynamically into parent.swf. When I run that I get: TypeError: Error #1009: C…

---

## [Custom Select Box? (JS)](https://forum.kirupa.com/t/custom-select-box-js/249569)

<div class="topic-metadata">

**Author:** [@lorren\_biffin](https://forum.kirupa.com/u/lorren_biffin)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 8:08am UTC](https://forum.kirupa.com/t/custom-select-box-js/249569 "2008-01-20T08:08:02Z")

</div>

Does anybody have a quick tutorial on creating a custom styled select box with JS/CSS? (...or if you have a script you already use that makes it easy and isn't too heavy I'd appreciate a link) Thanks! \[smile\]

---

## [Easy Scripting Question, Not Easy for me though](https://forum.kirupa.com/t/easy-scripting-question-not-easy-for-me-though/249568)

<div class="topic-metadata">

**Author:** [@marvicus](https://forum.kirupa.com/u/marvicus)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 8:01am UTC](https://forum.kirupa.com/t/easy-scripting-question-not-easy-for-me-though/249568 "2008-01-20T08:01:41Z")

</div>

Hello, I am pretty new to scripting in AS3 and want to be able to creat a drop down menu. I've created the menu and have the mouse overs and outs working perfectly. But I need to be able to make the actual buttons in…

---

## [MovieClip object not appearing on the stage after passing it to addChild()](https://forum.kirupa.com/t/movieclip-object-not-appearing-on-the-stage-after-passing-it-to-addchild/249566)

<div class="topic-metadata">

**Author:** [@ChillDown](https://forum.kirupa.com/u/ChillDown)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 7:16am UTC](https://forum.kirupa.com/t/movieclip-object-not-appearing-on-the-stage-after-passing-it-to-addchild/249566 "2008-01-20T07:16:44Z")

</div>

Short explanation of my question: addChild appears 1 time in the code i posted. I essentially pass something to addChild. Yet i cannot pinpoint where in the code the cause arises of why nothing seems to be added to the s…

---

## [Question on Sound](https://forum.kirupa.com/t/question-on-sound/249564)

<div class="topic-metadata">

**Author:** [@darkshia](https://forum.kirupa.com/u/darkshia)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 6:18am UTC](https://forum.kirupa.com/t/question-on-sound/249564 "2008-01-20T06:18:41Z")

</div>

Hello, ^^; umm I'm new to flash and am having trouble with making one music stop on one scene and then a new music can play on another scene so they don't overlap.. \[URL="http://zeiva.deviantart.com/art/Other-Age-3993131…

---

## [Trace gives result, but still can't load the image](https://forum.kirupa.com/t/trace-gives-result-but-still-cant-load-the-image/249562)

<div class="topic-metadata">

**Author:** [@Beebs](https://forum.kirupa.com/u/Beebs)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 5:10am UTC](https://forum.kirupa.com/t/trace-gives-result-but-still-cant-load-the-image/249562 "2008-01-20T05:10:38Z")

</div>

Can someone have alook at this code, why I cannot load the image into the largePicture\_MC System.useCodepage = true; stop(); // for easing import mx.transitions.\*; import mx.transitions.easing.\*; // set the stage to…

---

## [Make sound start secs later from its actual begining?](https://forum.kirupa.com/t/make-sound-start-secs-later-from-its-actual-begining/249559)

<div class="topic-metadata">

**Author:** [@schammy79](https://forum.kirupa.com/u/schammy79)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 4:41am UTC](https://forum.kirupa.com/t/make-sound-start-secs-later-from-its-actual-begining/249559 "2008-01-20T04:41:25Z")

</div>

Hey there! I have the script below from a tutorial, and I want to make my track start 30 seconds from its actual beginning, in order to make it fit my swf better. I know it's gotta be a silly detail but I'm new to Acti…

---

## [PHP - Problem replacing new lines](https://forum.kirupa.com/t/php-problem-replacing-new-lines/249557)

<div class="topic-metadata">

**Author:** [@dinchu37](https://forum.kirupa.com/u/dinchu37)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 3:41am UTC](https://forum.kirupa.com/t/php-problem-replacing-new-lines/249557 "2008-01-20T03:41:24Z")

</div>

i have a script that reads a html doc and i cannot find a function that allows me to replace an empty line for a "backspace", i tried replacing but i still getting an empty line. i also need a function that allows me to …

---

## [ADD NEW FRAME - Need help urgently!](https://forum.kirupa.com/t/add-new-frame-need-help-urgently/249556)

<div class="topic-metadata">

**Author:** [@avukovi4](https://forum.kirupa.com/u/avukovi4)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 3:36am UTC](https://forum.kirupa.com/t/add-new-frame-need-help-urgently/249556 "2008-01-20T03:36:05Z")

</div>

I'm almost done with my little application, but as allways there's a problem. Little description: I have an array of questions and function which randomly choose n of those questions. I want only 10 questions to be dis…

---

## [Dynamic naming with addChild() - I still don't get it](https://forum.kirupa.com/t/dynamic-naming-with-addchild-i-still-dont-get-it/249555)

<div class="topic-metadata">

**Author:** [@ticattack](https://forum.kirupa.com/u/ticattack)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 3:28am UTC](https://forum.kirupa.com/t/dynamic-naming-with-addchild-i-still-dont-get-it/249555 "2008-01-20T03:28:21Z")

</div>

Hi everyone. New to the boards here, stumbled upon them via some excellent tutorials on the site. I've been working on a little program, basically a shell to allow miniature wargames (among other things) to be played v…

---

## [\[PHP/MySQL\] Concept Help](https://forum.kirupa.com/t/php-mysql-concept-help/249551)

<div class="topic-metadata">

**Author:** [@nobody](https://forum.kirupa.com/u/nobody)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 12:18am UTC](https://forum.kirupa.com/t/php-mysql-concept-help/249551 "2008-01-20T00:18:20Z")

</div>

So I'm working on a project and I'm thoroughly stuck. I'm not sure if I need code help or maybe just concept help. Essentially what's going on is I have a database full of events which are pulled on to a calendar. Th…

---

## [Difficulties With Nav Menu](https://forum.kirupa.com/t/difficulties-with-nav-menu/249550)

<div class="topic-metadata">

**Author:** [@kagoolsby](https://forum.kirupa.com/u/kagoolsby)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 11:59pm UTC](https://forum.kirupa.com/t/difficulties-with-nav-menu/249550 "2008-01-19T23:59:05Z")

</div>

Hello all. Apologies to ask a question as a first post. I've been working for over 24 hours trying to figure out why the pop-out nav menu I am trying to author is not operating correctly. At first, I had coded the script…

---

## [Session\_start is causing problems](https://forum.kirupa.com/t/session-start-is-causing-problems/249547)

<div class="topic-metadata">

**Author:** [@chrisclick](https://forum.kirupa.com/u/chrisclick)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 11:55pm UTC](https://forum.kirupa.com/t/session-start-is-causing-problems/249547 "2008-01-19T23:55:16Z")

</div>

I spent a huge amount of time making a site, when I went to login to the admin panel. I this error \*\*Warning\*\*: session\_start() \[\[function.session-start\](http://wobbleandglob.com/wb-admin/admin/function.session-sta…

---

## [Dynamically Attaching Components](https://forum.kirupa.com/t/dynamically-attaching-components/249543)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 11:21pm UTC](https://forum.kirupa.com/t/dynamically-attaching-components/249543 "2008-01-19T23:21:00Z")

</div>

I'm attaching some label components dynamically using attachMovie(); and I'm finding that I can't assign text to the label fields at the same time - the text won't show up because the components are slow to initialize. I…

---

## [AS3 Full browser flash](https://forum.kirupa.com/t/as3-full-browser-flash/249541)

<div class="topic-metadata">

**Author:** [@deathbydesignnz](https://forum.kirupa.com/u/deathbydesignnz)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 10:12pm UTC](https://forum.kirupa.com/t/as3-full-browser-flash/249541 "2008-01-19T22:12:41Z")

</div>

Hi, am currently building a full browser site using as3 and will probably have loads of questions.. i am able to get it all expanding correctly etc.. i want a preloader bar that expands the width of the stage but cant…

---

## [\[AS2\] easy one for you guys :)](https://forum.kirupa.com/t/as2-easy-one-for-you-guys/249540)

<div class="topic-metadata">

**Author:** [@bmo](https://forum.kirupa.com/u/bmo)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 10:06pm UTC](https://forum.kirupa.com/t/as2-easy-one-for-you-guys/249540 "2008-01-19T22:06:20Z")

</div>

I hate using \_root in my code. I have no clue what to do when I'm referencing from inside listeners though. For example, a MovieClipLoader listener. var mcl:MovieClipLoader = new MovieClipLoader(); var listener:Obje…

---

## [XML Portfolio - Created, but Need Thumbnails to Scroll](https://forum.kirupa.com/t/xml-portfolio-created-but-need-thumbnails-to-scroll/249539)

<div class="topic-metadata">

**Author:** [@eperrier](https://forum.kirupa.com/u/eperrier)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 9:44pm UTC](https://forum.kirupa.com/t/xml-portfolio-created-but-need-thumbnails-to-scroll/249539 "2008-01-19T21:44:14Z")

</div>

Hi, Of course I'm new at this by a long shot - trained as a designer, but getting thrown into coding... any help is MUCH appreciated. I used the tutorial here: http://www.kirupa.com/web/xml/examples/portfolio.htm to cr…

---

## [Sound no valid device?](https://forum.kirupa.com/t/sound-no-valid-device/249534)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 8:39pm UTC](https://forum.kirupa.com/t/sound-no-valid-device/249534 "2008-01-19T20:39:39Z")

</div>

\[issue solved\]

---

## [Animated Rollover Question](https://forum.kirupa.com/t/animated-rollover-question/249533)

<div class="topic-metadata">

**Author:** [@ImSoConfused84](https://forum.kirupa.com/u/ImSoConfused84)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 8:28pm UTC](https://forum.kirupa.com/t/animated-rollover-question/249533 "2008-01-19T20:28:13Z")

</div>

Hello I am trying to make an animated button and have been successful in using the tutorial in kirupa that shows me the actionscript for creating this effect. http://www.kirupa.com/developer/mx2004/button\_effect.htm …

---

## [ActionScript to JavaScript, ExternalInterface](https://forum.kirupa.com/t/actionscript-to-javascript-externalinterface/249530)

<div class="topic-metadata">

**Author:** [@jnsjohansson](https://forum.kirupa.com/u/jnsjohansson)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 7:22pm UTC](https://forum.kirupa.com/t/actionscript-to-javascript-externalinterface/249530 "2008-01-19T19:22:11Z")

</div>

Hi, searched for this problem but the solution does not match my case. And if it does I really don't understand how this works. Anyhow. First off I import the ExternalInterface within my class. After that I make the ca…

---

## [Sending an e-mail through a function](https://forum.kirupa.com/t/sending-an-e-mail-through-a-function/249529)

<div class="topic-metadata">

**Author:** [@dreamerp](https://forum.kirupa.com/u/dreamerp)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 7:13pm UTC](https://forum.kirupa.com/t/sending-an-e-mail-through-a-function/249529 "2008-01-19T19:13:04Z")

</div>

Hello, I am using PHP to send e-mail to people who subscribe to other users posting content. I call the function and it retrieves the e-mails which have subscribed to this user who has posted something. Then I use th…

---

## [Close, but not quite](https://forum.kirupa.com/t/close-but-not-quite/249528)

<div class="topic-metadata">

**Author:** [@tazboy](https://forum.kirupa.com/u/tazboy)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 7:09pm UTC](https://forum.kirupa.com/t/close-but-not-quite/249528 "2008-01-19T19:09:26Z")

</div>

I'm trying to unload a movieclip when it's pressed and load another one in its place. For some reason the loaded movieclip is always being loaded at row 7 column 10. Why is that? var columns:Number = 10; var rows:Numb…

---

## [Yep... Another Newbie Who Looking for Help](https://forum.kirupa.com/t/yep-another-newbie-who-looking-for-help/249526)

<div class="topic-metadata">

**Author:** [@Alasandro](https://forum.kirupa.com/u/Alasandro)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 6:53pm UTC](https://forum.kirupa.com/t/yep-another-newbie-who-looking-for-help/249526 "2008-01-19T18:53:35Z")

</div>

Hello everyone, I'm a newbie to flash and things have been going well since I've bought just about every book and taken just about every tutorial on everything except action script 3.0. (Or any action script at all for…

---

## [Calling all geeks - CGI on Internap Server](https://forum.kirupa.com/t/calling-all-geeks-cgi-on-internap-server/249525)

<div class="topic-metadata">

**Author:** [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 6:49pm UTC](https://forum.kirupa.com/t/calling-all-geeks-cgi-on-internap-server/249525 "2008-01-19T18:49:29Z")

</div>

Ok, i have a pickle, i'm working on a video upload app for a client. We have a dedicated server with Internap, this is where we stream videos, etc. from. We also have our dedicated server on Mediatemple. Until this…

---

## [Strange maths problem/error](https://forum.kirupa.com/t/strange-maths-problem-error/249523)

<div class="topic-metadata">

**Author:** [@kre8web](https://forum.kirupa.com/u/kre8web)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 6:47pm UTC](https://forum.kirupa.com/t/strange-maths-problem-error/249523 "2008-01-19T18:47:59Z")

</div>

I've adapated a carousel to work on a flat basis, and its working well. However i wish to add navigation to this that will scroll one image to the left/right when clicked. The problem is this navigation i've added works …

---

## [Parenting Objects](https://forum.kirupa.com/t/parenting-objects/249520)

<div class="topic-metadata">

**Author:** [@Darunia9](https://forum.kirupa.com/u/Darunia9)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 6:07pm UTC](https://forum.kirupa.com/t/parenting-objects/249520 "2008-01-19T18:07:29Z")

</div>

I hope this is the right section for this query, as I couldn't find any command in ny tollbars for it. Does anyone know how to parent and object to another, for example I want to make an animation of a Skeleton and mak…

---

## [What is wrong with this Timer syntax?](https://forum.kirupa.com/t/what-is-wrong-with-this-timer-syntax/249519)

<div class="topic-metadata">

**Author:** [@lkingman](https://forum.kirupa.com/u/lkingman)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 5:51pm UTC](https://forum.kirupa.com/t/what-is-wrong-with-this-timer-syntax/249519 "2008-01-19T17:51:33Z")

</div>

The Timer takes two parameters as I understand it: duration and repeat. But the compiler returns an error expecting 0 parameters at the new Timer declaration. Any help would be greatly appreciated. Thanks. package { …

---

## [FMS Video won't show](https://forum.kirupa.com/t/fms-video-wont-show/249517)

<div class="topic-metadata">

**Author:** [@willthegeek](https://forum.kirupa.com/u/willthegeek)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 5:35pm UTC](https://forum.kirupa.com/t/fms-video-wont-show/249517 "2008-01-19T17:35:24Z")

</div>

I am new to FMS, but seem to have gotten it installed correctly. The problem is when I am try to to run a video. I can see the connection being made, the web page opens and the playlist displays. The first frame of th…

---

## [Little menu problem](https://forum.kirupa.com/t/little-menu-problem/249516)

<div class="topic-metadata">

**Author:** [@unlikelytravel](https://forum.kirupa.com/u/unlikelytravel)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 5:07pm UTC](https://forum.kirupa.com/t/little-menu-problem/249516 "2008-01-19T17:07:52Z")

</div>

I have a problem building a menu with flash. I am using the following code on a button: on (release) { getURL("D:\\Unlikely\_Traveler\\unlikelyTraveler\\video\\video\_main.html","\_self"); } It keeps saying that it cannot …

---

## [Why would you add a library font item?](https://forum.kirupa.com/t/why-would-you-add-a-library-font-item/249512)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [January 19, 2008, 3:26pm UTC](https://forum.kirupa.com/t/why-would-you-add-a-library-font-item/249512 "2008-01-19T15:26:00Z")

</div>

I'm just confused what a font item in the library would be for? Is it just like adding a dynamic textfield and embedding all the characters there??

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

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