dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: sheltercove

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    273

    You could do this adding a getUrl on your action...

    You could do this adding a getUrl on your action and call a javascript function to manipulate your page:

    getUrl("javascript:my_function.....
  2. Yep, it's pretty easy: //Assuming you have ten...

    Yep, it's pretty easy:

    //Assuming you have ten buttons named butt1-butt10
    for(i=1;i <= 10;i++)
    {
    var butt = "butt" + i;
    eval(butt).onPress = function() {
    trace("hit button:" + this._name);...
  3. Replies
    2
    Views
    276

    Here is a simple example: var vals = new...

    Here is a simple example:

    var vals = new Array(1,2,3,4,5);
    var sum = 0;
    for(i=0;i < vals.length;i++)
    {
    sum+=vals[i];
    trace("sum is now:" + sum);
    }
  4. Replies
    1
    Views
    301

    If you variables are one level above, just using...

    If you variables are one level above, just using _parent.a1 when changing the value. Also just use trace within your code to see if a1 is a valid variable within the code. I think becuase you are...
  5. newnum = 10 + number(loadednum)

    newnum = 10 + number(loadednum)
  6. Replies
    3
    Views
    380

    Just put this actionscript inside movie clip...

    Just put this actionscript inside movie clip mc_buttonthumb:

    onClipEvent (load) {
    this._width = 47;
    this._height = 47;
    }
  7. Replies
    4
    Views
    275

    One thing you could do is use a camcorder on a...

    One thing you could do is use a camcorder on a rotating tripod. That is a common way of shooting a 360 degree video. Once you have that, there are quite a few tools that will let you export your...
  8. Not sure why you that would be a problem. Are you...

    Not sure why you that would be a problem. Are you sure you are attempting to change text in the correct movie clips and is the text dynamic?
    Just doing a quicky, test, this works fine and changes...
  9. Replies
    1
    Views
    406

    Just name the mc inside vortex and the textfile...

    Just name the mc inside vortex and the textfile so you can access them. Then in the onclipevent load of each vortex, set the value of the text. See attached fla.
  10. You just need to have it evaulate the names as...

    You just need to have it evaulate the names as objects when you need them. If _root.thumb is the variable for example, you would do this:

    _root.section_clip.text_loader.txt_holder.htmlText =...
  11. You would have to export your fla out of flash as...

    You would have to export your fla out of flash as a swf and then use loadmovie to load it onto your slideshow screen.
  12. Replies
    1
    Views
    494

    You may have to play with the spacing a bit, but...

    You may have to play with the spacing a bit, but here goes. All I did was to name the movie below Vertex and name the textfield.
    Then in the onclipevent load for Vertex, I just named the textfield...
  13. Replies
    1
    Views
    378

    its is evaluating an element in an array. The...

    its is evaluating an element in an array.
    The old style was:
    curritem = eval["item" + i]
  14. Replies
    8
    Views
    417

    If you attach this to each of your buttons, it...

    If you attach this to each of your buttons, it will work for increasing and decreasing size on rollover. I did not know how you wanted to handle it if you have the first button expanded, and then you...
  15. Replies
    2
    Views
    277

    I'm not clear on why you have those extra quotes...

    I'm not clear on why you have those extra quotes around blank. Can you try this:
    top += "<a href='" + rating[i].link + "', _blank>" + rating[i].headline + "</a><br>";
  16. Sure, let's say you have a button called "butt1"...

    Sure, let's say you have a button called "butt1" that you want to add an action for onpress. First just create the function for the button in a layer above your button:

    butt1.onPress = function ()...
  17. All you need is a simple actionscript function...

    All you need is a simple actionscript function and then you call it:

    function findMax(val)
    {
    //do something here
    }
    for(i=0;i < 150;i++)
    {

    findMax(eval("app" + i));
  18. Replies
    2
    Views
    336

    This is really just a nicely put together set of...

    This is really just a nicely put together set of various motion and sizing tweens. These can be accomplished various ways, frame by frame, which would be very tedious, or simply creating the tweens...
  19. Replies
    2
    Views
    366

    Sure, pretty simple to do. There is even a...

    Sure, pretty simple to do. There is even a example file for doing this kind of slideshow effect with flash 5. It should be in your examples folder. Basiclly you just name your images, for example...
  20. Replies
    1
    Views
    297

    If I understand you correctly, you want to keep...

    If I understand you correctly, you want to keep your flash movies in a certain part of the html page while just updating a seperate part with content for your database? If so, you could simply use...
  21. Replies
    2
    Views
    313

    There should be a few different ways to do this....

    There should be a few different ways to do this. You could add a refresh meta tag to your html code and have it refresh the page automatically every 30 seconds or something. If you need to refresh it...
  22. Replies
    4
    Views
    412

    HI, I just did a quick peak and could not locate...

    HI, I just did a quick peak and could not locate any of your frames named as "main". I may have just missed this, but is it possible you did not name the frame you are trying to target as "main"? I...
  23. Replies
    7
    Views
    309

    I dont believe you are allowed to do an eval...

    I dont believe you are allowed to do an eval expression for the left side.
    Try something like this:

    newitem = eval("o" + d6Bananas[i])
    newitem =
    {name:d6Bananas[i], group:'d6Bananas', ...
  24. Actually you can attach pretty much the same...

    Actually you can attach pretty much the same behaviors to moveclips as you can for buttons. For example if your movieclip name is "mc":

    mc.onPress = function () {
    trace("Hello");
    }
  25. Sounds fairly simple. I have done something very...

    Sounds fairly simple. I have done something very similar with an external xml file, but a text file works pretty much the same. If you want to send me your fla, I will be happy to. I'm not worried...
Results 1 to 25 of 52
Page 1 of 3 1 2 3




Click Here to Expand Forum to Full Width

HTML5 Development Center