# programming

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

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

**Page:** 1492

---

## [Actionscript for random images flying toward screen:](https://forum.kirupa.com/t/actionscript-for-random-images-flying-toward-screen/242650)

<div class="topic-metadata">

**Author:** [@red5\_ws](https://forum.kirupa.com/u/red5_ws)\
**Replies:** 0\
**Last updated:** [October 29, 2007, 2:48am UTC](https://forum.kirupa.com/t/actionscript-for-random-images-flying-toward-screen/242650 "2007-10-29T02:48:13Z")

</div>

Hello all, I would like to make a deck of cards randomly fly toward the screen at once. As if there is an explosion of cards. '52 card pickup' in flash if you will. Is there some actionscript that will grab images …

---

## [Stage too small, mc too high](https://forum.kirupa.com/t/stage-too-small-mc-too-high/242643)

<div class="topic-metadata">

**Author:** [@inkasa\_creative](https://forum.kirupa.com/u/inkasa_creative)\
**Replies:** 0\
**Last updated:** [October 29, 2007, 12:52am UTC](https://forum.kirupa.com/t/stage-too-small-mc-too-high/242643 "2007-10-29T00:52:20Z")

</div>

Hi, I am having unusual issues with flash 8 at the moment. I have a mc that is dynamically controlled going up and down + it’s pretty tall. As you know, there is the stage in flash which is whatever size you want i…

---

## [Loading php variable into flash 8](https://forum.kirupa.com/t/loading-php-variable-into-flash-8/242642)

<div class="topic-metadata">

**Author:** [@XTiii](https://forum.kirupa.com/u/XTiii)\
**Replies:** 0\
**Last updated:** [October 29, 2007, 12:41am UTC](https://forum.kirupa.com/t/loading-php-variable-into-flash-8/242642 "2007-10-29T00:41:09Z")

</div>

any1 no how to do this?? any1 can explaination to me how to Load php variable into flash 8? ex. PHP file have variable like $username = "Kirupa"; i want to get username into flash! ty :glasses:

---

## [Movieclip Depth](https://forum.kirupa.com/t/movieclip-depth/242641)

<div class="topic-metadata">

**Author:** [@Exodar](https://forum.kirupa.com/u/Exodar)\
**Replies:** 0\
**Last updated:** [October 29, 2007, 12:19am UTC](https://forum.kirupa.com/t/movieclip-depth/242641 "2007-10-29T00:19:10Z")

</div>

Is there a way to change the depth of a mc created using, for example, attachMovie, to a depth that is lower than something already on the stage?

---

## [Window Resize with placed scroller](https://forum.kirupa.com/t/window-resize-with-placed-scroller/242639)

<div class="topic-metadata">

**Author:** [@Squib](https://forum.kirupa.com/u/Squib)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 11:39pm UTC](https://forum.kirupa.com/t/window-resize-with-placed-scroller/242639 "2007-10-28T23:39:56Z")

</div>

Hi all, I've come up against an issue with a site I'm building, and wondered if anyone could tell me why its happening? And even better fix it!!!:D What I've got is a fla with some window resize code in it, and an…

---

## [\[Dreamweaver\] code / view / code&view](https://forum.kirupa.com/t/dreamweaver-code-view-code-view/242634)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 9:41pm UTC](https://forum.kirupa.com/t/dreamweaver-code-view-code-view/242634 "2007-10-28T21:41:20Z")

</div>

I accidentally closed the panel that lets you switch between code / view / code&view. How do I get them back? \[image\]

---

## [Default Parameter Values - Can't instantiate classes as defaults](https://forum.kirupa.com/t/default-parameter-values-cant-instantiate-classes-as-defaults/242632)

<div class="topic-metadata">

**Author:** [@flashead](https://forum.kirupa.com/u/flashead)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 9:17pm UTC](https://forum.kirupa.com/t/default-parameter-values-cant-instantiate-classes-as-defaults/242632 "2007-10-28T21:17:15Z")

</div>

What's the proper way to go about doing something like this?: public function RangeSelector( pStart:Date = new Date() ):void I'm not sure how to set up my function so that it accepts a Date, but to default to a Date …

---

## [KeyCode controlling MovieClips issue](https://forum.kirupa.com/t/keycode-controlling-movieclips-issue/242630)

<div class="topic-metadata">

**Author:** [@joejozwowski](https://forum.kirupa.com/u/joejozwowski)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 8:59pm UTC](https://forum.kirupa.com/t/keycode-controlling-movieclips-issue/242630 "2007-10-28T20:59:22Z")

</div>

I present to you the problem.... I have two movieClips that are controlled by a series of keyCode functions. The issue I'm running into is that the code that I've designated for each action that the movieClip (up, dow…

---

## [Event object reusability](https://forum.kirupa.com/t/event-object-reusability/242626)

<div class="topic-metadata">

**Author:** [@Rezmason](https://forum.kirupa.com/u/Rezmason)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 7:26pm UTC](https://forum.kirupa.com/t/event-object-reusability/242626 "2007-10-28T19:26:27Z")

</div>

If you’re writing a subclass of EventDispatcher, you can compile it if it contains code like this: private var oneEvent:Event = new Event("whatever."); public function dispatchOneEvent():void { dispatchEvent(oneEvent);…

---

## [Security Error Help](https://forum.kirupa.com/t/security-error-help/242624)

<div class="topic-metadata">

**Author:** [@wiifanatic](https://forum.kirupa.com/u/wiifanatic)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 7:12pm UTC](https://forum.kirupa.com/t/security-error-help/242624 "2007-10-28T19:12:54Z")

</div>

Ok i have 2 files here: - game.swf (On localhost) - room.swf (http://labs.henriwatson.com/oabbo/game/media/) So game.swf loads up room.swf then on room.swf there is a button that when clicked game.swf goes to frame 4,…

---

## [\[CSS\] centering DIV only works in FF](https://forum.kirupa.com/t/css-centering-div-only-works-in-ff/242622)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 7:03pm UTC](https://forum.kirupa.com/t/css-centering-div-only-works-in-ff/242622 "2007-10-28T19:03:51Z")

</div>

I wrapped my whole site in this: #wrapper { border: 1px solid black; width: 600px; margin: auto; background: #eff3f7; } It is supposed to center my site. Why does it only center in Firefox? It does not center in …

---

## [AS3 Performance problem?](https://forum.kirupa.com/t/as3-performance-problem/242618)

<div class="topic-metadata">

**Author:** [@alsprog](https://forum.kirupa.com/u/alsprog)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 6:14pm UTC](https://forum.kirupa.com/t/as3-performance-problem/242618 "2007-10-28T18:14:21Z")

</div>

Hi All, I have to ask about Senocular "Getting Started with ActionScript 3.0 in Adobe Flash CS3" great tutorial, here link to tutorial: http://www.senocular.com/flash/tutorials/as3withflashcs3/?page=1 , and to downloa…

---

## [Help with scrollbar issue - Chat Application (PHP/mySQL/Flash)](https://forum.kirupa.com/t/help-with-scrollbar-issue-chat-application-php-mysql-flash/242617)

<div class="topic-metadata">

**Author:** [@lollypop01](https://forum.kirupa.com/u/lollypop01)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 6:00pm UTC](https://forum.kirupa.com/t/help-with-scrollbar-issue-chat-application-php-mysql-flash/242617 "2007-10-28T18:00:15Z")

</div>

Hi, I am designing a live support chat application in flash. I have everything working but one thing that i need some help on. All the chat messages (back and forth) are saved in the mySQL database and are then loade…

---

## [Weird I.E Alignment](https://forum.kirupa.com/t/weird-i-e-alignment/242614)

<div class="topic-metadata">

**Author:** [@K\_Dude](https://forum.kirupa.com/u/K_Dude)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 4:50pm UTC](https://forum.kirupa.com/t/weird-i-e-alignment/242614 "2007-10-28T16:50:55Z")

</div>

Well, I have created a index page out of a wordpress theme i converted (By saving it as .htm with images). I then proceeded to customise the page, once finished I tested it in Opera/FF/IE. Opera: Works Perfectly. Fi…

---

## [HTML pages with flash menu](https://forum.kirupa.com/t/html-pages-with-flash-menu/242613)

<div class="topic-metadata">

**Author:** [@AzFaka](https://forum.kirupa.com/u/AzFaka)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 4:24pm UTC](https://forum.kirupa.com/t/html-pages-with-flash-menu/242613 "2007-10-28T16:24:21Z")

</div>

Hello everyone… i need some help :blush: I am currently working on a html site with a flash menu on top. I used 2 frames, the top frame with the flash menu, and the second one is the content. the buttons from flash tel…

---

## [I want the video embedded in my FLA](https://forum.kirupa.com/t/i-want-the-video-embedded-in-my-fla/242609)

<div class="topic-metadata">

**Author:** [@SlowRoasted](https://forum.kirupa.com/u/SlowRoasted)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 3:26pm UTC](https://forum.kirupa.com/t/i-want-the-video-embedded-in-my-fla/242609 "2007-10-28T15:26:11Z")

</div>

I'm pretty noobish when it comes to video in Flash, mainly because I haven't had any projects that needed it yet. Well, I have one now, and I want the FLV to be embedded in the library of one of my external SWF's so tha…

---

## [Best Search Engines Scripts](https://forum.kirupa.com/t/best-search-engines-scripts/242605)

<div class="topic-metadata">

**Author:** [@Neuhaus3000](https://forum.kirupa.com/u/Neuhaus3000)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 2:27pm UTC](https://forum.kirupa.com/t/best-search-engines-scripts/242605 "2007-10-28T14:27:55Z")

</div>

Hello All, Anyone can suggest a good Search engine script (software) that I can include on my website? Ad free! I have found these two: Fast Find Search Site Pro Any suggestion will be appreciated! Thanks! neu…

---

## [Urgent Javascript Help Needed](https://forum.kirupa.com/t/urgent-javascript-help-needed/242604)

<div class="topic-metadata">

**Author:** [@harpal\_flash](https://forum.kirupa.com/u/harpal_flash)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 2:27pm UTC](https://forum.kirupa.com/t/urgent-javascript-help-needed/242604 "2007-10-28T14:27:06Z")

</div>

hello friends, I say thanks in beginning , So I have very small problem. 1. I create on flash movie which calls javascript functions. and also I make simple html buttons to call information from flash. IT works fine wit…

---

## [PHP: problem with using file\_get\_contents()](https://forum.kirupa.com/t/php-problem-with-using-file-get-contents/242602)

<div class="topic-metadata">

**Author:** [@silverType](https://forum.kirupa.com/u/silverType)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 1:43pm UTC](https://forum.kirupa.com/t/php-problem-with-using-file-get-contents/242602 "2007-10-28T13:43:19Z")

</div>

Hi guys, I have a problem with using the file\_get\_contents() method. My script is as follows: \<?php $url = "http://www.google.com/"; $content = file\_get\_contents(urlencode($url)) or die("Can't open URL"); echo $c…

---

## [Can you help us crack the code?](https://forum.kirupa.com/t/can-you-help-us-crack-the-code/242600)

<div class="topic-metadata">

**Author:** [@nykol86](https://forum.kirupa.com/u/nykol86)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 11:47am UTC](https://forum.kirupa.com/t/can-you-help-us-crack-the-code/242600 "2007-10-28T11:47:14Z")

</div>

LittleFenris & I are stuck. Can you help us? http://www.kirupa.com/forum/showthread.php?t=278962 I'd like this simple flash paint program to work so that when the mouse is down, it paints, & when the mouse is up, it …

---

## [Firefox problem with embedded swf](https://forum.kirupa.com/t/firefox-problem-with-embedded-swf/242598)

<div class="topic-metadata">

**Author:** [@carlw](https://forum.kirupa.com/u/carlw)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 10:06am UTC](https://forum.kirupa.com/t/firefox-problem-with-embedded-swf/242598 "2007-10-28T10:06:42Z")

</div>

Hey, hopefully this is easy for you smart peoples to solve. http://users.tpg.com.au/adsl8jey/gallery/ \<- that's my site I just added my first embedded swf - it used to be just an image..now the footer has links. In fi…

---

## [Depth Problem - Bringing Front](https://forum.kirupa.com/t/depth-problem-bringing-front/242597)

<div class="topic-metadata">

**Author:** [@Gazurt](https://forum.kirupa.com/u/Gazurt)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 10:00am UTC](https://forum.kirupa.com/t/depth-problem-bringing-front/242597 "2007-10-28T10:00:52Z")

</div>

I don't know if there is a simple code like this: holder.bringFront(object); So I wrote a code: var i:int = 0; var b:int = 0; var dunya:MovieClip = new MovieClip(); addChild(dunya); // function yarat() { for (i=…

---

## [Dynamic menu ordering](https://forum.kirupa.com/t/dynamic-menu-ordering/242596)

<div class="topic-metadata">

**Author:** [@mentha](https://forum.kirupa.com/u/mentha)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 9:53am UTC](https://forum.kirupa.com/t/dynamic-menu-ordering/242596 "2007-10-28T09:53:36Z")

</div>

For a dynamic menu I'm building, I need to be able to shift menu items up or down instead of just order it by the ID in my SQL table. I've added a new column to the menuTable calles menuRank. But now I can't seem to get …

---

## [Cross domain problem](https://forum.kirupa.com/t/cross-domain-problem/242594)

<div class="topic-metadata">

**Author:** [@Qgeis](https://forum.kirupa.com/u/Qgeis)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 9:03am UTC](https://forum.kirupa.com/t/cross-domain-problem/242594 "2007-10-28T09:03:33Z")

</div>

I'm have a flash file which loads an xml file sub.domain.com/data.xml. It loads fine when the swf is loaded from sub.domain.com but it does not load from www.sub.domain.com. It's all the same directory on the webserver…

---

## [Unable to load WSDL](https://forum.kirupa.com/t/unable-to-load-wsdl/242593)

<div class="topic-metadata">

**Author:** [@IseeAC](https://forum.kirupa.com/u/IseeAC)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 8:52am UTC](https://forum.kirupa.com/t/unable-to-load-wsdl/242593 "2007-10-28T08:52:34Z")

</div>

I have created a simple webservice and connected to it using Actionscript. It works fine when you run it from flash but fails to work when hosted or run through local IIS. Error it generates is "Unable to load WSDL, if…

---

## [W850i Flash Themes](https://forum.kirupa.com/t/w850i-flash-themes/242591)

<div class="topic-metadata">

**Author:** [@Omnigaia](https://forum.kirupa.com/u/Omnigaia)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 4:34am UTC](https://forum.kirupa.com/t/w850i-flash-themes/242591 "2007-10-28T04:34:10Z")

</div>

Hi everyone, I'm wondering if anyone knows how to create flash themes for cell phones such as Sony Ericsson's W850i! Thanks!

---

## [Spawning Enemies](https://forum.kirupa.com/t/spawning-enemies/242590)

<div class="topic-metadata">

**Author:** [@habes](https://forum.kirupa.com/u/habes)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 3:11am UTC](https://forum.kirupa.com/t/spawning-enemies/242590 "2007-10-28T03:11:28Z")

</div>

Ok, so heres my enemy code, on the main frame: ActionScript Code: \[FONT=Courier New\]\[LEFT\]\[COLOR=#000000\]var\[/COLOR\] enemy = \[COLOR=#0000ff\]attachMovie\[/COLOR\]\[COLOR=#000000\](\[/COLOR\]\[COLOR=#ff0000\]"zombie"\[/CO…

---

## [MySQL, MSSQL, PostgreSQL,... vs Oracle](https://forum.kirupa.com/t/mysql-mssql-postgresql-vs-oracle/242589)

<div class="topic-metadata">

**Author:** [@hl1](https://forum.kirupa.com/u/hl1)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 2:10am UTC](https://forum.kirupa.com/t/mysql-mssql-postgresql-vs-oracle/242589 "2007-10-28T02:10:28Z")

</div>

I've been searching, but I can't find anything that addresses this: why do high profile companies choose Oracle for database-ing over the other readily available and supported database software out there? What advantages…

---

## [Need to cap frequency on a jquery slideDown slideUp](https://forum.kirupa.com/t/need-to-cap-frequency-on-a-jquery-slidedown-slideup/242587)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 12:54am UTC](https://forum.kirupa.com/t/need-to-cap-frequency-on-a-jquery-slidedown-slideup/242587 "2007-10-28T00:54:34Z")

</div>

My function slides a div called slidebar down & then back up without user interaction. I would like returning visitors to not see the div slide. I have a cookie that worked with my scriptaculous sliding div, that doesn't…

---

## [Accessing properties and methods of like objects](https://forum.kirupa.com/t/accessing-properties-and-methods-of-like-objects/242586)

<div class="topic-metadata">

**Author:** [@Rezmason](https://forum.kirupa.com/u/Rezmason)\
**Replies:** 0\
**Last updated:** [October 28, 2007, 12:40am UTC](https://forum.kirupa.com/t/accessing-properties-and-methods-of-like-objects/242586 "2007-10-28T00:40:18Z")

</div>

Hello. Is there a straightforward means of limiting access to a class's properties and methods to other instances of that class? For instance, say we have two instances of the Example class. Is there a way to allow one…

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

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