A Flash Developer Resource Site

Search:

Type: Posts; User: JamesPoel

Search: Search took 0.02 seconds.

  1. How do i stop a tween applied to a movie clip?

    i found this:


    function stopTweens(target:MovieClip):void {
    target = target || _level0;
    for (var i in target) {
    if (typeof (target[i]) == "object" && target[i] instanceof Tween) {...
  2. Replies
    1
    Views
    313

    WOWW i managed to fix it all by myself! heres the...

    WOWW i managed to fix it all by myself! heres the code if anyone is interested!



    this.addEventListener(Event.ENTER_FRAME,sortCharacters);

    function sortCharacters(event:Event){

    var...
  3. Replies
    1
    Views
    313

    Collision detection?

    Hello, im makign an online game.

    here is the link so you can get an idea: http://jpoel.x10hosting.com/OnlineGame/

    basically, players are added to the room in the order they come in

    what i'm...
  4. Replies
    1
    Views
    801

    Beta test my online multiplayer!

    Here's the link :) it has a lot of problems right now

    Also there is NO chat or name filter at the moment, because its a beta test. So i appologise for any bad language that i cannot control as of...
  5. Replies
    2
    Views
    342

    Hi, sorry for double posting, i have found...

    Hi, sorry for double posting, i have found something that works but i dont think its the best method, wondering if anyone could develop on this...



    var myMC:MovieClip = new blank_character;...
  6. Replies
    2
    Views
    342

    Help with duplicating movie clips

    Hiiii.

    Could someone please help me with something

    i know i can duplicated a movie clip by using addChild:


    var myMC:MovieClip = new blank_character;
    this.addChild(myMC);
    myMC.x = 200;
  7. haha that didnt make much sense at all im afraid...

    haha that didnt make much sense at all im afraid :$ im a bit noobish with AS3 when it gets to a certain depth, could you point in the right direction with some code or something?
  8. Sorry! try this link:...

    Sorry! try this link:
    http://www.swfcabin.com/open/1257616898

    as you can see it works, but the mouse's movement is really juttery ;( just need to find a way to make it smoother

    ALSO: changing...
  9. How do i make a cursor that rotates with mouse movements?

    Okay, this is what i've managed to do so far:

    http://jpoel.byethost15.com/Swim/Swim_example.swf

    But as you can see it isnt smooth at all! Does anyone have any better code i can use?

    This is...
  10. Replies
    2
    Views
    476

    it was created using attachMovie but swap depths...

    it was created using attachMovie
    but swap depths worked thanks :)
  11. Replies
    2
    Views
    476

    Why wont this work??

    I have a movie clip on the stage with instance name "aaa"

    i'm trying to remove it using

    _root.aaa.removeMovieClip();

    but its not working?? why?
  12. does nobody know?

    does nobody know?
  13. Getting flash variable using javascript?I have a swf embedded onto my html page named

    I have a swf embedded onto my html page named "FL"

    i am using this code to get variables using javascript:


    <SCRIPT LANGUAGE="JavaScript">
    <!--

    function getFlashMovieObject(movieName)
    {
  14. Replies
    0
    Views
    353

    Getting flash variable using flash?

    Please delete this, mods! the topic title is completely wrong and i can't find out how to change it so i will repost it
  15. how can i remotely disable a swf from functioning?

    I'm releasing an exe which uses SWF files to function

    the SWF files use internet access to load some stuff needed for the exe.

    i am encrypting my SWFs

    but just incase there are any bugs...
  16. oh thanks! i'll look there.

    oh thanks! i'll look there.
  17. [RESOLVED] Im making a game, how do i protect it?

    I am making a game.
    I am encrypting my SWFs.
    I realise that even with encryption, flash games are always somewhat hackable, but i want to make sure mine is as least-hackable as i can make it.
    I...
  18. Hello thanks :) i managed to get it to do exactly...

    Hello thanks :) i managed to get it to do exactly what i wanted it to! Thanks so much for your help :D
  19. can i be really cheeky and ask one final...

    can i be really cheeky and ask one final question? :$
    what if function1 isn't on the main timeline of the sub swf? what if its inside one (or more) movieclips?

    it's alright if you cant answer...
  20. that's great! Ok one last question, hope you dont...

    that's great! Ok one last question, hope you dont hate me for asking so much. haha

    if i were to script in AS2 as apposed to AS3, the code still works, however what if i wanted to call a function...
  21. Wow! What an amazing answer! thanks for taking...

    Wow! What an amazing answer! thanks for taking your time to write that for me, it works well :)

    Thanks again!

    Edit: just another question, if you still read this thread, already marked it as...
  22. [RESOLVED] Calling a function from a name in text box?

    I have a text box on the stage

    i want to be able to type the name of a function and it's arguments, click a button, and have the function executed with said argruments
    is this possible?
    ...
  23. Replies
    1
    Views
    393

    Confused with variables

    Hi, i'm relatively new to flash

    I cant go into detail as to what exactly im making, but basically i have a SWF file, there is a movieclip in this SWF file with instance name "stage" and i can...
  24. Replies
    0
    Views
    325

    Help with calling a custom function ;)

    I have a visual basic program which has a swf file loaded into it

    when a button is pressed, a specified SWF is added to a new layer, layer 1, using VisualBasic code (this part works)

    the only...
Results 1 to 24 of 24




Click Here to Expand Forum to Full Width

HTML5 Development Center