# Latest

**URL:** https://forum.kirupa.com/latest.md?page=332

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

**Page:** 333

---

## [Using Geoloction to find distance travled?](https://forum.kirupa.com/t/using-geoloction-to-find-distance-travled/327355)

<div class="topic-metadata">

**Author:** [@deanznets](https://forum.kirupa.com/u/deanznets)\
**Replies:** 0\
**Last updated:** [February 23, 2012, 5:17pm UTC](https://forum.kirupa.com/t/using-geoloction-to-find-distance-travled/327355 "2012-02-23T17:17:04Z")

</div>

How can i use Geo location to find the distance traveled? Im trying to develop this iphone app but i cant figure it out

---

## [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…

---

## [Javascript: assign event listeners to elements dynamically added in a loop](https://forum.kirupa.com/t/javascript-assign-event-listeners-to-elements-dynamically-added-in-a-loop/327353)

<div class="topic-metadata">

**Author:** [@natronp](https://forum.kirupa.com/u/natronp)\
**Replies:** 0\
**Last updated:** [February 23, 2012, 3:28pm UTC](https://forum.kirupa.com/t/javascript-assign-event-listeners-to-elements-dynamically-added-in-a-loop/327353 "2012-02-23T15:28:51Z")

</div>

I'm having trouble figuring out how to assign event listeners to html elements i'm dynamically creating in a loop within my javascript function. My code works but only the last element added has the listener assigned a…

---

## [How to give effects when form open and close](https://forum.kirupa.com/t/how-to-give-effects-when-form-open-and-close/327352)

<div class="topic-metadata">

**Author:** [@amitdesai](https://forum.kirupa.com/u/amitdesai)\
**Replies:** 0\
**Last updated:** [February 23, 2012, 3:17pm UTC](https://forum.kirupa.com/t/how-to-give-effects-when-form-open-and-close/327352 "2012-02-23T15:17:23Z")

</div>

I want the information how to add effect's to form when form open's and close on mdi form?

---

## [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

---

## [Is there a way to add more items on this nav bar?](https://forum.kirupa.com/t/is-there-a-way-to-add-more-items-on-this-nav-bar/327350)

<div class="topic-metadata">

**Author:** [@multimediamkt](https://forum.kirupa.com/u/multimediamkt)\
**Replies:** 0\
**Last updated:** [February 23, 2012, 2:59pm UTC](https://forum.kirupa.com/t/is-there-a-way-to-add-more-items-on-this-nav-bar/327350 "2012-02-23T14:59:47Z")

</div>

How do I add more items so that to workaround the trouble of overflow on the navbar : if more items are added the navbar expands in height and the new items are place on another line messing the layout. The nav items …

---

## [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…

---

## [Random numbers](https://forum.kirupa.com/t/random-numbers/327345)

<div class="topic-metadata">

**Author:** [@fonzio](https://forum.kirupa.com/u/fonzio)\
**Replies:** 0\
**Last updated:** [February 23, 2012, 8:04am UTC](https://forum.kirupa.com/t/random-numbers/327345 "2012-02-23T08:04:32Z")

</div>

hi wondering if anybody could help me with the following i have a textbox called high\_txt.text another called symbol\_txt.text and another called low\_txt.text and finally one more called answer\_txt.text the first three ar…

---

## [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…

---

## [Introduction of acoolme.com](https://forum.kirupa.com/t/introduction-of-acoolme-com/327343)

<div class="topic-metadata">

**Author:** [@alextui](https://forum.kirupa.com/u/alextui)\
**Replies:** 0\
**Last updated:** [February 23, 2012, 12:46am UTC](https://forum.kirupa.com/t/introduction-of-acoolme-com/327343 "2012-02-23T00:46:08Z")

</div>

It is our website which is just launched 1 month ago. This website is implemented by using java technology.Any comments or question is welcomed. http://www.acoolme.com \[COLOR=#1D1D1D\]Acoolme is a marketplace for onli…

---

## [Mvc traces two times?](https://forum.kirupa.com/t/mvc-traces-two-times/327342)

<div class="topic-metadata">

**Author:** [@bonassus](https://forum.kirupa.com/u/bonassus)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 9:15pm UTC](https://forum.kirupa.com/t/mvc-traces-two-times/327342 "2012-02-22T21:15:38Z")

</div>

sorry never mind. how do you delete a post? thanks

---

## [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?

---

## [Bitmapdata hittest bug (Error #2005)](https://forum.kirupa.com/t/bitmapdata-hittest-bug-error-2005/327338)

<div class="topic-metadata">

**Author:** [@drpelz](https://forum.kirupa.com/u/drpelz)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 4:05pm UTC](https://forum.kirupa.com/t/bitmapdata-hittest-bug-error-2005/327338 "2012-02-22T16:05:18Z")

</div>

hi, sometimes I get this extremely nasty bug: ArgumentError: Error #2005: Parameter 0 is of the incorrect type. Should be type BitmapData. at flash.display::BitmapData/hitTest() This is the line where I get thi…

---

## [Trouble loading external swf into movie clip](https://forum.kirupa.com/t/trouble-loading-external-swf-into-movie-clip/327337)

<div class="topic-metadata">

**Author:** [@tris3d](https://forum.kirupa.com/u/tris3d)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 1:54pm UTC](https://forum.kirupa.com/t/trouble-loading-external-swf-into-movie-clip/327337 "2012-02-22T13:54:02Z")

</div>

Hello I'm trying to load an external swf inside of my movie clip. I'm having a few troubles though. meter.loadMovie("external.swf"); I managed to get the above to work but as soon as i press a button in the exter…

---

## [Convert animated movieClip to byteArray and save it as swf](https://forum.kirupa.com/t/convert-animated-movieclip-to-bytearray-and-save-it-as-swf/327336)

<div class="topic-metadata">

**Author:** [@boywithumbrella](https://forum.kirupa.com/u/boywithumbrella)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 1:24pm UTC](https://forum.kirupa.com/t/convert-animated-movieclip-to-bytearray-and-save-it-as-swf/327336 "2012-02-22T13:24:44Z")

</div>

\[CENTER\]\[COLOR=#000000\]\[FONT=verdana\]hi is there any way to convert animated movieClip to byteArray and save it as swf or flv or any video extension on the computer?? \[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=verdana\]I tried …

---

## [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…

---

## [On and off button](https://forum.kirupa.com/t/on-and-off-button/327332)

<div class="topic-metadata">

**Author:** [@joenowhere](https://forum.kirupa.com/u/joenowhere)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 9:51am UTC](https://forum.kirupa.com/t/on-and-off-button/327332 "2012-02-22T09:51:58Z")

</div>

I want to create a button to turn on and off a movie clip, and I want to make the button to start the MC just when you click on the button and turn it off when you click it again? did any one know how to do it! please he…

---

## [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…

---

## [Watch The New Season Of T.V Show](https://forum.kirupa.com/t/watch-the-new-season-of-t-v-show/327330)

<div class="topic-metadata">

**Author:** [@sandy24](https://forum.kirupa.com/u/sandy24)\
**Replies:** 0\
**Last updated:** [February 22, 2012, 9:23am UTC](https://forum.kirupa.com/t/watch-the-new-season-of-t-v-show/327330 "2012-02-22T09:23:05Z")

</div>

Watch Most Exciting Season Finale Of Glee Watch Glee Season 3 Episode 14 Online Glee Mid Season Finale

---

## [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)…

[Previous page](https://forum.kirupa.com/latest.md?page=331)

[Next page](https://forum.kirupa.com/latest.md?page=333)
