Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - perfectskills

Pages: 1
1
You really don't need to make all your text huge! Just type it using the default font - it's much easier to read (unless you have a visual impairment, in which case, the large text is understandable but, in this case, I would recommend using the zoom feature of your browser).
that is the plan, but i need to call a javascript function from stencyl to get a scrore like
var score=parseInt;
function scoreup(){
    score+=5;
    document.getElementsById('scoreid').innerHTML=score;
} then i will only need to pass that variable to PHP and that way i could post it on Facebook but the code (ExternalInterface.call("scoreup");) doesn't work so i need a way to call a function to the people be aailable to post they score. :)

2
To communicate between Flash and Javascript you need to use the ExternalInterface class in AS3
http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7cb1.html
But i would Like To know if there is another way to call a external javascript function, may with the code block of stencyl?

3
To communicate between Flash and Javascript you need to use the ExternalInterface class in AS3
http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7cb1.html
thanks a Lot!!! i think this will Work!

4
hi!!!, my question is if it is possible call a javascript function, like ┬╗function score();┬ź
is because i want to publish it on my website and use var (score) to post it on facebook,
or is another way to post variables in facebook with stencyl?

5
Thanks, But sorry it always go to the wrong x and y  :(

6
My problem is that, when a Ball (actor) collides with an actor , an actor will show and then will slide, but first i need to the position of this go to the ball and then slide, i need the position because it will happen 3 times in the same level, so i need that this actor every time that the ball collides, will go to the Ball, and yes i already try that when a ball colides with an actor, set x to x of last collided actor, set y to y of last collided actor. Thanks!!!

Pages: 1