# programming

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

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

**Page:** 189

---

## [HTTP 400 Bad Request / webpage cannot be found](https://forum.kirupa.com/t/http-400-bad-request-webpage-cannot-be-found/327354)

<div class="topic-metadata">

**Author:** [@Scotty13](https://forum.kirupa.com/u/Scotty13)\
**Replies:** 0\
**Last updated:** [February 23, 2012, 4:51pm UTC](https://forum.kirupa.com/t/http-400-bad-request-webpage-cannot-be-found/327354 "2012-02-23T16:51:12Z")

</div>

Building a photo album / upload image page in my website. I have a page that’s giving me trouble… action.php Error when I test in browser: HTTP 400 Bad Request / webpage cannot be found (highlighted below) \<?php de…

---

## [How to keep the footer div fixed....?](https://forum.kirupa.com/t/how-to-keep-the-footer-div-fixed/327351)

<div class="topic-metadata">

**Author:** [@multimediamkt](https://forum.kirupa.com/u/multimediamkt)\
**Replies:** 0\
**Last updated:** [February 23, 2012, 3:07pm UTC](https://forum.kirupa.com/t/how-to-keep-the-footer-div-fixed/327351 "2012-02-23T15:07:23Z")

</div>

How to keep the footer div fixed as it is on this site : http://support.envato.com/support/ I´ve seen some sites that reminds me the early days deprecated html frames. how is that achieved with css ? Thanks a lot

---

## [Problem with CSS .selected class](https://forum.kirupa.com/t/problem-with-css-selected-class/327349)

<div class="topic-metadata">

**Author:** [@nnnniiiicccc](https://forum.kirupa.com/u/nnnniiiicccc)\
**Replies:** 0\
**Last updated:** [February 23, 2012, 2:20pm UTC](https://forum.kirupa.com/t/problem-with-css-selected-class/327349 "2012-02-23T14:20:26Z")

</div>

Hi, I am currently developing this website: http://greencuisineorganics.electra-...te=common/home Using OpenCart.... The problem I have is if you click on the menu tabs at the top, it adopts the background imag…

---

## [Search id must be an integer - What 'am I Missing? HELP!](https://forum.kirupa.com/t/search-id-must-be-an-integer-what-am-i-missing-help/327348)

<div class="topic-metadata">

**Author:** [@Scotty13](https://forum.kirupa.com/u/Scotty13)\
**Replies:** 0\
**Last updated:** [February 23, 2012, 1:35pm UTC](https://forum.kirupa.com/t/search-id-must-be-an-integer-what-am-i-missing-help/327348 "2012-02-23T13:35:16Z")

</div>

I’m a newbie… Here’s my php script: search\_rules.php (Line 33 - marked below) \<?php \*/ function inc\_exc\_str($is\_included) { return $is\_included ? l10n('included') : l10n('excluded'); } // +-------------------------------…

---

## [Stripping string](https://forum.kirupa.com/t/stripping-string/327347)

<div class="topic-metadata">

**Author:** [@surf](https://forum.kirupa.com/u/surf)\
**Replies:** 0\
**Last updated:** [February 23, 2012, 12:39pm UTC](https://forum.kirupa.com/t/stripping-string/327347 "2012-02-23T12:39:49Z")

</div>

Hi, I have a CMS generates a string which is stored in a db like this a:6:{s:11:"video\_thumb"; s:46:"sites/default/files/video\_thumbs/12/video1.jpg"; s:21:"bypass\_autoconversion"; i:0;s:11:"description"; s:0:""; s:…

---

## [ORM question from non programmer...stable, efficient?](https://forum.kirupa.com/t/orm-question-from-non-programmer-stable-efficient/327346)

<div class="topic-metadata">

**Author:** [@yossarian](https://forum.kirupa.com/u/yossarian)\
**Replies:** 0\
**Last updated:** [February 23, 2012, 12:32pm UTC](https://forum.kirupa.com/t/orm-question-from-non-programmer-stable-efficient/327346 "2012-02-23T12:32:53Z")

</div>

Hi, We have been approached by a developer who would like to work on a project and he mentioned that he uses ORM. We have no experience in code and would be grateful if anyone could shed light on: Is it easy to take…

---

## [onEnterFrame driven function not working in AS3](https://forum.kirupa.com/t/onenterframe-driven-function-not-working-in-as3/327344)

<div class="topic-metadata">

**Author:** [@tenthrow](https://forum.kirupa.com/u/tenthrow)\
**Replies:** 0\
**Last updated:** [February 23, 2012, 4:16am UTC](https://forum.kirupa.com/t/onenterframe-driven-function-not-working-in-as3/327344 "2012-02-23T04:16:37Z")

</div>

There is a function that I use all the time written in AS2 with buttons and rollovers to create a smooth animation in and out that doesn't relly on gotoAndPlay or gotoAndStop methods (as I have found them to be quite bug…

---

## [jQuery animate](https://forum.kirupa.com/t/jquery-animate/327341)

<div class="topic-metadata">

**Author:** [@Ineedsleep](https://forum.kirupa.com/u/Ineedsleep)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 8:12pm UTC](https://forum.kirupa.com/t/jquery-animate/327341 "2012-02-22T20:12:00Z")

</div>

Hi, I made this site for a friend, this is the first time Ive used jQuery and Im a little stumped. I want it so when I click on the navigation I want it to go to the div with that id with a nice animation, I may want …

---

## [ActionScript "Next" - Flash Roadmap](https://forum.kirupa.com/t/actionscript-next-flash-roadmap/327340)

<div class="topic-metadata">

**Author:** [@krilnon](https://forum.kirupa.com/u/krilnon)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 4:49pm UTC](https://forum.kirupa.com/t/actionscript-next-flash-roadmap/327340 "2012-02-22T16:49:33Z")

</div>

Part of the roadmap document Adobe released: http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/flashplatform/whitepapers/flash-runtimes-roadmap.pdf Thoughts?

---

## [Non-destructive cropping with rectangle and rectangle/ image resizing](https://forum.kirupa.com/t/non-destructive-cropping-with-rectangle-and-rectangle-image-resizing/327334)

<div class="topic-metadata">

**Author:** [@Aurelia\_Flatner](https://forum.kirupa.com/u/Aurelia_Flatner)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 10:39am UTC](https://forum.kirupa.com/t/non-destructive-cropping-with-rectangle-and-rectangle-image-resizing/327334 "2012-02-22T10:39:27Z")

</div>

\[COLOR=#000000\]\[FONT=Arial\]Hi!\[/FONT\]\[/COLOR\] \[FONT=arial\]\[COLOR=#000000\]I need some help. I’m trying to create a cropping behavior. For that I’ve done a custom sprite with following additional properties:\[/COLOR\]\[CO…

---

## [Need help in Action Script](https://forum.kirupa.com/t/need-help-in-action-script/327331)

<div class="topic-metadata">

**Author:** [@joenowhere](https://forum.kirupa.com/u/joenowhere)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 9:49am UTC](https://forum.kirupa.com/t/need-help-in-action-script/327331 "2012-02-22T09:49:14Z")

</div>

\[LEFT\]I want to do the same effect in the link below, can any one know how to do it, actually, I know how to create a history time line like the link, but I don't know why the slider is not even between each year, so did…

---

## [Saving a Game Map To a Single String, An Array of Arrays Problem](https://forum.kirupa.com/t/saving-a-game-map-to-a-single-string-an-array-of-arrays-problem/327329)

<div class="topic-metadata">

**Author:** [@noisavni](https://forum.kirupa.com/u/noisavni)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 7:18am UTC](https://forum.kirupa.com/t/saving-a-game-map-to-a-single-string-an-array-of-arrays-problem/327329 "2012-02-22T07:18:41Z")

</div>

\*\*What I'm trying to do: \*\*I'm attempting to make a flat text file made up of game map information. I have an array of objects that I'm extracting the properties from and converting to a multidimensional array (an array …

---

## [Drawing Shapes](https://forum.kirupa.com/t/drawing-shapes/327328)

<div class="topic-metadata">

**Author:** [@AS3\_Gringo](https://forum.kirupa.com/u/AS3_Gringo)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 7:01am UTC](https://forum.kirupa.com/t/drawing-shapes/327328 "2012-02-22T07:01:35Z")

</div>

Hi friends, I am facing an issue, need to draw a triangle in such a way that the line thickness remains the same irrespective of the scale applied to the drawn object. Tried using lineStyle with these settings: \*\* scal…

---

## [Error 2025 with eventlistener](https://forum.kirupa.com/t/error-2025-with-eventlistener/327327)

<div class="topic-metadata">

**Author:** [@blackout188](https://forum.kirupa.com/u/blackout188)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 3:20am UTC](https://forum.kirupa.com/t/error-2025-with-eventlistener/327327 "2012-02-22T03:20:49Z")

</div>

a function generating the game buttons public function showGameButton(buttonLabel:String,Name:String,xcord:int,ycord:int) { gameButton = new GameButton(); gameButton.label.text = buttonLabel; gameButton.x = x…

---

## [Altering the alpha of the member of an array](https://forum.kirupa.com/t/altering-the-alpha-of-the-member-of-an-array/327326)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 1:39am UTC](https://forum.kirupa.com/t/altering-the-alpha-of-the-member-of-an-array/327326 "2012-02-22T01:39:32Z")

</div>

I want to set all the movieclips that belong to the objects in an array to .5 . The array is enginesForSale. for (var i:Number = 0; i \< \_model.enginesForSale.length; i++) { var callName…

---

## [Player/ground twitch](https://forum.kirupa.com/t/player-ground-twitch/327325)

<div class="topic-metadata">

**Author:** [@TheOtherTedium](https://forum.kirupa.com/u/TheOtherTedium)\
**Replies:** 0\
**Last updated:** [February 21, 2012, 10:04pm UTC](https://forum.kirupa.com/t/player-ground-twitch/327325 "2012-02-21T22:04:03Z")

</div>

I'm trying to create platformer whose physics are a bit more complicated, and I'm having a bit of trouble. Here are the key sections of the code: function checkGroundHit(e:Event):void{ //The grounded variable simp…

---

## [Erase Vector Drawing?](https://forum.kirupa.com/t/erase-vector-drawing/327324)

<div class="topic-metadata">

**Author:** [@dmennenoh](https://forum.kirupa.com/u/dmennenoh)\
**Replies:** 0\
**Last updated:** [February 21, 2012, 9:50pm UTC](https://forum.kirupa.com/t/erase-vector-drawing/327324 "2012-02-21T21:50:12Z")

</div>

I have a Sprite that I draw into using lineTo. Later the sprite is drawn into a bitmap to add to a mask. That works great. The issue is erasing the vectors in the Sprite once they are drawn. To draw I just do somethin…

---

## [Searching an Array](https://forum.kirupa.com/t/searching-an-array/327323)

<div class="topic-metadata">

**Author:** [@DMB](https://forum.kirupa.com/u/DMB)\
**Replies:** 0\
**Last updated:** [February 21, 2012, 9:02pm UTC](https://forum.kirupa.com/t/searching-an-array/327323 "2012-02-21T21:02:57Z")

</div>

EDIT: Figured it out, here’s my code: \*\*var myArray = new Array(“value0”, “value1”, “value2”); function search (input) {\*\* trace("Searching for: "+input); for (var i=0; i\<myArray.length;i++) { if (input == myArray)…

---

## [dispatchEvent for a virtual mouseClick doesn't hit children like a real click would](https://forum.kirupa.com/t/dispatchevent-for-a-virtual-mouseclick-doesnt-hit-children-like-a-real-click-would/327322)

<div class="topic-metadata">

**Author:** [@cakepizza](https://forum.kirupa.com/u/cakepizza)\
**Replies:** 0\
**Last updated:** [February 21, 2012, 8:05pm UTC](https://forum.kirupa.com/t/dispatchevent-for-a-virtual-mouseclick-doesnt-hit-children-like-a-real-click-would/327322 "2012-02-21T20:05:55Z")

</div>

I have bitmap generated each frame and when clicked needs to simulate a click at a specific pixel in a separate movie clip. If you really click on a movie clip, the event trickles down the hierarchy of children to di…

---

## [How can I do the same effect](https://forum.kirupa.com/t/how-can-i-do-the-same-effect/327319)

<div class="topic-metadata">

**Author:** [@joenowhere](https://forum.kirupa.com/u/joenowhere)\
**Replies:** 0\
**Last updated:** [February 21, 2012, 12:01pm UTC](https://forum.kirupa.com/t/how-can-i-do-the-same-effect/327319 "2012-02-21T12:01:43Z")

</div>

Can any body know how to do the same effect like the link below, please help me, big thanks http://www.nytimes.com/interactive/2008/08/04/sports/olympics/20080804\_MEDALCOUNT\_MAP.html

---

## [Experience Sharing: How to Convert DVD to iPad More Easily](https://forum.kirupa.com/t/experience-sharing-how-to-convert-dvd-to-ipad-more-easily/327318)

<div class="topic-metadata">

**Author:** [@selfreflec](https://forum.kirupa.com/u/selfreflec)\
**Replies:** 0\
**Last updated:** [February 21, 2012, 9:49am UTC](https://forum.kirupa.com/t/experience-sharing-how-to-convert-dvd-to-ipad-more-easily/327318 "2012-02-21T09:49:26Z")

</div>

Hi, Buddies! Today i'd like to share with you a magic multimedia conversion tool, which can Rip DVD movies to iPad. It is the seventh app i have tried, which really helped me convert my DVDs to my iPad without any qualit…

---

## [Help to create floater module like kirupa.com](https://forum.kirupa.com/t/help-to-create-floater-module-like-kirupa-com/327316)

<div class="topic-metadata">

**Author:** [@trendykarn](https://forum.kirupa.com/u/trendykarn)\
**Replies:** 0\
**Last updated:** [February 21, 2012, 9:02am UTC](https://forum.kirupa.com/t/help-to-create-floater-module-like-kirupa-com/327316 "2012-02-21T09:02:51Z")

</div>

hello, I want to create a floater module like kirupa have on top of the page containing search term and log in. plz help me.its urgent thank you

---

## [Tutorial: Creating a Horizontal CSS List Menu](https://forum.kirupa.com/t/tutorial-creating-a-horizontal-css-list-menu/327314)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [February 21, 2012, 8:27am UTC](https://forum.kirupa.com/t/tutorial-creating-a-horizontal-css-list-menu/327314 "2012-02-21T08:27:50Z")

</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…

---

## [First website, having trouble with html css positioning](https://forum.kirupa.com/t/first-website-having-trouble-with-html-css-positioning/327312)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [February 21, 2012, 7:36am UTC](https://forum.kirupa.com/t/first-website-having-trouble-with-html-css-positioning/327312 "2012-02-21T07:36:31Z")

</div>

Hi guys, It's been a heap of fun learning all this new stuff \[smile\] Anyways, here's the site: tosstemple dot com Very broken as you can see, as I come here oh so humbly. Here's what I'm looking to accomplish: …

---

## [How many photos can be imported in Flash](https://forum.kirupa.com/t/how-many-photos-can-be-imported-in-flash/327308)

<div class="topic-metadata">

**Author:** [@Jeja](https://forum.kirupa.com/u/Jeja)\
**Replies:** 0\
**Last updated:** [February 20, 2012, 10:23pm UTC](https://forum.kirupa.com/t/how-many-photos-can-be-imported-in-flash/327308 "2012-02-20T22:23:04Z")

</div>

I was importing photos in six different scenes, but if there are more than 20 photo in each scenes they can not be all seen when I export them.Does anyone know why? Tnx

---

## [Flash EPOCH vs PHP EPOCH](https://forum.kirupa.com/t/flash-epoch-vs-php-epoch/327304)

<div class="topic-metadata">

**Author:** [@Esseti](https://forum.kirupa.com/u/Esseti)\
**Replies:** 0\
**Last updated:** [February 20, 2012, 7:23pm UTC](https://forum.kirupa.com/t/flash-epoch-vs-php-epoch/327304 "2012-02-20T19:23:59Z")

</div>

I'm having a problem in calculating the current time from the PHP epoch result, vs the epoch of the user. Here's a link: http://malylink.pdg.pl/epoch/test.html I always get +~22 minutes when I calculate the server epoch,…

---

## [Objects initialization order question](https://forum.kirupa.com/t/objects-initialization-order-question/327303)

<div class="topic-metadata">

**Author:** [@barryss](https://forum.kirupa.com/u/barryss)\
**Replies:** 0\
**Last updated:** [February 20, 2012, 7:11pm UTC](https://forum.kirupa.com/t/objects-initialization-order-question/327303 "2012-02-20T19:11:43Z")

</div>

Hi, I have a small problem accessing xml data loaded in main movieclip constructor. I have a project with few movieclips placed on stage. Movieclips are instances of infcls class. In the class I'm trying to access data f…

---

## [Dynamic mouse trail](https://forum.kirupa.com/t/dynamic-mouse-trail/327301)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [February 20, 2012, 4:02pm UTC](https://forum.kirupa.com/t/dynamic-mouse-trail/327301 "2012-02-20T16:02:48Z")

</div>

I've had a look at the Graphics class in AS3 and come up with a dynamic mouse trail. It works, but it's pretty rough and ready. I wonder if anyone could give it a once-over and see if there is a more elegant and efficien…

---

## [Can't spot the mistake, has to be something simple](https://forum.kirupa.com/t/cant-spot-the-mistake-has-to-be-something-simple/327300)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [February 20, 2012, 2:59pm UTC](https://forum.kirupa.com/t/cant-spot-the-mistake-has-to-be-something-simple/327300 "2012-02-20T14:59:49Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]I updated a catch via collision detection game to AS2 and noticed that only the first 3 out of 5 objects are being detected. All 5 are detected in AS1. If I comment out the last 2 all is fine…

---

## [Strange problem with LocalConnection](https://forum.kirupa.com/t/strange-problem-with-localconnection/327298)

<div class="topic-metadata">

**Author:** [@Sartiv](https://forum.kirupa.com/u/Sartiv)\
**Replies:** 0\
**Last updated:** [February 20, 2012, 8:32am UTC](https://forum.kirupa.com/t/strange-problem-with-localconnection/327298 "2012-02-20T08:32:58Z")

</div>

Hello to all! First of all, sorry for my poor English. I have a strange problem with LocalConnection. Situation: A sample e-shop. I have a parent .swf who load 3-4 external swf. In a external swf (let's name it "X")…

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

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