Tuesday, December 6, 2011

HTML Not Working

Ok, here is a werid problem.



I wrote a simple mxml file. I called it index.mxml. It worked
locally without a problem. When I published it to a server, with
the index.html file produced by Flex Builcer 2.1, the html file
could not access the index.swf file. However, if type the domain
name/index.swf the swf file comes up fine.



Do I need to change anything in the html file when I publish
it to a server? As anyone else encountered this problem and, if so,
what is the fix?



Many thanks,

Charles E. BrownHTML Not Working
Did you also deploy the necessary .js files?



Tracy
  • neutrogena
  • Internet Explorer Script Error

    Hi all,



    I've generated a chm file (HTML help file) in Robohelp 2002
    and gave to my developer.

    When he was about to click a link which i've created (for ex.

    http://www.yahoomail.com), he
    is getting the following error:



    Internet Explorer Script Error:



    An error has occurred in the script on this page:



    Line: 35

    ...........

    ..........

    Do u want to continue running scripts on this page?



    Yes / No

    When he gives ''Yes'', he is able to view the appropriate
    website... (yahoomail.com)



    But it is working fine in my system without any error....



    I even tested this in few other systems....The same error
    occurs



    Any suggestion on how to solve this........



    Thanks in advance !!Internet Explorer Script Error
    usureka -



    We could use some more details on the kind of error you are
    experiencing... Also, am I correct in understanding that your
    developer doesn't even actually click the link to get the message?
    Does this occur during a hover, or mouseover? Is the developer
    accessing the .chm file from his desktop?



    You might also want to post the link syntax you are using....
    Inquiring minds are really nosey....Internet Explorer Script Error
    My developer gets this error if he clicks the website link
    (with mouse)...He is able to view the website (even if he clicks
    ''no'' in that error). No he is not accessing chm file from his
    desktop.


    It's hard to say without more details on the kind of error
    you are experiencing - but one thing is that .chms work best from
    your desktop. Web and network servers now have issues with .chm
    files, thanks to an MS security upgrade:




    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=1c5f225



    Set property on component from outside...

    Hi,



    I am trying to find out how I can set properties on a
    component from outside the component. This has been a constant
    problem of mine that I am sure can be easily solved by someone more
    knowledgeable.



    I have a remote object call and in the result handler I want
    to do something like :



    var contactAccordion:Button = accordion.getHeaderAt(1);

    contactAccordion.enabled = true;



    In my view component that I created I have this :



    %26lt;mx:Accordion id=''accordion'' creationPolicy=''all''%26gt;

    %26lt;/mx:Accordion%26gt;



    When my view component, the one with the accordion in it is
    shown, initially when the screen is displayed I set the all
    accordion panels to disabled via the creationComplete() except the
    first one which is shown by default. Once I get the result back
    from my Remote Object call, I want to enable a specific panel for
    example.



    How can I get a referecne to the ''Accordion'' from outside of
    it? I am using Cairngorm 2.1 here, but if someone can assist me, I
    figure I can get it to work within Cairngorm, my problem just seems
    to be how does one reference a component outside of the actual
    component.



    Help highly appreciated as always.



    -Westside

    Set property on component from outside...
    Do you mean you want to reference the Accordion control from
    outside of the container where it is a child? Or do you mean you
    want to reference the Accordion's children?



    I'll assume you mean the former. The id gives the control its
    identifier and it is automatically public. So you can just do:
    container.accordion to reference it.

    informartion

    Please don't judge me, i am sure alot of people here, dealingwith codes and such, feels same as me. I just need a lil info,since i am new to this. I have read almost two books in 2 months,and it would be nice to be sure i am in the right path,
    so that's why i trust you guys on this to tell me youropinion, if i am or not.

    I know some people here already now this.
    I am trying to create a database with a users page where theycan register and create their own profile with photo gallery. And iam really on it, i spend 6 to 7 hours a day learning php and nowphp and mysql.
    I have this book , my 2nd book now, that at the last 2chapter actually shows how to create templates, creating homepages, registration, activating an account, log in and log out,password management, creating the database,the administrative side,etc.

    Am i in the right direction ?
    I feel like i am getting closer, tired , butcloser....informartion
    Hi LuisDesigns,

    Which book are you referring it to?

    Relatively off-topic, I will take a look at your PM sometimeon the weekend. I was in middle of couple of big projects alltogether at once lately.

    quote:

    Originally posted by: LuisDesigns
    I have this book , my 2nd book now, that at the last 2chapter actually shows how to create templates, creating homepages, registration, activating an account, log in and log out,password management, creating the database,the administrative side,etc./q]

    informartion
    %26gt; I am trying to create a database with a users page wherethey can register
    %26gt; and
    %26gt; create their own profile with photo gallery.

    The question you have asked is impossibly large and justcannot really be
    answered in a newsgroup post. Please try to contain the scopeof these
    kinds of questions so that someone can at least make a shotat a reasonable
    answer.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com- Template Triage!
    http://www.projectseven.com/go- DW FAQs, Tutorials %26amp; Resources
    http://www.dwfaq.com - DW FAQs,Tutorials %26amp; Resources
    http://www.macromedia.com/support/search/- Macromedia (MM) Technotes
    ==================


    ''LuisDesigns'' %26lt;webforumsuser@macromedia.com%26gt; wrote inmessage
    news:eroqms$2t$1@forums.macromedia.com...
    %26gt; Please don't judge me, i am sure alot of people here,dealing with codes
    %26gt; and
    %26gt; such, feels same as me. I just need a lil info, since iam new to this. I
    %26gt; have
    %26gt; read almost two books in 2 months, and it would be niceto be sure i am in
    %26gt; the
    %26gt; right path,
    %26gt; so that's why i trust you guys on this to tell me youropinion, if i am or
    %26gt; not.
    %26gt;
    %26gt; I know some people here already now this.
    %26gt; I am trying to create a database with a users page wherethey can register
    %26gt; and
    %26gt; create their own profile with photo gallery. And i amreally on it, i
    %26gt; spend 6
    %26gt; to 7 hours a day learning php and now php and mysql.
    %26gt; I have this book , my 2nd book now, that at the last 2chapter actually
    %26gt; shows
    %26gt; how to create templates, creating home pages,registration, activating an
    %26gt; account, log in and log out, password management,creating the
    %26gt; database,the
    %26gt; administrative side, etc.
    %26gt;
    %26gt;
    %26gt; I feel like i am getting closer, tired , but closer.
    %26gt;



    %26gt; The question you have asked

    Did you see a question? or did you infer one?

    --
    Regards

    John Waller



    I inferred it.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com- Template Triage!
    http://www.projectseven.com/go- DW FAQs, Tutorials %26amp; Resources
    http://www.dwfaq.com - DW FAQs,Tutorials %26amp; Resources
    http://www.macromedia.com/support/search/- Macromedia (MM) Technotes
    ==================


    ''John Waller'' %26lt;johnw@REMOVETHISpinnacleweb.com.au%26gt;wrote in message
    news:erpbmg$kjk$1@forums.macromedia.com...
    %26gt;%26gt; The question you have asked
    %26gt;
    %26gt; Did you see a question? or did you infer one?
    %26gt;
    %26gt; --
    %26gt; Regards
    %26gt;
    %26gt; John Waller
    %26gt;



    Deaf Web Designer, i am refering to the PHP and MySQL fordynamic web sites 2nd edition by Larry Ullman.
    Murray, sorry about that, i just didnt know how to explain itreally.
  • desktop issue
  • Form Change Based on Selection

    We have a form in which would like to have the response to
    the ''Country'' field determine the appearance of the following
    field.



    If the response in ''Country'' is ''United States'' or ''Canada'',
    we want only the ''State'' drop-down to appear. If any other
    response, then just the 10 character text box should appear.



    This is the URL ...




    http://syda.co.mansellgroup.net/UM/CMF.ASP?ID=A2773.0%26amp;UMT=join.htm



    I am doing this as free work for a nonprofit foundation.



    Thanks in advance for any help on how to approach this.



    RickForm Change Based on Selection
    I think you are looking for a dependent dropdown. Check out
    this thread:




    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12%26amp;catid=21 7%26amp;threadid=1244995%26amp;enterthread=y



    Color Picker Script Error

    Hi I have another Problem in the color Picker.



    Please see the attached Script that I am using for Selecting
    the Color and and also for changing the icon color to selected
    color



    This Code works fine and gives me the Hex code and RGB Code
    corresponding to the color Selected in the color Picker Bitmap.



    But I have been noticing it that as I move towards the
    periferi of the Color Picker it gives me an error Saying



    ''Script Error: Object Expected

    member(''HexCode'').text = cveta.hexString() %26amp; ''''



    I am not getting this error when i do the same well within
    the periferi of the Color picker



    Any help regarding the same or any tip to fix this error will
    be highly appreciated



    Thanks and Regards

    Atul SaxenaColor Picker Script Error
    Hi,



    ''Script Error: Object Expected'' probably means that 'cveta'
    is not a color object. this will happen if the following line
    fails:



    cveta = member (''colorgama'').image.getPixel (hto, mto)



    So, what you could do is test that cveta is a color before
    calling hexString() method of a colour object:



    strHexCode = ''''

    if cveta.ilk= #color then

    strHexCode = cveta.hexString() %26amp; ''''

    end



    Incidentally, you probably should not write lingo code like
    ''repeat while the stilldown'' (since absolutely nothing else will
    happen while the mouse is down -- eventually, sounds will stop and
    director will grind to a halt). A better strategy is an
    'asynchronous' approach like this :



    property mouseTracking

    on enterframe (me)

    if (the mouseDown) then

    mouseTracking = true

    -- track the mouse etc

    else if mouseTracking then

    -- finish tracking

    mouseTracking = false

    end if

    end





    -- Luke



    VideoDisplay problem

    I am creating an AS3 custom component.



    I want the movie to keep playing without stoping and I can
    get it to work.



    The way I am doing it is the following:



    1. Once the net stream was completly downloaded

    2. I created an onEnterFrame event that check for the time of
    the movie duration and the current stream time

    3. than it rewind and play again



    For some odd reason the first time it plays it does the first
    loop and get stock at the middle of the second loop and sometimes
    it doesn't even got to that point.



    Any suggestions?
  • neutrogena
  •