A Flash Developer Resource Site

Search:

Type: Posts; User: serviator

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    797

    (this.myUrl); not working

    Can anyone give me a pointer to why the script below can't give me the value of "this.myUrl"?

    this.createEmptyMovieClip("container", 1);

    function ViewImage(success) {
    if (success == true) {...
  2. I figured it out: xspeed = mc.xspeed;

    I figured it out:
    xspeed = mc.xspeed;
  3. What is the syntax for measuring an objects speed?

    What is the syntax for measuring an objects speed in Actionscript 2.0?

    It used to be something to the effect of:
    xspeed = mc/:xspeed;

    :: Serviator
  4. Replies
    4
    Views
    431

    deadbeat> that was a good idea. I just tried it...

    deadbeat> that was a good idea. I just tried it out though, and the images are still displayed on top of the mask symbol on the stage.

    It is probably easier if I upload the movie for anyone to...
  5. Replies
    4
    Views
    431

    Thanks for the demo movie. I opened it and had a...

    Thanks for the demo movie. I opened it and had a look at how you did it. You obviously are skilled in Actionscript as you cranked that example out in less than 5 minutes, so a quick question...

    My...
  6. Replies
    4
    Views
    431

    Help with SetMask!

    I am duplicating movieclips using the "movieClip(attachMovie)" command and it displays fine.

    Now, what is the correct way to create a mask for them to appear in?
    I have tried placing an MC mask...
  7. Replies
    1
    Views
    312

    The problem has been solved here:...

    The problem has been solved here: http://forums.ultrashock.com/ff.htm?http://forums.ultrashock.com/forums/showthread.php?s=&threadid=39611

    Thanks though.
  8. Replies
    1
    Views
    312

    quotes around variable name missing

    I am trying to feed a javascript variable into a getURL command, however the scripts (at the bottom) outputs the wrong value:

    getURL(javascript:openwindow('document.html','Title','600','400')

    I...
  9. bart otj> you are right, it must be because of...

    bart otj> you are right, it must be because of case sensitivity like Xurion_Flash_Man mentions.

    Steve_w_V> Would "exact" work for you? :p
  10. I don't know why the command I used didn't work,...

    I don't know why the command I used didn't work, because when I copy/pasted the syntax you gave me it worked. I compared both mine and your syntax on two different lines and they were identical.
    ...
  11. Is there a "button.onRelease = function()" syntax?

    I can get a "button.onPress = function()" syntax to work, but I need it to activate on rollover and a "button.onRollover = function()" doesn't work.

    Any help appreciated,
    :: Serviator
  12. Replies
    0
    Views
    347

    Vertical menu insight needed

    What would be a good way to achieve the following vertical menu effect:

    Default view
    item1 item2 item3

    Rollover on "item2":
    item1 item2 -- sub item1 sub item2 ...
  13. Nevermind, I figured out that if I named the...

    Nevermind, I figured out that if I named the instance "testing" and used the script below it works.

    if (Selection.getFocus() == "_level0.testing") {
    _root.name = "";
    }
  14. Selection.getFocus() not working in MX/2004

    The script below works fine in Flash5, but not in MX and MX 2004 - does anyone know how to clear a textfield when it is selected?

    Old script:

    if (Selection.getFocus() == "_root.name") {
    ...
  15. Replies
    2
    Views
    523

    I actually did a search before posting this...

    I actually did a search before posting this question and read through a bunch of posts, but didn't find what I was looking for. I'll have a look at what you dug up though, thanks!
  16. Replies
    2
    Views
    523

    random with no repeats

    I am trying to make a randomizer, but the usual problem occurs with Flash's own "random" command; it is not very random.

    How do I make a randomizer which doesn't repeat the same number again and...
  17. Replies
    4
    Views
    460

    Thank you for the feedback. I found out that on...

    Thank you for the feedback. I found out that on some OS's that command doesn't always work, which I think is why I have this problem. However there's 3rd party software to resolve it, one of them has...
  18. Replies
    2
    Views
    452

    Thanks, I'll take a look at it :)

    Thanks, I'll take a look at it :)
  19. Replies
    2
    Views
    452

    Mailto: inside an .exe file?

    Hi there,

    Does anyone know how I can get the mailto: function to work inside an .exe file?

    I tried using:
    on (press) {
    getURL("mailto:name@domain.com");
    }
    on a button, but it doesn't work...
  20. Replies
    4
    Views
    460

    No, the "on (press)" command is correct, so...

    No, the "on (press)" command is correct, so that's not the reason, thanks though!

    Anyone else who might know?
  21. Replies
    4
    Views
    460

    mailto inside an .exe file

    Hi there,

    Does anyone know how I can get the mailto: function to work inside an .exe file?

    I tried using:
    on (press) {
    getURL("mailto:name@domain.com");
    }
    on a button, but it doesn't work...
  22. Replies
    0
    Views
    383

    Shared Objects expiration possible?

    Hey there, I was wondering if there is an easy way to add an expiration date to shared objects, eg. expiration date after 1 day?

    I already use this script:

    myLocalSO =...
  23. Thread: GetURL

    by serviator
    Replies
    9
    Views
    567

    It works fine if you click directly on the right...

    It works fine if you click directly on the right button, but try clicking on the left button first, click "cancel" to the request of downloading the zip file and then click the right button. Atleast...
  24. Thread: GetURL

    by serviator
    Replies
    9
    Views
    567

    I tried it, but no luck. My example with your...

    I tried it, but no luck. My example with your code is at http://www.serviator.dk/geturl/getURL.swf

    zip file is located here: http://www.serviator.dk/geturl/getURL.zip

    Any other ideas?
  25. Thread: GetURL

    by serviator
    Replies
    9
    Views
    567

    Here is a zip file with the .html, .fla and .swf...

    Here is a zip file with the .html, .fla and .swf file included. You have to upload it online to make it work. You can see an example of the files here: http://www.serviator.dk/geturl/getURL.html
    ...
Results 1 to 25 of 54
Page 1 of 3 1 2 3




Click Here to Expand Forum to Full Width

HTML5 Development Center