Skip to content

Special attribute values

james edited this page Aug 29, 2016 · 9 revisions

hreftype or srctype attribute values

Post Flipnote

Only seen as post_kwz(UseLockWindow,CameraNg), which will allow the user to optionally lock their Flipnote, and also display a note if the camera was used

Post Comment

post_kwc($mode)

$mode Usage
simpleMode default mode; only one colour can be used
ProModeQuoteOff allows multiple colours to be used
ProModeQuoteOn multiple colours and the option to import a frame from the flipnote shown on the top screen

Load/Display Flipnote

When clicked, a link with hreftype get_kwz will load and play the Flipnote file referenced in href.

An image with srctype get_kwz will display the Flipnote file referenced in src as an image. width and height can be used to determine size.

Load/Display Comment

Same as Load/Display Flipnote, but with get_kwc instead.

Keyboard

post_keyboard($maxLength,$value,$mode,$unknown)

$maxLength is the maximum length, in characters, of the entered content.

$value is the content already entered in the keyboard

$mode Usage
CodeWord single line value
MultiLine multiple lines; can be used for comments, etc

$unknown has always been seen left empty so far

Coins

(This needs to be tested)

post_coins($starCoins, $coins, $unknown)

$starCoins is the number of star coins available to the user, likewise, $coins is the number of regular coins available. There seems to be a third type, but $unknown has only been seen as 0 so far.

Untested/unseen

Several other contenders for href_type values have been spotted in the ROM / RAM:

post_value, post_search_ticket, post_balance, get_rivtoken, get_escape_no_stack, post_qr, qr_keyword, eshop, app