User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 17 of 17

Thread: Javascript example

  1. #11
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,084
    Mentioned
    123 Post(s)
    Tagged
    2 Thread(s)

    Re: Javascript example

    there needs to be global value protection for scores and such so that not all global vales / strings can be changed via JS
    There is an "Enable scripting features" option in the properties of the application. Just unselect it.

  2. #12
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    2,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Javascript example

    but I mean for some values, like if the score is stored in one value and its submitted via JS or something, anyone can take the HTML and change the code so it always sets the score to an extremely high number :/

  3. #13
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,084
    Mentioned
    123 Post(s)
    Tagged
    2 Thread(s)

    Re: Javascript example

    If you submit the score via Javascript or anything else you should encrypt it with a private key so that nobody can change it easily.

  4. #14
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Javascript example

    Very Cool, this should be stickied after there are 2 pages, though.
    Working as fast as I can on Fusion 3

  5. #15
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Javascript example

    It keeps shaking and when it shakes i loose the ball

  6. #16
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Javascript example

    That's the whole point. Read the first post!

  7. #17
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export Module
    AndyH's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,445
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Javascript example

    Quote Originally Posted by Andrew
    Example 1

    Using JavaScript to pass information in to an application to change the background colour (sets global values which the app then uses to set the background colour). Also shows resizing of the application via a container div tag.

    http://www.gwerdy.com/test1.html
    ...
    Has anyone got a copy of the pages linked to above? These links are dead.
    Andy H @ ovine.net
    Awful Jokes - a new cartoon every day: http://awful.ovine.net/
    Ovine's games: http://www.ovine.net

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Javascript and MMF 2
    By nameless in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 18th December 2012, 02:23 AM
  2. Javascript Question
    By Zoglu in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 17th February 2012, 08:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •