# programming

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

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

**Page:** 202

---

## [String Searching](https://forum.kirupa.com/t/string-searching/326629)

<div class="topic-metadata">

**Author:** [@revo999](https://forum.kirupa.com/u/revo999)\
**Replies:** 0\
**Last updated:** [December 31, 2011, 9:58am UTC](https://forum.kirupa.com/t/string-searching/326629 "2011-12-31T09:58:22Z")

</div>

Hi all I am converting a number to string var myResult : Number = 12.6789345 var myString : String ; myString = String (myResult); i am trying to search . (decimal point) if ( myString.search(".") { } bu…

---

## [Proscenium](https://forum.kirupa.com/t/proscenium/326628)

<div class="topic-metadata">

**Author:** [@ColinDavies](https://forum.kirupa.com/u/ColinDavies)\
**Replies:** 0\
**Last updated:** [December 31, 2011, 7:37am UTC](https://forum.kirupa.com/t/proscenium/326628 "2011-12-31T07:37:36Z")

</div>

Maybe this is a silly question, but then I'd be sillier if I didn't ask it. i'm trying to learn about molehill,Stage3D, AGAL, etc. Should I be also looking at Adobe Proscenium ? The reason I ask is that it obviously can…

---

## [Getting notes from a Midi file](https://forum.kirupa.com/t/getting-notes-from-a-midi-file/326627)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [December 31, 2011, 6:31am UTC](https://forum.kirupa.com/t/getting-notes-from-a-midi-file/326627 "2011-12-31T06:31:02Z")

</div>

Hi, I want to load a midi file into Flash and have it read the sequence so I can get each musical note from the file. But I'm not sure where to start on this. Does anyone know how I would go about accomplishing this? …

---

## [Constraining startDrag() to trapezoid shape](https://forum.kirupa.com/t/constraining-startdrag-to-trapezoid-shape/326625)

<div class="topic-metadata">

**Author:** [@joptionpane](https://forum.kirupa.com/u/joptionpane)\
**Replies:** 0\
**Last updated:** [December 30, 2011, 6:34pm UTC](https://forum.kirupa.com/t/constraining-startdrag-to-trapezoid-shape/326625 "2011-12-30T18:34:42Z")

</div>

hei guys.. how can i constrain the dragging of my movieClip inside the shape of a trapezoid? here's the code.. pamato.onPress = function() { startDrag(this, false, 1000, 270, 130, 605); }; pamato.onRelease =…

---

## [Using AS3 Vectors in Flash CS3](https://forum.kirupa.com/t/using-as3-vectors-in-flash-cs3/326624)

<div class="topic-metadata">

**Author:** [@temp6532](https://forum.kirupa.com/u/temp6532)\
**Replies:** 0\
**Last updated:** [December 30, 2011, 3:50pm UTC](https://forum.kirupa.com/t/using-as3-vectors-in-flash-cs3/326624 "2011-12-30T15:50:50Z")

</div>

Hello, I was wondering if it was possible in ANY way to use the Vector class in Flash CS3? I have Flash CS5.5 but I prefer the GUI in CS3 over a hundred times more and I'm working on a project right now in which some of …

---

## [Overlapping sound vs. Andio not in sync](https://forum.kirupa.com/t/overlapping-sound-vs-andio-not-in-sync/326622)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [December 30, 2011, 12:57pm UTC](https://forum.kirupa.com/t/overlapping-sound-vs-andio-not-in-sync/326622 "2011-12-30T12:57:10Z")

</div>

Hi, I am aving a problem managing the sound in my application. Here is the situation: I have ten frames in the main timeline and on each frame is a movieclip, inside of which i need to put sound (Each movieclip plays a…

---

## [iPhone full screen landscape only, how to do auto orientation?](https://forum.kirupa.com/t/iphone-full-screen-landscape-only-how-to-do-auto-orientation/326621)

<div class="topic-metadata">

**Author:** [@rei\_flash](https://forum.kirupa.com/u/rei_flash)\
**Replies:** 0\
**Last updated:** [December 30, 2011, 11:53am UTC](https://forum.kirupa.com/t/iphone-full-screen-landscape-only-how-to-do-auto-orientation/326621 "2011-12-30T11:53:33Z")

</div>

Hello, just a simple question but I haven't yet find an good answer. As titled, my app is landscape and I want it full screen only; and I don't know how to make it auto-rotate... in iOS Export option I can just chec…

---

## [Help me Convert this WPF to Silverlight](https://forum.kirupa.com/t/help-me-convert-this-wpf-to-silverlight/326618)

<div class="topic-metadata">

**Author:** [@complete](https://forum.kirupa.com/u/complete)\
**Replies:** 0\
**Last updated:** [December 30, 2011, 6:30am UTC](https://forum.kirupa.com/t/help-me-convert-this-wpf-to-silverlight/326618 "2011-12-30T06:30:58Z")

</div>

Help me Convert this WPF to Silverlight I am interested in a Charles Petzold C# example that shows how to do a fisheye effect ( http://www.charlespetzold.com/blog/2009/05/Realizing-a-Fisheye-Effect-in-Silverlight.html ).…

---

## [Site will not load. Using AS2 and ZigoEngine](https://forum.kirupa.com/t/site-will-not-load-using-as2-and-zigoengine/326613)

<div class="topic-metadata">

**Author:** [@Graph\_DesignerG](https://forum.kirupa.com/u/Graph_DesignerG)\
**Replies:** 0\
**Last updated:** [December 30, 2011, 1:04am UTC](https://forum.kirupa.com/t/site-will-not-load-using-as2-and-zigoengine/326613 "2011-12-30T01:04:42Z")

</div>

Ok, I'm a designer, not a skilled coder, think logos. I, with the help of a award winning designer, went about building a portfolio website. He left for Vermont and me hanging. When loaded, in browser, it will not start …

---

## [Dumb noob question - FlashCS4](https://forum.kirupa.com/t/dumb-noob-question-flashcs4/326611)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [December 29, 2011, 9:10pm UTC](https://forum.kirupa.com/t/dumb-noob-question-flashcs4/326611 "2011-12-29T21:10:22Z")

</div>

When I draw a stroke and then go to adjust the thickness or style (dotted, dashed etc.) all the stroke options are grayed out. Why is that, and how do I change these things? I'm pretty sure I used to be able to. I'm stum…

---

## [Display Unix Timestamp from MySQL as Standard Date](https://forum.kirupa.com/t/display-unix-timestamp-from-mysql-as-standard-date/326610)

<div class="topic-metadata">

**Author:** [@SwanSongAtWork](https://forum.kirupa.com/u/SwanSongAtWork)\
**Replies:** 0\
**Last updated:** [December 29, 2011, 8:34pm UTC](https://forum.kirupa.com/t/display-unix-timestamp-from-mysql-as-standard-date/326610 "2011-12-29T20:34:17Z")

</div>

Simple title to this post right? I've searched this now for days but I have come up with results that are just not what I need. Here are the details: I have on page one (lets say) a place where people can select a da…

---

## [Tutorial: Hashtables vs. Arrays](https://forum.kirupa.com/t/tutorial-hashtables-vs-arrays/326608)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [December 29, 2011, 8:31am UTC](https://forum.kirupa.com/t/tutorial-hashtables-vs-arrays/326608 "2011-12-29T08:31:09Z")

</div>

\[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[FONT=Segoe UI\]Hi everyone,\[/FONT\]\[/FONT\]\[/COLOR\]\[/COLOR\] \[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[FONT=Segoe UI\]This is the happening place to discuss all things related…

---

## [How to insert ads while swf is still loading :(](https://forum.kirupa.com/t/how-to-insert-ads-while-swf-is-still-loading/326605)

<div class="topic-metadata">

**Author:** [@aleksandar28](https://forum.kirupa.com/u/aleksandar28)\
**Replies:** 0\
**Last updated:** [December 28, 2011, 2:42pm UTC](https://forum.kirupa.com/t/how-to-insert-ads-while-swf-is-still-loading/326605 "2011-12-28T14:42:18Z")

</div>

Hello, i would like to insert my adsense while swf(game) is loading, and when swf(game) is just finished loading, then show swf(game). I'm desperate, please help me!! Something like this: http://www.startgames.ws/game…

---

## [I need to use super() in a handler function but AS3 won't let me!](https://forum.kirupa.com/t/i-need-to-use-super-in-a-handler-function-but-as3-wont-let-me/326603)

<div class="topic-metadata">

**Author:** [@caccola](https://forum.kirupa.com/u/caccola)\
**Replies:** 0\
**Last updated:** [December 28, 2011, 12:25pm UTC](https://forum.kirupa.com/t/i-need-to-use-super-in-a-handler-function-but-as3-wont-let-me/326603 "2011-12-28T12:25:23Z")

</div>

Hi all, sorry for my english (i'm from Italy) I'm trying to make a CustomLoader class that extends another class. In the contructor of my CustomLoader, i need to call super(myLoader:Loader) where myLoader is a Loader o…

---

## [TypeError: Error #1006: value is not a function. Please help](https://forum.kirupa.com/t/typeerror-error-1006-value-is-not-a-function-please-help/326602)

<div class="topic-metadata">

**Author:** [@Availor](https://forum.kirupa.com/u/Availor)\
**Replies:** 0\
**Last updated:** [December 28, 2011, 12:11pm UTC](https://forum.kirupa.com/t/typeerror-error-1006-value-is-not-a-function-please-help/326602 "2011-12-28T12:11:32Z")

</div>

Hello, I've tried to figure out why this didn't work. Please maybe someone can help me out. This is my code: I have 4 buttons that are named btn1, btn2, btn3, btn4. if I do only trace(my\_btn) it returns btn1, btn2, …

---

## [Flash CS3 AS2 - Symbol zone Hittest](https://forum.kirupa.com/t/flash-cs3-as2-symbol-zone-hittest/326601)

<div class="topic-metadata">

**Author:** [@deadkman](https://forum.kirupa.com/u/deadkman)\
**Replies:** 0\
**Last updated:** [December 28, 2011, 10:46am UTC](https://forum.kirupa.com/t/flash-cs3-as2-symbol-zone-hittest/326601 "2011-12-28T10:46:39Z")

</div>

Hi. I've been trying to work around this for a long time and no matter where i ask no one can give me any kind of solution to this... even when the problem itself doesn't look that hard but its hard to explain.... I wa…

---

## [Problem with displaying images of .swf in website](https://forum.kirupa.com/t/problem-with-displaying-images-of-swf-in-website/326600)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [December 28, 2011, 7:20am UTC](https://forum.kirupa.com/t/problem-with-displaying-images-of-swf-in-website/326600 "2011-12-28T07:20:41Z")

</div>

Hi, I have created a simple image scroller (.swf). After embedding it in the website, I see that the images are missing. I have checked the file path. Appreciate your guidance. Thanks

---

## [Pressing more than one button in as3](https://forum.kirupa.com/t/pressing-more-than-one-button-in-as3/326597)

<div class="topic-metadata">

**Author:** [@Obi\_Wan](https://forum.kirupa.com/u/Obi_Wan)\
**Replies:** 0\
**Last updated:** [December 28, 2011, 12:20am UTC](https://forum.kirupa.com/t/pressing-more-than-one-button-in-as3/326597 "2011-12-28T00:20:57Z")

</div>

Hey folks, I was wondering if someone could help me figure something out. I have two buttons when the user selects both buttons I want to display a movie clip. Basically I created a mouse down event to set a variable nam…

---

## [TD: Which creep to shoot first?](https://forum.kirupa.com/t/td-which-creep-to-shoot-first/326595)

<div class="topic-metadata">

**Author:** [@valk](https://forum.kirupa.com/u/valk)\
**Replies:** 0\
**Last updated:** [December 27, 2011, 9:55pm UTC](https://forum.kirupa.com/t/td-which-creep-to-shoot-first/326595 "2011-12-27T21:55:50Z")

</div>

Hello. Coming to you guys for the first time with a problem that's been bugging me for ages and I can't find a solution to. So, the problem is: you are making a tower defense game. Your creeps are stored in an array. Y…

---

## [StyleSheet + setTextFormat doesn´t work](https://forum.kirupa.com/t/stylesheet-settextformat-doesn-t-work/326591)

<div class="topic-metadata">

**Author:** [@magic74](https://forum.kirupa.com/u/magic74)\
**Replies:** 0\
**Last updated:** [December 27, 2011, 3:27pm UTC](https://forum.kirupa.com/t/stylesheet-settextformat-doesn-t-work/326591 "2011-12-27T15:27:45Z")

</div>

Hi to all, i can´t figure out why i can´t combine stylesheet and settextformat together: package marek{ import flash.display.DisplayObject; import flash.display.Sprite; import flash.text.\*; public cl…

---

## [Auto-Suggestion Search](https://forum.kirupa.com/t/auto-suggestion-search/326589)

<div class="topic-metadata">

**Author:** [@mjmayuresh](https://forum.kirupa.com/u/mjmayuresh)\
**Replies:** 0\
**Last updated:** [December 27, 2011, 9:48am UTC](https://forum.kirupa.com/t/auto-suggestion-search/326589 "2011-12-27T09:48:47Z")

</div>

\[h=1\]Need an auto-suggestion search engine like the one on flipkart.com for my website. Any suggestion?\[/h\]need to show searches according to their respective categories.

---

## [What is the difference between sql and oracle?](https://forum.kirupa.com/t/what-is-the-difference-between-sql-and-oracle/326585)

<div class="topic-metadata">

**Author:** [@jackmike008](https://forum.kirupa.com/u/jackmike008)\
**Replies:** 0\
**Last updated:** [December 27, 2011, 3:15am UTC](https://forum.kirupa.com/t/what-is-the-difference-between-sql-and-oracle/326585 "2011-12-27T03:15:40Z")

</div>

I know that sql and oracle both are data base related and both are use same query . But i want to know what is exact difference between SQL and ORACLE?

---

## [Can PHP and MY SQL Used to Develop Payroll System or Other MIS System?](https://forum.kirupa.com/t/can-php-and-my-sql-used-to-develop-payroll-system-or-other-mis-system/326584)

<div class="topic-metadata">

**Author:** [@jackmike008](https://forum.kirupa.com/u/jackmike008)\
**Replies:** 0\
**Last updated:** [December 27, 2011, 3:12am UTC](https://forum.kirupa.com/t/can-php-and-my-sql-used-to-develop-payroll-system-or-other-mis-system/326584 "2011-12-27T03:12:47Z")

</div>

We are planning to develop Payroll & HR module. As PHP and MySQL is free we decided to go with PHP & MYSQL. Can it be used for such systems.

---

## [How do I connect a single PHP script to multiple pages?](https://forum.kirupa.com/t/how-do-i-connect-a-single-php-script-to-multiple-pages/326583)

<div class="topic-metadata">

**Author:** [@jackmike008](https://forum.kirupa.com/u/jackmike008)\
**Replies:** 0\
**Last updated:** [December 27, 2011, 3:07am UTC](https://forum.kirupa.com/t/how-do-i-connect-a-single-php-script-to-multiple-pages/326583 "2011-12-27T03:07:14Z")

</div>

I want to display a "Last Published" date on my site's articles using PHP. My site files are PHP pages. Originally I had a piece of code in each article page, however I've now learned that is very bad design. What co…

---

## [What is the best seo software to promote my website on Google?](https://forum.kirupa.com/t/what-is-the-best-seo-software-to-promote-my-website-on-google/326580)

<div class="topic-metadata">

**Author:** [@jackmike008](https://forum.kirupa.com/u/jackmike008)\
**Replies:** 0\
**Last updated:** [December 27, 2011, 2:53am UTC](https://forum.kirupa.com/t/what-is-the-best-seo-software-to-promote-my-website-on-google/326580 "2011-12-27T02:53:03Z")

</div>

i want to promote my website on Google...i don't have a clue how to do that..can someone tell me what is the best seo software to promote my website on Google

---

## [Php secure page question](https://forum.kirupa.com/t/php-secure-page-question/326578)

<div class="topic-metadata">

**Author:** [@eimidta](https://forum.kirupa.com/u/eimidta)\
**Replies:** 0\
**Last updated:** [December 26, 2011, 10:41pm UTC](https://forum.kirupa.com/t/php-secure-page-question/326578 "2011-12-26T22:41:28Z")

</div>

Hello everyone! I have a question about secure pages in PhP and MySQL that I cannot seem to answer on my own. I have created multiple password protected pages before where the user has to enter a username and password.…

---

## [Link a class from another class](https://forum.kirupa.com/t/link-a-class-from-another-class/326577)

<div class="topic-metadata">

**Author:** [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Replies:** 0\
**Last updated:** [December 26, 2011, 4:55pm UTC](https://forum.kirupa.com/t/link-a-class-from-another-class/326577 "2011-12-26T16:55:41Z")

</div>

i have a monster hitting my character, and when i didn't had a class in my char i had if (this.hitTestObject(\_root.getChildByName("personagem"))) but now it doesn't work, because i created a class of my character, s…

---

## [Need help creating a virtual camera for a player movement in a platformer game](https://forum.kirupa.com/t/need-help-creating-a-virtual-camera-for-a-player-movement-in-a-platformer-game/326575)

<div class="topic-metadata">

**Author:** [@iceherosubzero](https://forum.kirupa.com/u/iceherosubzero)\
**Replies:** 0\
**Last updated:** [December 26, 2011, 11:03am UTC](https://forum.kirupa.com/t/need-help-creating-a-virtual-camera-for-a-player-movement-in-a-platformer-game/326575 "2011-12-26T11:03:37Z")

</div>

Hi all, I am making a platformer vertical scrolling game. In my game my main player character jumps on platforms and climbs up the platforms from ground to top. I am having trouble scrolling the background and the plat…

---

## [Cutting Tiles from a MovieClip](https://forum.kirupa.com/t/cutting-tiles-from-a-movieclip/326573)

<div class="topic-metadata">

**Author:** [@IgiveUp](https://forum.kirupa.com/u/IgiveUp)\
**Replies:** 0\
**Last updated:** [December 26, 2011, 4:24am UTC](https://forum.kirupa.com/t/cutting-tiles-from-a-movieclip/326573 "2011-12-26T04:24:32Z")

</div>

My class works if I load the image using a url but does not work if I pass in a MovieClip. Any idea why? package { import flash.events.\*; import flash.display.\*; import flash.geom.\*; import flash.net.…

---

## [More on getting filters to work on iPhone (cacheAsBitmap?)](https://forum.kirupa.com/t/more-on-getting-filters-to-work-on-iphone-cacheasbitmap/326571)

<div class="topic-metadata">

**Author:** [@rei\_flash](https://forum.kirupa.com/u/rei_flash)\
**Replies:** 0\
**Last updated:** [December 25, 2011, 11:03pm UTC](https://forum.kirupa.com/t/more-on-getting-filters-to-work-on-iphone-cacheasbitmap/326571 "2011-12-25T23:03:59Z")

</div>

The cacheAsBitmap property is somewhat similar to what I had to do to get the filters to show up on iPhone GPU mode: \[URL="http://www.kirupa.com/forum/showthread.php?370075-AIR3-on-iPhone-filters-doesn-t-work!-!-BIG-HEAD…

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

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