xboxscene.org forums

Pages: 1 ... 5 6 [7] 8 9 ... 16

Author Topic: Launching Swf Files Via Kiosk Disk  (Read 2439 times)

Midri

  • Archived User
  • Newbie
  • *
  • Posts: 14
Launching Swf Files Via Kiosk Disk
« Reply #90 on: December 31, 2005, 02:11:00 PM »

I wonder what restrictions they have placed on the fscommand... thats a powerfull little bugger...
Logged

Gloei

  • Archived User
  • Newbie
  • *
  • Posts: 14
Launching Swf Files Via Kiosk Disk
« Reply #91 on: December 31, 2005, 04:34:00 PM »

It looks like you can overwrite the .wma files with your own music in .wma format as long as they're WMA files of at least version 9. The files from Hexic are created with WMA 10, but WMA 9 worked fine. (the same file encoded with wma 8.0 didnt work, so assume any older version wont work either).

And apparently you can also remove any of the .wma files. I removed all except one (Oilyn.wma) which I replaced with a Oilyn.wma I made (encoded) myself using MS's WMA encoder 9. That worked fine, although I don't know what happens when the song ends biggrin.gif Still have to check that, I guess the music simply stops since it can't find the next file in the playlist smile.gif

Btw, maybe someone can setup a Wiki for this ? It would be nice to have some central place with all available info so far.

(Ohw, and happy new year biggrin.gif)
Logged

Gloei

  • Archived User
  • Newbie
  • *
  • Posts: 14
Launching Swf Files Via Kiosk Disk
« Reply #92 on: January 01, 2006, 07:23:00 AM »

As far as I can make up out of the AS most input is handled through a keyListener they register. The keylistener registers 2 callback functions (keyUp and keyDown) that handle all input events. To see which key was pressed/released they use Key.getCode(). This looks like a normal way of doing it, i think.

Ohw and it looks like, as someone said here before, the keycode is just a normal ascii code. 65 ('A') for the A button, 76 ('L') for LT, 82 ('R') for RT, 83 ('S') for Start, ...

I'm going to do some more tests to find out all the keycodes. And I still have a problem of not receiving any keyUp events upon release of any of the buttons. Got the feeling they send a keyDown directly followed by a keyUp event when you press a button and they don't send anything when you release a button sad.gif That would make sense, since that's how Hexic works.

Ohw and i've also seen the _root.KeyboardAccessibility, but I got no clue what it is used for. (looks like something they use to register keyboard mappings for menu buttons... or something like that?)
Logged

Daveid

  • Archived User
  • Jr. Member
  • *
  • Posts: 51
Launching Swf Files Via Kiosk Disk
« Reply #93 on: January 01, 2006, 09:06:00 AM »

I'm having trouble re-publishing the fla file

i exported the swf to an .fla and an .as file and am republishing it as a flash 6 file but when i do my computer DIESSSS, flash stops responding. It's not a bad computer, AMD 64 3600 with a gig of ram, or is that not good enough and i just have to wait a year? thanks
Logged

Gloei

  • Archived User
  • Newbie
  • *
  • Posts: 14
Launching Swf Files Via Kiosk Disk
« Reply #94 on: January 01, 2006, 10:41:00 AM »

Here's a list of all key codes returned by Key.getCode() in Flash. I've found those by running a selfmade Flash file on the xbox 360:

Start = 83 ('S')
Back = 66 ('B')
A = 65 ('A')
B = 66 ('B')
X = 88 ('X')
Y = 89 ('Y')
Left stick, left = 37 and 41
Left stick, up = 38 and 42
Left stick, right = 39 and 43
Left stick, down = 40 and 44
dpad, left = 37 and 41
dpad, up = 38 and 42
dpad, right = 39 and 43
dpad, down = 40 and 44
LT = 76 ('L')
RT = 82 ('R')
LB = not supported!
RB = not supported!

If you use a keyListener it will behave a little different than on the PC. If you press a button the keyDown function will be called after which the keyUp function will be called directly. If you release a button nothing happens. All directional buttons (the stick and the dpad) are kind of in a triggered mode. When you press one of these buttons a keyDown function will get called followed by a keyUp, followed by a short pause, after which the keyDown and keyUp get called again, followed again by a short pause, etc.. Until you release the button. The pause between two keyDown/keyUp pairs is constant (and quite long). When you use the 41 to 44 codes for the left stick, the pause is shorter btw than for the 37 to 40 codes...

Hopefully you guys find this useful in some way.
Logged

lilpee

  • Archived User
  • Newbie
  • *
  • Posts: 4
Launching Swf Files Via Kiosk Disk
« Reply #95 on: January 01, 2006, 12:20:00 PM »

Flash web browser:

http://www.flashkit....-7865/index.php


I'm going to run and get some blank cd-rw's (can the 360 read rw's?) so I can test some of my flash projects..
Logged

DarkDeity

  • Archived User
  • Jr. Member
  • *
  • Posts: 99
Launching Swf Files Via Kiosk Disk
« Reply #96 on: January 01, 2006, 12:38:00 PM »

i found that browser too, but have you tried to use it, you can do anythign with it... yo ucant change the status to "connected"
Logged

genecyber

  • Archived User
  • Newbie
  • *
  • Posts: 7
Launching Swf Files Via Kiosk Disk
« Reply #97 on: January 01, 2006, 01:19:00 PM »

Gloei: Can you please pm me or e-mail me a flash file that shows an example of this, something say that when you load on the 360, it can display to the screen "Start button puched" A button Pushed"
Logged

Biosyntrix

  • Archived User
  • Newbie
  • *
  • Posts: 13
Launching Swf Files Via Kiosk Disk
« Reply #98 on: January 01, 2006, 02:48:00 PM »

also roadrunners flash site has a flash search engine that utilizes google =)
Logged

Gloei

  • Archived User
  • Newbie
  • *
  • Posts: 14
Launching Swf Files Via Kiosk Disk
« Reply #99 on: January 01, 2006, 03:16:00 PM »

QUOTE(genecyber @ Jan 1 2006, 09:26 PM) View Post

Gloei: Can you please pm me or e-mail me a flash file that shows an example of this, something say that when you load on the 360, it can display to the screen "Start button puched" A button Pushed"

Here you go: Input handling example

I've placed the source .fla there, and the .swf's you need to place on a disc (together with a default.xex, which you have to find somewhere yourself). I've tested it (by burning the two .swf's + default.xex on a CDRW) on my xbox 360 (pal) and it works. Btw they work on your PC too smile.gif Just click on HexicDeluxe.swf from the link above, to see what you should get on the xbox.

have fun.
Logged

DarkDeity

  • Archived User
  • Jr. Member
  • *
  • Posts: 99
Launching Swf Files Via Kiosk Disk
« Reply #100 on: January 01, 2006, 05:05:00 PM »

Hexic is really fun to play on the PC, but i have to run it on low quality. Anways, while browsing the kiosk disk i noticed that kingkong was an EXE file, but when i try to run it on my computer it says the program is too big to fit in the memory, just putting out food for thought

Logged

t_mac_ca

  • Archived User
  • Full Member
  • *
  • Posts: 104
Launching Swf Files Via Kiosk Disk
« Reply #101 on: January 01, 2006, 05:49:00 PM »

I have macromedia flash 8 how do i save with Zlib compression?
Logged

Angerwound

  • Archived User
  • Hero Member
  • *
  • Posts: 928
Launching Swf Files Via Kiosk Disk
« Reply #102 on: January 01, 2006, 07:02:00 PM »

Yah, anything i compile with flash 8 seems not to work. Can't locate  zlib compression settings.
Logged

NarutoKun

  • Archived User
  • Full Member
  • *
  • Posts: 117
Launching Swf Files Via Kiosk Disk
« Reply #103 on: January 01, 2006, 10:33:00 PM »

could someone help me decompile the swf with FlashPlayer 7 SDK and Visual Basic 6?
Logged

eDeus

  • Archived User
  • Newbie
  • *
  • Posts: 39
Launching Swf Files Via Kiosk Disk
« Reply #104 on: January 02, 2006, 01:21:00 AM »

comment re XBMC-SWF was very funny, cheers biggrin.gif
Logged
Pages: 1 ... 5 6 [7] 8 9 ... 16