function setTabColors(){ _global.styles.Tab.setStyle("fillColors", [0x000000,0x000000]); _global.styles.Tab.setStyle("selectedFillColors", [0x666666,0x666666]); _global.styles.Tab.setStyle("color", 0xFFFFFF); } ... [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Iceborer [ip] => webforumsuser@m [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 4 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> Digital Swordsmen

function setTabColors() { _global.styles.Tab.setStyle("fillColors", [0x000000,0x000000]); _global.styles.Tab.setStyle("selectedFillColors", [0x666666,0x666666]); _global.styles.Tab.setStyle("color", 0xFFFFFF); } 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => kenji776 [ip] => webforumsuser@m [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 12 [islastshown] => 1 [isfirstshown] => [attachments] => [allattachments] => ) --> CF form with Flash is sooo slow - Coldfusion - Advanced Techniques

CF form with Flash is sooo slow - Coldfusion - Advanced Techniques

Okay my new navigation system utilizes cfform with flash, however it takes unreasonably long to load. The form never changes, its not dynamic, it doesn't really need to be recompiled, and yet CF takes its dear sweet time creating it. I have set the timeout to be a long time, but it doesn't help. What can I do to speed this up?...

  1. #1

    Default CF form with Flash is sooo slow

    Okay my new navigation system utilizes cfform with flash, however it takes
    unreasonably long to load. The form never changes, its not dynamic, it doesn't
    really need to be recompiled, and yet CF takes its dear sweet time creating it.
    I have set the timeout to be a long time, but it doesn't help. What can I do to
    speed this up?

    kenji776 Guest

  2. #2

    Default Re: CF form with Flash is sooo slow

    Change to an html frameset.
    Dan Guest

  3. #3

    Default Re: CF form with Flash is sooo slow

    K thanks, I figured out a way to arrange my site so it won't need to be
    recompiled all the time, via frames like you said. Now one more question and I
    think I can be done with this. Can anyone give me a straightforward way to
    change the colors of the tabs in the tabnavigator flash cfform. Please no link,
    or anythihg, just some code I can insert. I have read so many articles and none
    of them seem to work, just change this form so that the tabs are #666666 when
    selected and #000000 when not selected, or #000000 is fine to. Please just tell
    me how! Attatched is the styling code im using, if you can make it work, ill
    kiss your feet forever!

    <cfset buttonstyle =
    "fillColors:##000000,##000000;color:##0099ff;theme Color:##000000,
    ##000000;textRollOverColor:0099ff;">
    <cfform name="myform" method="post" format="flash" height="100" timeout="0"
    style="marginTop:5;
    marginBottom:0;
    fontSize:10;
    background-color:##000000;
    border:none;
    borderStyle:none;
    #buttonstyle#">
    <cfformgroup type="tabnavigator"
    style="marginTop:0;
    marginBottom:0;
    fontSize:10;
    background-color:##000000;
    background:##000000;
    border:none;
    borderStyle:none;
    font-size:9px;
    #buttonstyle#">
    <cfformgroup type="page" label="Site" style="#buttonstyle#">
    <cfformgroup type="horizontal">
    <cfinput type="button" value="Home" name="index"
    onclick="getURL('index.cfm');" style="#buttonstyle#">
    <cfinput type="button" value="Site Projects" name="Site_Projects"
    onclick="getURL('site_projects.cfm');" style="#buttonstyle#">
    <cfinput type="button" value="News Archive" name="News_Archive"
    onclick="getURL('news_archive.cfm');" style="#buttonstyle#">
    <cfinput type="button" value="Legal" name="Legal"
    onclick="getURL('legal.cfm');" style="#buttonstyle#">
    <cfinput type="button" value="Readme/Help" name="about"
    onclick="getURL('about.cfm');" style="#buttonstyle#">
    </cfformgroup>
    </cfformgroup>
    <cfformgroup type="page" label="Communication" style="#buttonstyle#">
    <cfformgroup type="horizontal">
    <cfinput type="button" value="Chat" name="Chat"
    onclick="getURL('chat.html');" style="#buttonstyle#">
    <cfinput type="button" value="Public Rant" name="Public_box"
    onclick="getURL('public_box.cfm');" style="#buttonstyle#">
    <cfinput type="button" value="E-Mail Us" name="Email_Us"
    onclick="getURL('email_us.cfm');" style="#buttonstyle#">
    <cfinput type="button" value="View Weblogs" name="View_Weblog"
    onclick="getURL('view_weblog.cfm');" style="#buttonstyle#">
    </cfformgroup>
    </cfformgroup>
    <cfformgroup type="page" label="Media" style="#buttonstyle#">
    <cfformgroup type="horizontal">
    <cfinput type="button" value="Submitted Pics" name="site_gallery"
    onclick="getURL('site_gallery.cfm');" style="#buttonstyle#">
    <cfinput type="button" value="Music" name="oc_music"
    onclick="getURL('oc_music.cfm');" style="#buttonstyle#">
    <cfinput type="button" value="Game/Anime Pics" name="pic_gallery"
    onclick="getURL('pic_gallery.cfm');" style="#buttonstyle#">
    <cfinput type="button" value="Funny Stuff" name="vids"
    onclick="getURL('vids.cfm');" style="#buttonstyle#">
    <cfinput type="button" value="Doents" name="texts"
    onclick="getURL('texts.cfm');" style="#buttonstyle#">
    <cfinput type="button" value="All downloads" name="downloads"
    onclick="getURL('downloads.cfm');" style="#buttonstyle#">
    <cfinput type="button" value="Picture Packs" name="Pictures"
    onclick="getURL('pictures.cfm');" style="#buttonstyle#">
    <cfinput type="button" value="DDR Songs" name="DDR_Songs"
    onclick="getURL('ddr_songs.cfm');" style="#buttonstyle#">
    </cfformgroup>
    </cfformgroup>
    <cfformgroup type="page" label="Services" style="#buttonstyle#">
    <cfformgroup type="horizontal">
    <cfinput type="button" value="Find Random User" name="Find_Random_User"
    onclick="getURL('find_random_user.cfm');" style="#buttonstyle#">
    <cfinput type="button" value="Find Members" name="Find_user"
    onclick="getURL('find_user.cfm');" style="#buttonstyle#">
    <cfinput type="button" value="Create an Account" name="accountadd"
    onclick="getURL('account_add.cfm');" style="#buttonstyle#">
    <cfinput type="button" value="Encryption" name="Encryption"
    onclick="getURL('encryption.cfm');" style="#buttonstyle#">
    </cfformgroup>
    </cfformgroup>
    <cfif session.userrole NEQ "Guest">
    <!---All of these pages are in the members directory--->
    <cfformgroup type="page" label="My Profile">
    <cfformgroup type="horizontal" style="#buttonstyle#">
    <cfinput type="button" name="U_account_options" value="Account Options"
    onclick="getURL('members/u_account_options.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_manageSelves" value="Account Info"
    onclick="getURL('members/u_manageselves.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_avatar_edit" value="Change Avatar"
    onclick="getURL('members/u_avatar_edit.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" name="U_picture_edit" value="Change Picture"
    onclick="getURL('members/u_picture_edit.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" name="U_delete_account" value="Delete Account"
    onclick="getURL('members/u_delete_account.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_manage_gallery" value="Gallery"
    onclick="getURL('members/u_manage_gallery.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_log_out" value="Log Out"
    onclick="getURL('members/u_log_out.cfm', '_blank');" style="#buttonstyle#">
    </cfformgroup>
    </cfformgroup>
    <cfformgroup type="page" label="Management" style="#buttonstyle#">
    <cfformgroup type="horizontal">
    <cfinput type="button" name="U_add_remove_friends" value="Friends"
    onclick="getURL('members/u_add_remove_friends.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_list_home" value="Gift List"
    onclick="getURL('members/U_list_Home.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" name="U_manage_bullitins" value="Bullitins"
    onclick="getURL('members/u_manage_bullitins.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_manage_comments" value="Comments"
    onclick="getURL('members/u_manage_comments.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_Check_messages" value="P.M.(s)"
    onclick="getURL('members/u_check_messages.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_manage_rants" value="Rants"
    onclick="getURL('members/u_manage_rants.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" name="U_web_log_home" value="Web Log"
    onclick="getURL('members/u_web_log_home.cfm', '_blank');" style="#buttonstyle#">
    </cfformgroup>
    </cfformgroup>
    <cfformgroup type="page" label="Other" style="#buttonstyle#">
    <cfformgroup type="horizontal">
    <cfinput type="button" name="U_post_bullitin" value="Post a Bullitin"
    onclick="getURL('members/u_post_bullitin.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_write_message" value="Private Message"
    onclick="getURL('members/u_write_message.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_server_uploads" value="File Sharing"
    onclick="getURL('members/u_server_uploads.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_upload_photo" value="Upload a Photo"
    onclick="getURL('members/u_upload_photo.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" name="U_weak_proxy" value="Weak Proxy"
    onclick="getURL('members/u_weak_proxy.cfm', '_blank');" style="#buttonstyle#">
    </cfformgroup>
    </cfformgroup>
    </cfif>
    <cfif session.userrole EQ "Admin">
    <cfformgroup type="page" label="Tools/Info" style="#buttonstyle#">
    <cfformgroup type="horizontal">
    <cfinput type="button" name="A_contactlist" value="Members List"
    onclick="getURL('administration/a_contactlist.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="A_database_dump" value="View Databases"
    onclick="getURL('administration/a_database_dump.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="A_email_users" value="E-mail users"
    onclick="getURL('administration/a_emailusers.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="A_force_logout" value="Force Logout"
    onclick="getURL('administration/a_force_logout.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="A_logviewer" value="View Logs"
    onclick="getURL('administration/a_logviewer.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="A_managenews" value="News"
    onclick="getURL('administration/a_managenews.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="A_manageusers" value="Users"
    onclick="getURL('administration/a_manageusers.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="A_marqueeeditor" value="Marquee"
    onclick="getURL('administration/a_marqueeeditor.cfm', '_blank');"
    style="#buttonstyle#">
    </cfformgroup>
    </cfformgroup>
    <cfformgroup type="page" label="Admin Management" style="#buttonstyle#">
    <cfformgroup type="horizontal">
    <cfinput type="button" name="A_manage_galleries" value="Galleries"
    onclick="getURL('administration/a_manage_galleries.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="A_manageanime" value="Anime"
    onclick="getURL('administration/a_manageanime.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="A_manageavatar" value="Avatar"
    onclick="getURL('administration/a_manag
    kenji776 Guest

  4. #4

    Default Re: CF form with Flash is sooo slow

    Please allow me to share my cfform mantra with you...as fusion is my
    friend...as fusion is my friend.

    Add an onLoad handler to your cfform and try the following...

    (Modified from their code at
    http://http://www.asfusion.com/blog/entry/using-global-css-in-your-cfform)



    <cfform name="myform" method="post" format="flash" height="500" width="500"
    timeout="0" onLoad="setTabColors()">
    <cfformitem type="script">
    function setTabColors(){
    _global.styles.Tab.setStyle("fillColors", [0x000000,0x000000]);
    _global.styles.Tab.setStyle("selectedFillColors", [0x666666,0x666666]);
    _global.styles.Tab.setStyle("color", 0xFFFFFF);
    }
    ...

    Iceborer Guest

  5. #5

    Default Re: CF form with Flash is sooo slow

    Wow, I really aprreciate your code, the only problem is it seems to cause some
    problems, or more accuratly the type="script" is whats causing the prob. Ill
    post the error. Thanks again though, this is already a large step forward.

    Attribute validation error for tag CFFORMITEM.
    The value of the attribute TYPE, which is currently "script", must be one of
    the values: HRULE,HTML,TEXT,VRULE,SPACER.

    The error occurred in D:\FTP\Digital Swordsmen\Prod\Linkbar.cfm: line 5
    Called from D:\FTP\Digital Swordsmen\Prod\Linkbar.cfm: line 4
    Called from D:\FTP\Digital Swordsmen\Prod\Linkbar.cfm: line 1
    Called from D:\FTP\Digital Swordsmen\Prod\index.cfm: line 65

    3 : <cfset buttonstyle =
    "fillColors:##000000,##000000;color:##0099ff;theme Color:##000000,
    ##000000;textRollOverColor:0099ff;">
    4 : <cfform name="myform" method="post" format="flash" height="500"
    width="500" timeout="0" onLoad="setTabColors()" >
    5 : <cfformitem type="script">
    6 : function setTabColors(){
    7 : _global.styles.Tab.setStyle("fillColors", [0x000000,0x000000]);


    kenji776 Guest

  6. #6

    Default Re: CF form with Flash is sooo slow

    I need lots more help than I give so it's always nice to "pay it forward". The
    problem is that you're apparently not working with a server that has had the
    7.0.1 updater applied. Obviously, the preferred answer is to apply the updater
    which provides the <cfformitem type="script"> AND the <cfform> onLoad handler.
    If that's unpossible, you can...that's right!...go back to as fusion for some
    help. You can use <cfsavecontent> to store the function and cheat in the
    onLoad event
    http://www.asfusion.com/blog/entry/onload-event-coldfusion-flash-forms-2 (there
    is an earlier part of this discussion, but part 2 covers it nicely).

    Hope this completes things for you.

    Adam

    Iceborer Guest

  7. #7

    Default Re: CF form with Flash is sooo slow

    I updated, so now Im just trying to make my form good again. No errors thus far, so thats cool. Thanks for the help man. Ill let you know how it goes.
    kenji776 Guest

  8. #8

    Default Re: CF form with Flash is sooo slow

    Hmm getting a small error, talking about CSS styles.
    Errors, warnings or exceptions were found when compiling /Digital
    Swordsmen/prod/index.cfm. Visit the online Flex doentation or API reference
    for further information.

    2 Errors found.

    Error /Digital Swordsmen/Prod/index.cfm:255
    Invalid CSS syntax(Unexpected token: ':').


    Error /Digital Swordsmen/Prod/index.cfm:259
    Invalid CSS syntax(Unexpected token: ':').


    <cfset buttonstyle =
    "fillColors:##000000,##000000;color:##0099ff,theme Color:##000000,
    ##000000;textRollOverColor:0099ff;">
    <cfform name="myform" method="post" format="flash" height="100" timeout="0"
    onLoad="setTabColors()"
    style="marginTop:5,
    marginBottom:0,
    fontSize:10,
    background-color:##000000;
    border:none,
    borderStyle:none,
    #buttonstyle#">
    <cfformitem type="script">
    function setTabColors(){
    _global.styles.Tab.setStyle("fillColors", [0x000000,0x000000]);
    _global.styles.Tab.setStyle("selectedFillColors", [0x666666,0x666666]);
    _global.styles.Tab.setStyle("color", 0xFFFFFF);
    }
    </cfformitem>
    <cfformgroup type="tabnavigator"
    style="marginTop:0;
    marginBottom:0;
    fontSize:10;
    background-color:##000000;
    background:##000000;
    border:none;
    borderStyle:none;
    font-size:9px;
    #buttonstyle#">

    kenji776 Guest

  9. #9

    Default Re: CF form with Flash is sooo slow

    The error is coming from irregularities in your style declarations and in the
    buttonstyle variable.
    - You have a lot of commas separating style declarations, they should be
    semicolons
    - the textrollover color specification is missing "##"

    Try the version below...



    <cfset buttonstyle =
    "fillColors:##000000,##000000;color:##0099ff;theme Color:##000000,
    ##000000;textRollOverColor:##0099ff;">
    <cfform name="myform" method="post" format="flash" height="100" timeout="0"
    onLoad="setTabColors()"
    style="marginTop:5;
    marginBottom:0;
    fontSize:10;
    background-color:##000000;
    border:none;
    borderStyle:none;
    #buttonstyle#">
    <cfformitem type="script">
    function setTabColors(){
    _global.styles.Tab.setStyle("fillColors", [0x000000,0x000000]);
    _global.styles.Tab.setStyle("selectedFillColors", [0x666666,0x666666]);
    _global.styles.Tab.setStyle("color", 0xFFFFFF);
    }
    </cfformitem>
    <cfformgroup type="tabnavigator"
    style="marginTop:0;
    marginBottom:0;
    fontSize:10;
    background-color:##000000;
    background:##000000;
    border:none;
    borderStyle:none;
    font-size:9px;
    #buttonstyle#">

    Iceborer Guest

  10. #10

    Default Re: CF form with Flash is sooo slow

    Thanks so much, I am kinda shoddy with CSS, hehe. Okay Im trying to work out
    some glitches right now, and I'll let you know how it goes. I hate my server,
    for some reason many times when I upload files the changes do not take place,
    even when I clear the cache and everything in the browser. Its very odd,
    because it only happens with the new verison of dreamweaver. Anywho kinda went
    off on a rant there, but yeah, just so you know sometimes it takes quite a
    while to actually test stuff.

    kenji776 Guest

  11. #11

    Default Re: CF form with Flash is sooo slow

    It seems that there are are still 3 errors.
    Errors, warnings or exceptions were found when compiling /Digital
    Swordsmen/prod/index.cfm. Visit the online Flex doentation or API reference
    for further information.


    --------------------------------------------------------------------------------

    3 Errors found.

    Error /Digital Swordsmen/Prod/index.cfm:255
    Invalid CSS syntax(Unexpected token: ':').


    Error /Digital Swordsmen/Prod/index.cfm:257
    Invalid CSS syntax(Unexpected token: ':').


    Error /Digital Swordsmen/Prod/index.cfm:261
    Identifier expected.



    <cfform name="myform" method="post" format="flash" height="100" timeout="0"
    onLoad="setTabColors()"
    style="marginTop:5;
    marginBottom:0;
    fontSize:10;
    background-color:##000000;
    border:none;
    borderStyle:none;
    #buttonstyle#">
    <cfformitem type="script">
    function setTabColors(){
    _global.styles.Tab.setStyle("fillColors", [0x000000,0x000000]);
    _global.styles.Tab.setStyle("selectedFillColors", [0x666666,0x666666]);
    _global.styles.Tab.setStyle("color", 0xFFFFFF);
    }
    </cfformitem>
    <cfformgroup type="tabnavigator"
    style="marginTop:0;
    marginBottom:0;
    fontSize:10;
    background-color:##000000;
    background:##000000;
    border:none;
    borderStyle:none;
    font-size:9px;
    #buttonstyle#">

    kenji776 Guest

  12. #12

    Default Re: CF form with Flash is sooo slow

    Okay I am going to rip the hair from my head becasue now its broken again AHHH!
    Check this...
    Errors, warnings or exceptions were found when compiling /Digital
    Swordsmen/prod/index.cfm. Visit the online Flex doentation or API reference
    for further information.

    6 Errors found.

    Error /Digital Swordsmen/Prod/inde.mxml:2070
    ')' or ',' expected


    Error /Digital Swordsmen/Prod/inde.mxml:2070
    The statement '' is incomplete.


    Error /Digital Swordsmen/Prod/inde.mxml:2075
    ')' or ',' expected


    Error /Digital Swordsmen/Prod/inde.mxml:2075
    The statement '' is incomplete.


    Error /Digital Swordsmen/Prod/inde.mxml:2073
    ActionScript 2.0 class scripts may only define class or interface constructs.


    Error /Digital Swordsmen/Prod/inde.mxml:2076
    Unexpected '}' encountered



    <!---------Page URLS to be used in members link bar------------>
    <html>
    <head>
    <title>Digital Swordsmen</title>
    <link href="mainload.css" rel="stylesheet" type="text/css">
    <META NAME="Description" CONTENT="Digital Swordsmen- Like Myspace and
    Livejournal only better, and totally free. Come check it out.">
    <META NAME="Keywords" CONTENT="Web logs, profiles, submit pics, free, roms,
    games, anime, chat, forum, file sharing, free music, community">
    </head>
    <body>
    <img src="IMG/thin%20logo%20web.jpg"><br /><br />
    <cfset buttonstyle =
    "fillColors:##000000,##000000;color:##0099ff;theme Color:##000000,##000000;textRo
    llOverColor:##0099ff;">
    <cfform name="myform" method="post" format="flash" height="100" timeout="0"
    onLoad="setTabColors()"
    style="fontSize:10;
    background-color:##000000;
    border:none;
    borderStyle:none;
    #buttonstyle#">
    <cfformitem type="script">
    function setTabColors()
    {
    _global.styles.Tab.setStyle("fillColors", [0x000000,0x000000]);
    _global.styles.Tab.setStyle("selectedFillColors", [0x666666,0x666666]);
    _global.styles.Tab.setStyle("color", 0xFFFFFF);
    }
    </cfformitem>
    <cfformgroup type="tabnavigator"
    style="background-color:##000000;
    border:none;
    borderStyle:none;
    #buttonstyle#">
    <cfformgroup type="page" label="Site" style="#buttonstyle#">
    <cfformgroup type="horizontal">
    <cfinput type="button" value="Home" name="index"
    onclick="getURL('index.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" value="Site Projects" name="Site_Projects"
    onclick="getURL('site_projects.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" value="News Archive" name="News_Archive"
    onclick="getURL('news_archive.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" value="Legal" name="Legal"
    onclick="getURL('legal.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" value="Readme/Help" name="about"
    onclick="getURL('about.cfm', '_blank');" style="#buttonstyle#">
    </cfformgroup>
    </cfformgroup>
    <cfformgroup type="page" label="Communication" style="#buttonstyle#">
    <cfformgroup type="horizontal">
    <cfinput type="button" value="Chat" name="Chat"
    onclick="getURL('chat.html', '_blank');" style="#buttonstyle#">
    <cfinput type="button" value="Public Rant" name="Public_box"
    onclick="getURL('public_box.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" value="E-Mail Us" name="Email_Us"
    onclick="getURL('email_us.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" value="View Weblogs" name="View_Weblog"
    onclick="getURL('view_weblog.cfm', '_blank');" style="#buttonstyle#">
    </cfformgroup>
    </cfformgroup>
    <cfformgroup type="page" label="Media" style="#buttonstyle#">
    <cfformgroup type="horizontal">
    <cfinput type="button" value="Submitted Pics" name="site_gallery"
    onclick="getURL('site_gallery.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" value="Music" name="oc_music"
    onclick="getURL('oc_music.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" value="Game/Anime Pics" name="pic_gallery"
    onclick="getURL('pic_gallery.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" value="Funny Stuff" name="vids"
    onclick="getURL('vids.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" value="Doents" name="texts"
    onclick="getURL('texts.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" value="All downloads" name="downloads"
    onclick="getURL('downloads.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" value="Picture Packs" name="Pictures"
    onclick="getURL('pictures.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" value="DDR Songs" name="DDR_Songs"
    onclick="getURL('ddr_songs.cfm','_blank');" style="#buttonstyle#">
    </cfformgroup>
    </cfformgroup>
    <cfformgroup type="page" label="Services" style="#buttonstyle#">
    <cfformgroup type="horizontal">
    <cfinput type="button" value="Find Random User" name="Find_Random_User"
    onclick="getURL('find_random_user.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" value="Find Members" name="Find_user"
    onclick="getURL('find_user.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" value="Create an Account" name="accountadd"
    onclick="getURL('account_add.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" value="Encryption" name="Encryption"
    onclick="getURL('encryption.cfm', '_blank');" style="#buttonstyle#">
    </cfformgroup>
    </cfformgroup>
    <cfif session.userrole NEQ "Guest">
    <!---All of these pages are in the members directory--->
    <cfformgroup type="page" label="My Profile">
    <cfformgroup type="horizontal" style="#buttonstyle#">
    <cfinput type="button" name="U_account_options" value="Account Options"
    onclick="getURL('members/u_account_options.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_manageSelves" value="Account Info"
    onclick="getURL('members/u_manageselves.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_avatar_edit" value="Change Avatar"
    onclick="getURL('members/u_avatar_edit.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" name="U_picture_edit" value="Change Picture"
    onclick="getURL('members/u_picture_edit.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" name="U_delete_account" value="Delete Account"
    onclick="getURL('members/u_delete_account.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_manage_gallery" value="Gallery"
    onclick="getURL('members/u_manage_gallery.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_log_out" value="Log Out"
    onclick="getURL('members/u_log_out.cfm', '_blank');" style="#buttonstyle#">
    </cfformgroup>
    </cfformgroup>
    <cfformgroup type="page" label="Management" style="#buttonstyle#">
    <cfformgroup type="horizontal">
    <cfinput type="button" name="U_add_remove_friends" value="Friends"
    onclick="getURL('members/u_add_remove_friends.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_list_home" value="Gift List"
    onclick="getURL('members/U_list_Home.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" name="U_manage_bullitins" value="Bullitins"
    onclick="getURL('members/u_manage_bullitins.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_manage_comments" value="Comments"
    onclick="getURL('members/u_manage_comments.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_Check_messages" value="P.M.(s)"
    onclick="getURL('members/u_check_messages.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_manage_rants" value="Rants"
    onclick="getURL('members/u_manage_rants.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" name="U_web_log_home" value="Web Log"
    onclick="getURL('members/u_web_log_home.cfm', '_blank');" style="#buttonstyle#">
    </cfformgroup>
    </cfformgroup>
    <cfformgroup type="page" label="Other" style="#buttonstyle#">
    <cfformgroup type="horizontal">
    <cfinput type="button" name="U_post_bullitin" value="Post a Bullitin"
    onclick="getURL('members/u_post_bullitin.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_write_message" value="Private Message"
    onclick="getURL('members/u_write_message.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_server_uploads" value="File Sharing"
    onclick="getURL('members/u_server_uploads.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="U_upload_photo" value="Upload a Photo"
    onclick="getURL('members/u_upload_photo.cfm', '_blank');" style="#buttonstyle#">
    <cfinput type="button" name="U_weak_proxy" value="Weak Proxy"
    onclick="getURL('members/u_weak_proxy.cfm', '_blank');" style="#buttonstyle#">
    </cfformgroup>
    </cfformgroup>
    </cfif>
    <cfif session.userrole EQ "Admin">
    <cfformgroup type="page" label="Tools/Info" style="#buttonstyle#">
    <cfformgroup type="horizontal">
    <cfinput type="button" name="A_contactlist" value="Members List"
    onclick="getURL('administration/a_contactlist.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="A_database_dump" value="View Databases"
    onclick="getURL('administration/a_database_dump.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="A_email_users" value="E-mail users"
    onclick="getURL('administration/a_emailusers.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="A_force_logout" value="Force Logout"
    onclick="getURL('administration/a_force_logout.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput type="button" name="A_logviewer" value="View Logs"
    onclick="getURL('administration/a_logviewer.cfm', '_blank');"
    style="#buttonstyle#">
    <cfinput typ
    kenji776 Guest

Similar Threads

  1. sooo close, I can taste it..lol
    By izdabye in forum Macromedia Flash Flashcom
    Replies: 2
    Last Post: April 21st, 08:53 PM
  2. I am sooo ed
    By mia in forum Macromedia Flash Player
    Replies: 2
    Last Post: October 9th, 10:16 AM
  3. Thank you sooo much
    By Dee Holmes in forum Adobe Illustrator Macintosh
    Replies: 0
    Last Post: April 15th, 05:45 AM
  4. Form Runs real Slow... need some pointers. (please help)
    By Joe Fallon in forum Microsoft Access
    Replies: 0
    Last Post: July 27th, 11:02 PM
  5. Recordsetclone.Findfirst on a form over a network is slow!!!!
    By Charles Coltun in forum Microsoft Access
    Replies: 0
    Last Post: July 26th, 05:58 AM

Bookmarks

Posting Permissions

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