A Flash Developer Resource Site

Search:

Type: Posts; User: UberMincer

Page 1 of 6 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    0
    Views
    332

    Help with collision detection

    hi guys

    I want to create a collision detention system where objects move away from each other if they get too close, much like in the link below (done in java I think):
    ...
  2. Replies
    1
    Views
    391

    spacing objects out on the stage...?

    Hi guys

    i'm trying to find a tutorial for spacing objects out on a stage...
    Say for example I have 20 spheres on the stage different sizes I want to create a script (OOP probably) that will...
  3. help with declaring variables using var

    hi guys

    i'm having trouble writing variable names

    I used to write something like this when joining some text and the contents of a variable:

    _root["fruit_"+type] = "banana";

    how can I...
  4. thanks for your reply basically i'm reading in...

    thanks for your reply
    basically i'm reading in an xml file e.g.
    <node1>has sometext here</node1>
    <node2>has some more text here</node2>

    basically I want to display the value of the nodes in a...
  5. is it possible to have non editable text in an editable textarea?

    Hi guys,

    I'm using textareas and loading in text. Some of the text that I am loading in I want to be editable, and some text I want it to be impossible for the user to edit

    Is there a way to...
  6. Help required with writing an xml parser function

    Hi guys

    I'm trying to write a function that will parse through an xml document and store the contents into variables,
    I can write it by using lots of for and if loops (which is a lot of code if...
  7. Replies
    2
    Views
    388

    great thanks for that, its annoying how its...

    great thanks for that,
    its annoying how its often the simplest things
  8. Replies
    2
    Views
    388

    help needed with for loop logic

    Hi guys

    I'm having real trouble trying to get my head around the logic of a loop.
    basically I want to conduct a for loop where a variable has the value of a function call on its previous...
  9. How to split a string at a specific character position?

    hi guys
    i've got a string, and I want to be able to perform a split at a specific character position, I've identified what number the character is at, but don't know how to split at that point.
    ...
  10. How to count word frequency in a string?

    Hi guys

    I have a text string and I need to count the number of times a particular word is used in that string.

    Can anyone point me in the right direction in how to count the number of times say...
  11. thanks mate thats ideal

    thanks mate

    thats ideal
  12. storing variables outside of xml parsing function

    hi guys

    I'm parsing xml data in flash, here is some example code:

    var file:XML = new XML();
    file.ignoreWhite = true;
    file.load("test.xml");
    file.onLoad = function(bSuccess:Boolean) {
    if...
  13. Help required in changing the contents of a string

    hi guys

    I'm reading in a series of xml files (which I cannot change the structure of) which contain a passage of text like that below
    Here is an example:

    Since iritis is associated with HLA...
  14. Tips on reading data into flash from an xml file please?!

    hi guys

    I'm reading in nodes from an xml file into flash.
    A node can consist of html code and various subnodes

    here is an example

    <fulltext>
    <p>once upon a time there was a
    ...
  15. altering the height of a textarea component depending upon number of text lines.....?

    Hi guys

    I've got a series of textarea components which hold data read in from an xml file.

    What I want to do is alter the textarea height dynamically depending upon the amount of text the...
  16. time delay in changing text input component properties....?

    Hi guys

    i've got a few textInput components on my stage.
    However, I cannot alter the properties of these components - specifically adding text (myComponent.text = "hey joe";)- on the same frame...
  17. bind data from XML connector component to actionscript variable?

    hi guys

    I'm reading in an xml file via the xml connector component. However, before I display text into text areas i need to do some manipulations using actionscript.

    How can I bind the xml...
  18. how to update scrollpane component scrollbar when mc has changed height?

    Hi guys

    i've got a scrollpane component that loads in a movieclip.
    that movieclip itself loads in data and changes height.

    How can I tell the scrollpane to update the scrollbar height once the...
  19. is there a ereg_replace, preg_replace equivalent in actionscript?

    hi guys

    I need to do some string manipulations, and was wondering whether there were any functions like the php ones ereg_replace, preg_replace available in actionscript?

    Many thanks!

    Joe
  20. pattern matching text in a string and extracting text?

    hi guys

    I've got a variable that holds a string eg

    var banana:String = "<intro>this is an intro</intro> and this is a load of other non important information";

    What i want to do is be able...
  21. Replies
    1
    Views
    3,359

    How to create dynamic variable names?

    Hi guys

    I want to create a series of variable names dynamically, but don't know how to do it.

    for example, i have a for loop, and want to use the "i" value to be part of a new variable name
    ...
  22. I believe you can pass variables to your flash...

    I believe you can pass variables to your flash movie through the embedded object code which is on your page.

    so in human speak, if you were on a car about pages you can pass the variable ?page=car...
  23. How to detect when a newline is created in an input textfield?

    How to detect a newline when a user is typing into an input textfield?
    Hi guys

    I've got a movieclip which holds a number of input textfields
    When a user is writing into one of these textfields,...
  24. trying to get a vertical scrollbar to scroll a movieclip problem, help needed!...

    Hi guys

    I'm trying to create a scrollbar for a movieclip
    Basically when i move the scrollbar down the content movieclip should go up and vice versa,

    This works, however I can't get the...
  25. Replies
    3
    Views
    478

    how to check whats been clicked on?

    hi guys

    I'm trying to figure out how to know what item on the stage has been clicked on.
    i've got the following mouse listener code:

    var mouseListener = new Object();...
Results 1 to 25 of 131
Page 1 of 6 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center