Ask a Question related to Coldfusion Flash Integration, Design and Development.

  1. #1

    Default Flash forms onLoad

    I see onLoad tag arrtibute is not used for Flash forms. Any other way to
    kickoff some actionscript when for loads? What I particularly want to do right
    now is highlight a particular row in cfgrid when the page reloads after saveing
    changes. But probably want to do lots of other stuff too...

    elfrick Guest

  2. Similar Questions and Discussions

    1. impossible to use Set in a onLoad function with flash 8
      One could explain why this script works well with flash MX but not with Flash 8? Thre trace command give me "bague" as expected with flash MX but...
    2. While executing onLoad in XML Flash Slideshow v2.htm, aJavaScript error occurred
      I installed "XML Flash Slideshow v2" on DM 8. When I want to use it on Dreamweaver, it shows me error message "While executing onLoad in XML Flash...
    3. Converting existing forms to the Flash forms
      I have forms and I change all the tags on them, but they don't change to the new 'Flash forms' in CFMX 7. Any ideas on this?
    4. EMBEDDING FLASH MOVIES INTO FLASH FORMS
      Is there a way? EMBEDDING FLASH MOVIES INTO FLASH FORMS
    5. onload for flash object?
      Hey, This is probably a often asked question, but I need to execute a function after a flash slide is displayed. I tried to put a...
  3. #2

    Default Re: Flash forms onLoad

    Not in this release. But, there is an enhancement request to add support for
    onLoad.

    ---nimer

    "elfrick" <ian@celticinternet.com> wrote in message
    news:cvf0k7$b38$1@forums.macromedia.com...
    >I see onLoad tag arrtibute is not used for Flash forms. Any other way to
    > kickoff some actionscript when for loads? What I particularly want to do
    > right
    > now is highlight a particular row in cfgrid when the page reloads after
    > saveing
    > changes. But probably want to do lots of other stuff too...
    >

    Mike Nimer Guest

  4. #3

    Default Re: Flash forms onLoad

    Great news that there is an enhacement request for this. In the meantime,
    there is a workaround. Check out these two posts:
    [url]http://www.asfusion.com/blog/?mode=entry&amp;entry=92DF5CDF-3048-525A-B2641249BB[/url]
    F4E476 Laura

    JadeBlue Guest

  5. #4

    Default Re: Flash forms onLoad

    I have a strange problem:
    I have a list of products, and I have a few filters for this list. What
    happens, is that the user picks a product, then it can edit it, and then return
    to the first form to pick another. What I want to do, is to keep his filter
    selections, and show him the filtered list when he returns. So keeping the
    filters' values is easy, but I have a problem with activating the filtering
    script when the form loads.
    The code on the bottom works well on my machine, but not on the server - where
    it just doesn't do the filtering. I suspect it's because it's firing the
    'createComplete' event too early, so when it runs my code, not all the data is
    there...

    Does anyone know how to solve this?

    (the FiltersAction variables holds the actionscript code for the filtering)




    <cfformitem type="script">
    function onFormLoad()
    {
    var myListener = {};
    myListener.creationComplete = function()
    {
    SKUGrid = _level0.SKUGrid
    FilterBrand = _level0.FilterBrand
    FilterFragrance = _level0.FilterFragrance
    FilterProduct = _level0.FilterProduct
    FilterCategory = _level0.FilterCategory
    FilterClassification = _level0.FilterClassification
    <cfoutput>#FiltersAction#</cfoutput>
    }
    SKUGrid.addEventListener('creationComplete', myListener);
    }
    </cfformitem>

    MuyaMan Guest

  6. #5

    Default Re: Flash forms onLoad

    The event you need to listen is modelChanged. See an example here:

    [url]http://www.asfusion.com/blog/entry/knowing-when-the-cfform-data-arrives[/url]

    JadeBlue Guest

  7. #6

    Default Re: Flash forms onLoad

    Hi again...

    Thanks a lot, this seems to be working a bit better now, but now I get a blank
    grid (it fills back up when I change one of the filters though)...
    I saw someone complaining about the same problems in the comments there, but
    he just said it got fixed somehow so I wasn't able to see what fixed it for
    him... any ideas?

    MuyaMan Guest

  8. #7

    Default Re: Flash forms onLoad

    Anyone has an idea?
    MuyaMan Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139