dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: sp1endidb0b

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    545

    Hi, i am attempting to use loadvars to send a...

    Hi, i am attempting to use loadvars to send a variable to a php script, and load back the output from the script. The problem seems to be in the sending part.

    heres my flash script:
    ...
  2. Replies
    0
    Views
    314

    Hi all, i am using 3 sliders to emulate part of...

    Hi all,
    i am using 3 sliders to emulate part of the advanced effects panel in my swf.
    basically i have an image encased in a movie clip. i have created 3 sliders (r g and b) which when moved store...
  3. Replies
    2
    Views
    1,128

    hi all, i have a couple of nested loops within...

    hi all,
    i have a couple of nested loops within my php script, and within the second loop i need to create a new array dynamically and put the value of an expression in it.

    the loops are: outer...
  4. Replies
    1
    Views
    337

    Hi folks, trying to do $array[$x-1]; in php, and...

    Hi folks,
    trying to do $array[$x-1]; in php, and it doesnt seem to work.

    anybody have an explanation or an alternative?

    thx in advance
    bob

    http://www.sensoriumdesign.net/
  5. By far the easiest method of loading an image...

    By far the easiest method of loading an image into an swf is to use jgenerator. - in fact jgenerator has a little trick that means you dont have to create a template file, provided your swf is on a...
  6. Thread: php sort

    by sp1endidb0b
    Replies
    5
    Views
    463

    Musicman, it seems that i am a fool of the...

    Musicman,
    it seems that i am a fool of the highest order :)

    i had a look over my flash file again, and realised i hadnt converted my arrays to strings before sending them. i added these arrays to...
  7. Thread: php sort

    by sp1endidb0b
    Replies
    5
    Views
    463

    hi, yes tried that originally. tried it again...

    hi,
    yes tried that originally. tried it again just now to make sure i hadnt made any mistakes, but still no joy..

    heres the rest of my code if its any help..

    ($slicesxmax etc. are arrays that...
  8. Thread: php sort

    by sp1endidb0b
    Replies
    5
    Views
    463

    something wrong with what i had tried before, cos...

    something wrong with what i had tried before, cos mergedx is an array, i should have set the individual array elements to integer. i.e.

    for($l=0;$l<=$y;$l++){
    settype($slicesxmax[$l],...
  9. Thread: php sort

    by sp1endidb0b
    Replies
    5
    Views
    463

    Hi all, I am trying to sort an array of numbers...

    Hi all,
    I am trying to sort an array of numbers in php, and i cant get it to work. It seems that sort() by default sorts via value of strings. I have tried to set the array explicitly to integer:...
  10. Replies
    4
    Views
    451

    hi, as far as i know this isnt solvable, swf's...

    hi,
    as far as i know this isnt solvable, swf's always go to the top of the z index.

    however, i was trying to figure this one out quite a while ago, so it may be that there is a solution or...
  11. Replies
    0
    Views
    534

    hi all, ive been working on a project for a good...

    hi all,
    ive been working on a project for a good few months, and i am slightly concerned about the security of swf files..

    i know there are lots of swf crackers out there, and that they even can...
  12. Replies
    11
    Views
    605

    hi, someone who's been working with actionscript...

    hi, someone who's been working with actionscript for longer than i could probably answer this with more success, but ill have a go..

    function bulletBounce () {
    for (i=1; i<30; i++) {
    if...
  13. Replies
    4
    Views
    530

    ok, heres the absurdly easy way: ...

    ok, heres the absurdly easy way:

    loadMovie("imagename.jpg.swt",_root.target);

    you need to have your swf installed on a server that supports jgenerator, but you dont have to mess about with any...
  14. doesnt: on(press){ _level0.gotoAndPlay("left...

    doesnt:

    on(press){
    _level0.gotoAndPlay("left eye");
    _root.gotoAndPlay("menu hide");
    loadMovieNum("inocencia.swf",1);
    }

    work?
  15. forgot to mention, yes you can set the alpha of...

    forgot to mention, yes you can set the alpha of the original clip to 0, but i suspect the new clip would then get an alpha of 0 as well. also sometimes alpha 0 can be visible. better to use the...
  16. if i understand correctly.. loadMovie...

    if i understand correctly..

    loadMovie ("moviename.swf",_root.location);

    where imagename.swf is the name of the movie to load, _root.location being the target of the clip you wish to replace.
    ...
  17. Replies
    11
    Views
    605

    hi, personally i would do this with a nested...

    hi,
    personally i would do this with a nested loop..

    for(j=1;j<30;j++){
    for(i=1;i<=30;i++){
    if (_root["barrier" + i].hitTest(["bullet"+j])){
    this["bullet" + j].dx*=-1;
    ...
  18. Replies
    0
    Views
    321

    array strangeness

    Hi,
    not really a problem at the moment, though it could end up being..

    i am writing a flash app. which has a fair number of variables and arrays on the go, but nowhere near enough to cause...
  19. Replies
    3
    Views
    413

    no. you can simulate it if you want to mask...

    no.

    you can simulate it if you want to mask something that is on a flat single colour background, by using an alpha faded movie clip, but not a proper mask.

    bob
    ...
  20. Replies
    2
    Views
    322

    Hi, you need to use total_bytes =...

    Hi, you need to use

    total_bytes = _root.getBytesTotal();
    totalkbytes = total_bytes/1000;
    loaded_bytes = _root.getBytesLoaded();
    loadedkbytes = loaded_bytes/1000;
    percent_done =...
  21. Replies
    16
    Views
    1,173

    Ah, every so often nielsons ill considered...

    Ah, every so often nielsons ill considered rantings pop up.
    nielson seems to view everything from a "usability is the only objective" standpoint. Clearly this isnt the case, as the web isnt only...
  22. Hi, i have abandoned my own sorting function, and...

    Hi, i have abandoned my own sorting function, and am now trying to use the built in method. but on testing the script causes the comp to freeze and comes up with the abort script message. heres what...
  23. Replies
    1
    Views
    892

    Hi, i am trying to write my own function to...

    Hi,
    i am trying to write my own function to sort the elements of an array. I think i have the bubblesort algorithm sorted, but the trouble is that each element in the array not only has a number,...
  24. Replies
    4
    Views
    435

    hi, to change fonts via the font tag requires...

    hi,
    to change fonts via the font tag requires one of two things, either you will have to use a search and replace string function to modify the font tag, or strip the html to get the text, then bung...
  25. thanks jpsy, that did the job very nicely indeed....

    thanks jpsy, that did the job very nicely indeed. Im new to all this string manipulation stuff, so i was wondering if you could clarify my understanding of that second function..

    1) string to be...
Results 1 to 25 of 67
Page 1 of 3 1 2 3




Click Here to Expand Forum to Full Width

HTML5 Development Center