# programming

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

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

**Page:** 1267

---

## [How does youtube's Sites Linking to this Video feature work?](https://forum.kirupa.com/t/how-does-youtubes-sites-linking-to-this-video-feature-work/258454)

<div class="topic-metadata">

**Author:** [@abugee1029](https://forum.kirupa.com/u/abugee1029)\
**Replies:** 0\
**Last updated:** [April 24, 2008, 3:57am UTC](https://forum.kirupa.com/t/how-does-youtubes-sites-linking-to-this-video-feature-work/258454 "2008-04-24T03:57:23Z")

</div>

Hi guys, I don't know if my problem was raised here already. How does youtube's Sites Linking to this Video feature work? (please see attached file if you are not aware what i'm talking about) How does the flash know w…

---

## [Parse error: parse error, unexpected T\_INCLUDE, expecting T\_CASE or T\_DEFAULT or '}'](https://forum.kirupa.com/t/parse-error-parse-error-unexpected-t-include-expecting-t-case-or-t-default-or/258453)

<div class="topic-metadata">

**Author:** [@ctdesign87](https://forum.kirupa.com/u/ctdesign87)\
**Replies:** 0\
**Last updated:** [April 24, 2008, 3:56am UTC](https://forum.kirupa.com/t/parse-error-parse-error-unexpected-t-include-expecting-t-case-or-t-default-or/258453 "2008-04-24T03:56:08Z")

</div>

switch ($printjob){ include ('includes/PrintQuotes/standardflyer/1sided\_uncoated.php'); default: $printjob = 'null'; } Execute the whole script, and this appears: Parse error: parse error, unexpected T\_INCLUDE, e…

---

## [Removing Children previously created with AS3](https://forum.kirupa.com/t/removing-children-previously-created-with-as3/258451)

<div class="topic-metadata">

**Author:** [@briman](https://forum.kirupa.com/u/briman)\
**Replies:** 0\
**Last updated:** [April 24, 2008, 3:34am UTC](https://forum.kirupa.com/t/removing-children-previously-created-with-as3/258451 "2008-04-24T03:34:17Z")

</div>

Here's the AS code: //------------------------- //----DESIGN BUTTON----\\ //------------------------- design\_btn.addEventListener(MouseEvent.MOUSE\_OUT, dOut); design\_btn.addEventListener(MouseEvent.MOUSE\_OVER, dOver); …

---

## [Constraining startDrag() to diagonal line](https://forum.kirupa.com/t/constraining-startdrag-to-diagonal-line/258446)

<div class="topic-metadata">

**Author:** [@herman428](https://forum.kirupa.com/u/herman428)\
**Replies:** 0\
**Last updated:** [April 24, 2008, 2:21am UTC](https://forum.kirupa.com/t/constraining-startdrag-to-diagonal-line/258446 "2008-04-24T02:21:10Z")

</div>

Hi, So I'm working on a volume slider for a type of jukebox and what I'm using is an actual drawing that is on an angle, therefore the volume slider and handle aren't in a straight horizontal line. I've done the basi…

---

## [Need Help With Multi Column Text](https://forum.kirupa.com/t/need-help-with-multi-column-text/258443)

<div class="topic-metadata">

**Author:** [@SilverChariot](https://forum.kirupa.com/u/SilverChariot)\
**Replies:** 0\
**Last updated:** [April 24, 2008, 1:27am UTC](https://forum.kirupa.com/t/need-help-with-multi-column-text/258443 "2008-04-24T01:27:08Z")

</div>

Hey guys, does anyone of you know how to dynamically load in text into a multi column textfield ? i am totally clueless on how to do something like that .... has anybody done something like that or know where i can fin…

---

## [Why won't CSS justify in Firefox?](https://forum.kirupa.com/t/why-wont-css-justify-in-firefox/258441)

<div class="topic-metadata">

**Author:** [@u\_stu\_com](https://forum.kirupa.com/u/u_stu_com)\
**Replies:** 0\
**Last updated:** [April 24, 2008, 12:49am UTC](https://forum.kirupa.com/t/why-wont-css-justify-in-firefox/258441 "2008-04-24T00:49:50Z")

</div>

My site is in CSS and for some reason the text won't justify in Firefox. It works in IE, Safari, and Opera. Also, when I change text-align: justify; to text-align: right; it works in all browsers including Firefox. To ma…

---

## [Using bit101 particle](https://forum.kirupa.com/t/using-bit101-particle/258436)

<div class="topic-metadata">

**Author:** [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 10:20pm UTC](https://forum.kirupa.com/t/using-bit101-particle/258436 "2008-04-23T22:20:00Z")

</div>

I'm using Bit 101 particle to simulate a woodpecker chipping away at stuff. (here the link to the particle class - http://www.bit-101.com/Particles/) Here is the flash file: http://www.jamesrhodes.co.uk/example.fla …

---

## [1020 error, any help welcome](https://forum.kirupa.com/t/1020-error-any-help-welcome/258431)

<div class="topic-metadata">

**Author:** [@autumnmedia](https://forum.kirupa.com/u/autumnmedia)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 9:24pm UTC](https://forum.kirupa.com/t/1020-error-any-help-welcome/258431 "2008-04-23T21:24:47Z")

</div>

here are my errors: 1120: Access of undefined property dtext1. 1120: Access of undefined property dynText1. 1120: Access of undefined property dtext2. 1120: Access of undefined property dynText2. 1120: Access of undefi…

---

## [Spiroids: First online flash game](https://forum.kirupa.com/t/spiroids-first-online-flash-game/258430)

<div class="topic-metadata">

**Author:** [@noisia](https://forum.kirupa.com/u/noisia)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 9:23pm UTC](https://forum.kirupa.com/t/spiroids-first-online-flash-game/258430 "2008-04-23T21:23:35Z")

</div>

Hi: I invite you to visit my first online flash game: http://www.mochiads.com/games/spiroids/ http://www.newgrounds.com/portal/view/432623 Defend your position with a full range of weapons. You will need accuracy a…

---

## [Another day, another error =\[](https://forum.kirupa.com/t/another-day-another-error/258429)

<div class="topic-metadata">

**Author:** [@nikomax](https://forum.kirupa.com/u/nikomax)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 9:12pm UTC](https://forum.kirupa.com/t/another-day-another-error/258429 "2008-04-23T21:12:26Z")

</div>

Hey =D, I hope you guys don't mind me posting too often xD. I only ever do it if I really am stuck.... Anywho... I have written a set of functions that worked fine, and still do might I add =D, so I placed them in …

---

## [Loading data from Shared Object-Doh!](https://forum.kirupa.com/t/loading-data-from-shared-object-doh/258427)

<div class="topic-metadata">

**Author:** [@Boondogger](https://forum.kirupa.com/u/Boondogger)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 9:11pm UTC](https://forum.kirupa.com/t/loading-data-from-shared-object-doh/258427 "2008-04-23T21:11:37Z")

</div>

Hi guys, I'm trying (and failing) to save and reload data from a shared object. I can create the object and save data to it so long as I keep the file open. My problem is accessing the data again when I re-open the pro…

---

## [MovieClip Loader loads Captivate Movie](https://forum.kirupa.com/t/movieclip-loader-loads-captivate-movie/258419)

<div class="topic-metadata">

**Author:** [@sirrahe](https://forum.kirupa.com/u/sirrahe)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 8:15pm UTC](https://forum.kirupa.com/t/movieclip-loader-loads-captivate-movie/258419 "2008-04-23T20:15:20Z")

</div>

I have a Flash Wrapper that uses the following to load three different Captivate movies. //-------------Movie Clip Loader-----------------\\ myLoad = function(){ var mcLoader:MovieClipLoader = new MovieClipLoader(); mcLoa…

---

## [Help with AS 1.0](https://forum.kirupa.com/t/help-with-as-1-0/258418)

<div class="topic-metadata">

**Author:** [@satkin2](https://forum.kirupa.com/u/satkin2)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 8:09pm UTC](https://forum.kirupa.com/t/help-with-as-1-0/258418 "2008-04-23T20:09:54Z")

</div>

Hi, I have come accross this menu... http://www.senocular.com/flash/source.php?id=0.140 I have downloaded the source shown on the page, but when I test my menu it doesn't show the buttons at all. Could someone with s…

---

## [Website menu bar help!](https://forum.kirupa.com/t/website-menu-bar-help/258415)

<div class="topic-metadata">

**Author:** [@shush1](https://forum.kirupa.com/u/shush1)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 7:58pm UTC](https://forum.kirupa.com/t/website-menu-bar-help/258415 "2008-04-23T19:58:41Z")

</div>

Hi I have created a Flash website, but am having issues with the menu bar. I want the little arrow to move under each option when rolled over, but move exactly in the middle. Here it is http://www.freshlemon.co.uk/…

---

## [Open Browser Window](https://forum.kirupa.com/t/open-browser-window/258414)

<div class="topic-metadata">

**Author:** [@aj77](https://forum.kirupa.com/u/aj77)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 7:49pm UTC](https://forum.kirupa.com/t/open-browser-window/258414 "2008-04-23T19:49:03Z")

</div>

OpenWin = this.open(page, "KirupaStyle", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,width=550,height=250"); } I'm trying to have an HTML file popup in a browser window and I've followed the instru…

---

## [Generate Random Background Color](https://forum.kirupa.com/t/generate-random-background-color/258413)

<div class="topic-metadata">

**Author:** [@jkucinskas](https://forum.kirupa.com/u/jkucinskas)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 7:38pm UTC](https://forum.kirupa.com/t/generate-random-background-color/258413 "2008-04-23T19:38:34Z")

</div>

Hi I am trying to create a game where the background randomly fades from one color to the next. Would anyone know how to code this in actionscript 3? I am pretty clueless even as to where to start. Any help would be grea…

---

## [Listbox Help](https://forum.kirupa.com/t/listbox-help/258408)

<div class="topic-metadata">

**Author:** [@thegrrraue](https://forum.kirupa.com/u/thegrrraue)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 6:44pm UTC](https://forum.kirupa.com/t/listbox-help/258408 "2008-04-23T18:44:01Z")

</div>

I've got a box (instance named "list") that loads some external stuff into it. There's two things I'd like it to do, but can't figure out: 1) I'd like it to remember which item was selected, so if I navigate away from …

---

## [UI scroller component help](https://forum.kirupa.com/t/ui-scroller-component-help/258404)

<div class="topic-metadata">

**Author:** [@johnyct9760](https://forum.kirupa.com/u/johnyct9760)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 5:51pm UTC](https://forum.kirupa.com/t/ui-scroller-component-help/258404 "2008-04-23T17:51:29Z")

</div>

Ok this is driven me nutz I'm just playing around trying to get the UI scroller component to work and I'm having to problems. One the scroller isn't working and 2 most of the Lorem Ipsum dynamic text isn't showing up. Th…

---

## [Dropdown/Nested menu list not showing in IE 6](https://forum.kirupa.com/t/dropdown-nested-menu-list-not-showing-in-ie-6/258395)

<div class="topic-metadata">

**Author:** [@njoay](https://forum.kirupa.com/u/njoay)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 4:51pm UTC](https://forum.kirupa.com/t/dropdown-nested-menu-list-not-showing-in-ie-6/258395 "2008-04-23T16:51:17Z")

</div>

Hello, I cannot seem to figure out a hack or a fix for my nested list to be viewed properly in IE 6. It works fine in recent and previous versions of Firefox and Safari, but in IE 6 the nested list does not even appear…

---

## [2 php questions](https://forum.kirupa.com/t/2-php-questions/258392)

<div class="topic-metadata">

**Author:** [@koolkrasher](https://forum.kirupa.com/u/koolkrasher)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 4:39pm UTC](https://forum.kirupa.com/t/2-php-questions/258392 "2008-04-23T16:39:35Z")

</div>

I have 2 questions about php. 1st question can i use php in meta keyword and description tags. example i have a database full of keywords can i use php to print out my keywords.) I have done this with the title b…

---

## [Detecting the end of a loaded SWF with many levels](https://forum.kirupa.com/t/detecting-the-end-of-a-loaded-swf-with-many-levels/258389)

<div class="topic-metadata">

**Author:** [@anroy](https://forum.kirupa.com/u/anroy)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 4:15pm UTC](https://forum.kirupa.com/t/detecting-the-end-of-a-loaded-swf-with-many-levels/258389 "2008-04-23T16:15:29Z")

</div>

I am loading and playing external SWFs, in sequence. I need to know when each one finishes, so that I can load and play the next one. Here is how I am loading them, in my loading movie's document class. public func…

---

## [Custom Scroll](https://forum.kirupa.com/t/custom-scroll/258388)

<div class="topic-metadata">

**Author:** [@kitster79](https://forum.kirupa.com/u/kitster79)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 4:13pm UTC](https://forum.kirupa.com/t/custom-scroll/258388 "2008-04-23T16:13:31Z")

</div>

Hi, I am trying to create something like this at the URL below....go to the work section and then click on logos/icons. Notice how the logos scroll across and come to a stop as you click on the arrow buttons. How is th…

---

## [Need Help with Flash Menu for Website](https://forum.kirupa.com/t/need-help-with-flash-menu-for-website/258384)

<div class="topic-metadata">

**Author:** [@shush1](https://forum.kirupa.com/u/shush1)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 3:38pm UTC](https://forum.kirupa.com/t/need-help-with-flash-menu-for-website/258384 "2008-04-23T15:38:48Z")

</div>

Hi I have created a Flash website, but am having issues with the menu bar. I want the little arrow to move under each option when rolled over, but move exactly in the middle. Here it is http://www.freshlemon.co.uk/…

---

## [Dropdown style in a ComboBox](https://forum.kirupa.com/t/dropdown-style-in-a-combobox/258379)

<div class="topic-metadata">

**Author:** [@daidai](https://forum.kirupa.com/u/daidai)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 3:13pm UTC](https://forum.kirupa.com/t/dropdown-style-in-a-combobox/258379 "2008-04-23T15:13:02Z")

</div>

I am trying to style the dropdown list in my combo box var ddlFormat:TextFormat = new TextFormat(); ddlFormat.font = new AvRoman ().fontName; ddlFormat.color = 0x333333; ddlFormat.size = 12; ddl.dropdown.setStyle("te…

---

## [Help A Total Newbie :)](https://forum.kirupa.com/t/help-a-total-newbie/258376)

<div class="topic-metadata">

**Author:** [@beautifulgirl](https://forum.kirupa.com/u/beautifulgirl)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 2:55pm UTC](https://forum.kirupa.com/t/help-a-total-newbie/258376 "2008-04-23T14:55:40Z")

</div>

..

---

## [Dynamic buttons and listeners](https://forum.kirupa.com/t/dynamic-buttons-and-listeners/258374)

<div class="topic-metadata">

**Author:** [@Nevo](https://forum.kirupa.com/u/Nevo)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 2:39pm UTC](https://forum.kirupa.com/t/dynamic-buttons-and-listeners/258374 "2008-04-23T14:39:26Z")

</div>

Hello again Second cry for help in a week can't be good. The move to AS3 not as easy as I assumed \[smile\] I'm... 1) Importing content from XML to an array called mainData 2) extending the sprite and simpleButton class …

---

## [Tooltip and button](https://forum.kirupa.com/t/tooltip-and-button/258372)

<div class="topic-metadata">

**Author:** [@baljane\_hamre](https://forum.kirupa.com/u/baljane_hamre)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 2:22pm UTC](https://forum.kirupa.com/t/tooltip-and-button/258372 "2008-04-23T14:22:36Z")

</div>

Hi, I’m learning AS3 and trying to create tooltip which pops up when a button is rolled over. Can anyone please tell me how to attach this code to a button? What this code does now, is create a line and a rectangle which…

---

## [Dynamic text smooth and auto scrolling](https://forum.kirupa.com/t/dynamic-text-smooth-and-auto-scrolling/258367)

<div class="topic-metadata">

**Author:** [@arvi\_mca](https://forum.kirupa.com/u/arvi_mca)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 1:33pm UTC](https://forum.kirupa.com/t/dynamic-text-smooth-and-auto-scrolling/258367 "2008-04-23T13:33:09Z")

</div>

I have included the subtitle for my flash file by adding the dynamic text. the data source for the text is through the XML file. now what happens is the text is not scrolling smoothly it just moves line by line. But wha…

---

## [Convert from flash 6 to 8+](https://forum.kirupa.com/t/convert-from-flash-6-to-8/258364)

<div class="topic-metadata">

**Author:** [@CBP](https://forum.kirupa.com/u/CBP)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 1:18pm UTC](https://forum.kirupa.com/t/convert-from-flash-6-to-8/258364 "2008-04-23T13:18:51Z")

</div>

I have a flash file of some fireworks that I need to convert into flash 8 or higher. When I change the version in publish settings, the compiler just gives me an error message.... It says something like: ')' or ',' ex…

---

## [Transitions Between External SWFs problem](https://forum.kirupa.com/t/transitions-between-external-swfs-problem/258360)

<div class="topic-metadata">

**Author:** [@chrram](https://forum.kirupa.com/u/chrram)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 12:37pm UTC](https://forum.kirupa.com/t/transitions-between-external-swfs-problem/258360 "2008-04-23T12:37:31Z")

</div>

hello all.. I'm having a problem with the \*\*\[FONT=Verdana\] \[COLOR=#003366\]Transitions \[/COLOR\] \[/FONT\]\*\*\[FONT=Verdana\] \[COLOR=#003366\]Between External SWFs tutorial. I am making a site that has a container on t…

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

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