# programming

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

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

**Page:** 1937

---

## [ActionScript Passing Variable by Value on Reference](https://forum.kirupa.com/t/actionscript-passing-variable-by-value-on-reference/209694)

<div class="topic-metadata">

**Author:** [@kaiserjozy](https://forum.kirupa.com/u/kaiserjozy)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 5:47pm UTC](https://forum.kirupa.com/t/actionscript-passing-variable-by-value-on-reference/209694 "2006-12-11T17:47:34Z")

</div>

It took me hours to figure our why this was returning the wrong value // CODE Sample function one(){ var test1 = Array(); test1\["one"\] = 1; var test2 = test1 trace(\*\*test2\*\*.one); // output = 1 // this m…

---

## [Simple if satement](https://forum.kirupa.com/t/simple-if-satement/209693)

<div class="topic-metadata">

**Author:** [@crankT](https://forum.kirupa.com/u/crankT)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 5:46pm UTC](https://forum.kirupa.com/t/simple-if-satement/209693 "2006-12-11T17:46:56Z")

</div>

I'm having trouble with this. Never done it before and I'm just trying to learn. I have this statement: if(zero\_mc.\_currentframe == "pause"){ zero\_mc.gotoAndPlay("out"); } Pause is a frame lable on frame 16 and the…

---

## [Trying to fix XML bug/delay/random loading](https://forum.kirupa.com/t/trying-to-fix-xml-bug-delay-random-loading/209688)

<div class="topic-metadata">

**Author:** [@j\_h](https://forum.kirupa.com/u/j_h)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 4:58pm UTC](https://forum.kirupa.com/t/trying-to-fix-xml-bug-delay-random-loading/209688 "2006-12-11T16:58:04Z")

</div>

I would really appreciate anybody that could help me figure out why this slideshow is so jumpy. I am trying to make a slideshow with 3 diefferent categories. The tabs below will show where the person currently is. I ha…

---

## [No Background?](https://forum.kirupa.com/t/no-background/209687)

<div class="topic-metadata">

**Author:** [@kiddopail](https://forum.kirupa.com/u/kiddopail)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 4:56pm UTC](https://forum.kirupa.com/t/no-background/209687 "2006-12-11T16:56:09Z")

</div>

how does one creat a flash .swf with no background? like those annoying spam flash movies, of a car zooming onto your screen? is it a setting somewhere, or do i have to remove the background in actionscript or add a tran…

---

## [How to combine film grain effect and photo gallery](https://forum.kirupa.com/t/how-to-combine-film-grain-effect-and-photo-gallery/209684)

<div class="topic-metadata">

**Author:** [@Jnalupta](https://forum.kirupa.com/u/Jnalupta)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 4:24pm UTC](https://forum.kirupa.com/t/how-to-combine-film-grain-effect-and-photo-gallery/209684 "2006-12-11T16:24:46Z")

</div>

Hey everyone, Well, I'm brand-spanking new to this forum but I just wanted to say that just from browsing through tutorials and the message board, I've found a lot of great ideas. Thanks for the instructions and the cr…

---

## [How to combine film grain and photo gallery](https://forum.kirupa.com/t/how-to-combine-film-grain-and-photo-gallery/209683)

<div class="topic-metadata">

**Author:** [@Jnalupta](https://forum.kirupa.com/u/Jnalupta)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 4:08pm UTC](https://forum.kirupa.com/t/how-to-combine-film-grain-and-photo-gallery/209683 "2006-12-11T16:08:22Z")

</div>

Hello all, Well, I'm brand-spanking new to this forum but I just wanted to say that just from browsing through tutorials and the message board, I've found a lot of great ideas. Thanks for the instructions and the crea…

---

## [Opening Powerpoint or pdfs from flash](https://forum.kirupa.com/t/opening-powerpoint-or-pdfs-from-flash/209682)

<div class="topic-metadata">

**Author:** [@Grimshaw](https://forum.kirupa.com/u/Grimshaw)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 3:58pm UTC](https://forum.kirupa.com/t/opening-powerpoint-or-pdfs-from-flash/209682 "2006-12-11T15:58:47Z")

</div>

I am making a CD rom with a flash interface and am having trouble getting pdfs and powerpoints to open from within flash. The get URL seems to be buggy and FS Command does nothing most of the time. Is there a trick to th…

---

## [Need some help with this code pls](https://forum.kirupa.com/t/need-some-help-with-this-code-pls/209680)

<div class="topic-metadata">

**Author:** [@G1NG](https://forum.kirupa.com/u/G1NG)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 3:39pm UTC](https://forum.kirupa.com/t/need-some-help-with-this-code-pls/209680 "2006-12-11T15:39:37Z")

</div>

Hi, I m trying to build a dynamic thumbnail loader. I managed to load the thumbnails and distribute them into rows according to the stage width. Though, the on press function is not activated since the thumbnails are n…

---

## [Center aligning layout with FF 2.0](https://forum.kirupa.com/t/center-aligning-layout-with-ff-2-0/209678)

<div class="topic-metadata">

**Author:** [@SlowRoasted](https://forum.kirupa.com/u/SlowRoasted)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 3:30pm UTC](https://forum.kirupa.com/t/center-aligning-layout-with-ff-2-0/209678 "2006-12-11T15:30:57Z")

</div>

Okay before I could either set text-align: center; for the body or make a 100% width div with center text align and put my layout code inside it in order to center in the browser. For some reason in FF 2.0 I can't do th…

---

## [Hiding Layers using Actionscript](https://forum.kirupa.com/t/hiding-layers-using-actionscript/209670)

<div class="topic-metadata">

**Author:** [@danharris86](https://forum.kirupa.com/u/danharris86)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 2:06pm UTC](https://forum.kirupa.com/t/hiding-layers-using-actionscript/209670 "2006-12-11T14:06:17Z")

</div>

Hi, I was wondering is it possible to hide layers using actionscript or not?? I am looking for the same effect as clicking underneath the "eye" on the "layer manager" at the top of each flash project when creating it. …

---

## [Screen Dimensions](https://forum.kirupa.com/t/screen-dimensions/209666)

<div class="topic-metadata">

**Author:** [@FlashFish](https://forum.kirupa.com/u/FlashFish)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 12:51pm UTC](https://forum.kirupa.com/t/screen-dimensions/209666 "2006-12-11T12:51:12Z")

</div>

Yo. I'm creating a dvd to be shown on a plasma screen. I'm doing some animation in flash but I'm not sure what dimensions to use so that it fits the tv. I assume I just need to get the ratio right (one that is supported…

---

## [Variables inside class](https://forum.kirupa.com/t/variables-inside-class/209665)

<div class="topic-metadata">

**Author:** [@fshuja](https://forum.kirupa.com/u/fshuja)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 12:24pm UTC](https://forum.kirupa.com/t/variables-inside-class/209665 "2006-12-11T12:24:03Z")

</div>

hi, i am creating my own component. the problem is how can i access the variables inside the Class without using \_root.myComponentName.variableName. check out the code. class Loader extends MovieClip { private var…

---

## [Dynamic Remote XML Loading Problem](https://forum.kirupa.com/t/dynamic-remote-xml-loading-problem/209663)

<div class="topic-metadata">

**Author:** [@biznuge](https://forum.kirupa.com/u/biznuge)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 12:04pm UTC](https://forum.kirupa.com/t/dynamic-remote-xml-loading-problem/209663 "2006-12-11T12:04:11Z")

</div>

Hi All, I have a problem with loading externally generated XML, which seems to work fine locally... here's the XML code from my actionscript:- \[COLOR=green\]XMLFile\[/COLOR\] = "http://remoteXMLGenerator.asp"; \[COLOR…

---

## [XML in ActionScript](https://forum.kirupa.com/t/xml-in-actionscript/209659)

<div class="topic-metadata">

**Author:** [@korkor5](https://forum.kirupa.com/u/korkor5)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 10:17am UTC](https://forum.kirupa.com/t/xml-in-actionscript/209659 "2006-12-11T10:17:21Z")

</div>

Hi all, I am creating a crawler in actionscript and i am taking an object oriented approach, which means that i have a class which is saved as an .as file. I then call the class in a .fla file. The problem i am fa…

---

## [Wait in actionscript](https://forum.kirupa.com/t/wait-in-actionscript/209658)

<div class="topic-metadata">

**Author:** [@Zoil](https://forum.kirupa.com/u/Zoil)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 9:53am UTC](https://forum.kirupa.com/t/wait-in-actionscript/209658 "2006-12-11T09:53:34Z")

</div>

Hi! How can i put a command for wait 2 second in actionscript, i'm a noob in AS, i have to put a text from an external file but i have to wait 2 seconds or 50 fotograms. this is my code: var loading = new LoadVars()…

---

## [Movieclip Scrubber](https://forum.kirupa.com/t/movieclip-scrubber/209654)

<div class="topic-metadata">

**Author:** [@addam](https://forum.kirupa.com/u/addam)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 8:45am UTC](https://forum.kirupa.com/t/movieclip-scrubber/209654 "2006-12-11T08:45:58Z")

</div>

hello i'm trying to find to scrub a movieclip forward and backward based on how far right of the clips left edge the mouse is. has anyone seen anything like this before?

---

## [Creating a video player](https://forum.kirupa.com/t/creating-a-video-player/209650)

<div class="topic-metadata">

**Author:** [@Mangesh](https://forum.kirupa.com/u/Mangesh)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 5:44am UTC](https://forum.kirupa.com/t/creating-a-video-player/209650 "2006-12-11T05:44:53Z")

</div>

I want to create a video player like this http://studio.brightcove.com/ Can anyone provide me some tutorials about creating video player in flash using actionscript and XML. Mangesh

---

## [Modifying the scolling thumbnail gallery](https://forum.kirupa.com/t/modifying-the-scolling-thumbnail-gallery/209649)

<div class="topic-metadata">

**Author:** [@modernmortal](https://forum.kirupa.com/u/modernmortal)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 5:44am UTC](https://forum.kirupa.com/t/modifying-the-scolling-thumbnail-gallery/209649 "2006-12-11T05:44:13Z")

</div>

Hi, Can anyone help me modify this code from the tutorial here on kirupa? http://www.kirupa.com/developer/mx2004/thumbnails3.htm I'm just trying to change it so that a small line of text appears under each thumbnail.…

---

## [Flash 8 pro scripting help](https://forum.kirupa.com/t/flash-8-pro-scripting-help/209648)

<div class="topic-metadata">

**Author:** [@firestarterut](https://forum.kirupa.com/u/firestarterut)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 5:36am UTC](https://forum.kirupa.com/t/flash-8-pro-scripting-help/209648 "2006-12-11T05:36:49Z")

</div>

Hey. I'm new with actionscript and I need help creating a calculator. Your help will be greatly appreciated.

---

## [Heart Shaped 3d rotation](https://forum.kirupa.com/t/heart-shaped-3d-rotation/209647)

<div class="topic-metadata">

**Author:** [@manikk](https://forum.kirupa.com/u/manikk)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 5:25am UTC](https://forum.kirupa.com/t/heart-shaped-3d-rotation/209647 "2006-12-11T05:25:35Z")

</div>

Can any one suggest how to make a heartshaped 3d rotation in Action Script?

---

## [Random movie clip onEnter frame?](https://forum.kirupa.com/t/random-movie-clip-onenter-frame/209641)

<div class="topic-metadata">

**Author:** [@Toad436](https://forum.kirupa.com/u/Toad436)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 3:36am UTC](https://forum.kirupa.com/t/random-movie-clip-onenter-frame/209641 "2006-12-11T03:36:04Z")

</div>

as the title really guys, when i click a button i want a random movie clip to appear on the screen, ive seen random motion random colour etc but i cant figure this one atm. Any help as always appreciated very much!

---

## [Sound SWF won't play when attached](https://forum.kirupa.com/t/sound-swf-wont-play-when-attached/209640)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 3:24am UTC](https://forum.kirupa.com/t/sound-swf-wont-play-when-attached/209640 "2006-12-11T03:24:49Z")

</div>

I have a sound SWF that plays fine on its own. But when I attach it to the main timeline of another SWF there's no sound. How do I need to reference the Sound object and vars to get the Sound to play? Here's the code f…

---

## [Problem Array](https://forum.kirupa.com/t/problem-array/209638)

<div class="topic-metadata">

**Author:** [@james182](https://forum.kirupa.com/u/james182)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 3:09am UTC](https://forum.kirupa.com/t/problem-array/209638 "2006-12-11T03:09:03Z")

</div>

Whats happened?? it doesn't output the numbers correctly it should look like this: pausecontent\[0\]=» title1 pausecontent\[1\]=» title2 pausecontent\[2\]=» title3 NOT this: pausecontent\[0\]=» title1 pausecontent\[0\]=» titl…

---

## [Help on Adding Thumbnails Tutorail!](https://forum.kirupa.com/t/help-on-adding-thumbnails-tutorail/209636)

<div class="topic-metadata">

**Author:** [@tengngan](https://forum.kirupa.com/u/tengngan)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 2:40am UTC](https://forum.kirupa.com/t/help-on-adding-thumbnails-tutorail/209636 "2006-12-11T02:40:08Z")

</div>

Hi to everyone, I would like to add another button to show more angles of the image. This is the turotrial http://www.kirupa.com/developer/mx2004/thumbnails.htm! Thanks!

---

## [Passing Value from Input Text Field to onClipEvent](https://forum.kirupa.com/t/passing-value-from-input-text-field-to-onclipevent/209635)

<div class="topic-metadata">

**Author:** [@shandley14](https://forum.kirupa.com/u/shandley14)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 2:13am UTC](https://forum.kirupa.com/t/passing-value-from-input-text-field-to-onclipevent/209635 "2006-12-11T02:13:52Z")

</div>

I'm tyring to get the value of inputName inside a onClipEvent The Layout: Frame 1: Input Text field named inputName Button with gotoandstop(3) action Frame 3: Movie that contains onClipEvent (load) { loadVariabl…

---

## [URL's without files](https://forum.kirupa.com/t/urls-without-files/209634)

<div class="topic-metadata">

**Author:** [@Chim](https://forum.kirupa.com/u/Chim)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 1:45am UTC](https://forum.kirupa.com/t/urls-without-files/209634 "2006-12-11T01:45:10Z")

</div>

I've seen this on some other sites, how does Wikipedia have their URL's the way they do, without the file name at the end? ie. http://en.wikipedia.org/wiki/FireFox I know they use PHP, but FireFox/index.php doesn't exi…

---

## [Photo Gallery Thumb Navigation Question?](https://forum.kirupa.com/t/photo-gallery-thumb-navigation-question/209632)

<div class="topic-metadata">

**Author:** [@janisiv](https://forum.kirupa.com/u/janisiv)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 1:31am UTC](https://forum.kirupa.com/t/photo-gallery-thumb-navigation-question/209632 "2006-12-11T01:31:47Z")

</div>

Hello everyone, I have been battling with this issue for a while and seems like I can't find the right solution. I have a navigation bar generated from the XML file. If XML file contains 10 photos, i would have a nav…

---

## [PHP Chatroom Tutorial Problems](https://forum.kirupa.com/t/php-chatroom-tutorial-problems/209629)

<div class="topic-metadata">

**Author:** [@johnfn](https://forum.kirupa.com/u/johnfn)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 1:17am UTC](https://forum.kirupa.com/t/php-chatroom-tutorial-problems/209629 "2006-12-11T01:17:25Z")

</div>

I have been trying to follow this tutorial: http://www.kirupa.com/developer/flash8/php5sockets\_flash8\_6.htm But when I run the BAT file, I get this error: Fatal Error: Call to undefined function socket\_create in C:\\C…

---

## [PHP Template Question](https://forum.kirupa.com/t/php-template-question/209628)

<div class="topic-metadata">

**Author:** [@seth\_aldridge](https://forum.kirupa.com/u/seth_aldridge)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 1:09am UTC](https://forum.kirupa.com/t/php-template-question/209628 "2006-12-11T01:09:06Z")

</div>

Hi, I am working on a new website and I am trying to teach myself some PHP to make this whole process easier. I am trying to create one master PHP template that will use variables to call the different HTML pages that…

---

## [Remove Movie Clip and loadmovie](https://forum.kirupa.com/t/remove-movie-clip-and-loadmovie/209627)

<div class="topic-metadata">

**Author:** [@jrutter](https://forum.kirupa.com/u/jrutter)\
**Replies:** 0\
**Last updated:** [December 11, 2006, 12:58am UTC](https://forum.kirupa.com/t/remove-movie-clip-and-loadmovie/209627 "2006-12-11T00:58:55Z")

</div>

This is my scenario: I have a main movie, and I have an external movie. I have a button in my main movie and an empty movie clip. When you hit the button, it loads the external movie in the empty mc. That external movi…

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

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