Sunday, April 4, 2010

JAVA Codebase - change default value in...

I have just upgraded our test environment from MX 6.1 to
ColdFusion 8. Environment = Windows 2003 R2 SP2, IIS 6.0, MS Access
DB (I know, I'm working on porting to MS SQL).



My site uses SSL, and it appears that anytime I open a page
that uses a JavaScript, I get the 'This page has secure and
nonsecure . . . ' Windows pop-up. I have checked every link in the
code and have found nothing in my CF code that would create this
message. Everything referred to is within the SSL covered
directories.



I compared the production MX 6.1 source code to the version 8
code, and have come up with the following:

version MX 6.1

%26lt;OBJECT

CLASSID=''clsid:8AD9C840-044E-11D1-B3E9-00805F499D93''

CODEBASE=''/CFIDE/classes/cf-j2re-win.cab'' . . .



version 8

%26lt;object

classid=''clsid:8AD9C840-044E-11D1-B3E9-00805F499D93''

codebase=''
http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0''
. . .



Version 8 has the codebase hardcoded to the sun website (not
a SSL site). This is throwing my error. I modified the
ne-runtime.xml in the \Coldfusion8\lib file, recycled the services
and voila, no more error.



My question is, was this the right thing to do?JAVA Codebase - change default value in...
Libby H wrote:

%26gt;

%26gt; My site uses SSL, and it appears that anytime I open a
page that uses a

%26gt; JavaScript, I get the 'This page has secure and
nonsecure . . . ' Windows

%26gt; pop-up.



%26gt; Version 8 has the codebase hardcoded to the sun website
(not a SSL site).

%26gt; This is throwing my error. I modified the ne-runtime.xml
in the

%26gt; \Coldfusion8\lib file, recycled the services and voila,
no more error.

%26gt;

%26gt; My question is, was this the right thing to do?



If it works it must be right :)



Please don't forget to submit this issue to Adobe so they can
fix it:


http://www.adobe.com/go/wish/



Jochem





--

Jochem van Dieten

Adobe Community Expert for ColdFusion

CSS: force text style inheritance from...

Hi all



By any chance, is there a way to force text within table
cells to inherit the font style from the

div that contains the table?



I tried

div td{font-family:inherit;}



and it does not work.



Is this possible at all?



--

seb ( ---@webtrans1.com)


http://webtrans1.com | high-end web
design



An Ingenious WebSite Builder:
http://sitelander.com

CSS: force text style inheritance from...
%26lt;div style=''font-weight:bold;font-family:Tahoma, Geneva,
sans-serif;''%26gt;

%26lt;table%26gt;

%26lt;tr%26gt;

%26lt;td%26gt;This will be bold and will be Tahoma, Geneva,

sans-serif%26lt;/td%26gt;

%26lt;/tr%26gt;

%26lt;/table%26gt;

%26lt;/div%26gt;





--

Murray --- ICQ 71997575

Adobe Community Expert

(If you *MUST* email me, don't LAUGH when you do so!)

==================


http://www.projectseven.com/go
- DW FAQs, Tutorials %26amp; Resources


http://www.dwfaq.com - DW FAQs,
Tutorials %26amp; Resources

==================





''(_seb_)'' %26lt;seb@webtrans1.com%26gt; wrote in message

news:fgcto2$fse$1@forums.macromedia.com...

%26gt; Hi all

%26gt;

%26gt; By any chance, is there a way to force text within table
cells to inherit

%26gt; the font style from the div that contains the table?

%26gt;

%26gt; I tried

%26gt; div td{font-family:inherit;}

%26gt;

%26gt; and it does not work.

%26gt;

%26gt; Is this possible at all?

%26gt;

%26gt; --

%26gt; seb ( ---@webtrans1.com)

%26gt;
http://webtrans1.com | high-end web
design

%26gt;

%26gt; An Ingenious WebSite Builder:
http://sitelander.com



CSS: force text style inheritance from...
Murray *ACE* wrote:

%26gt; %26lt;div style=''font-weight:bold;font-family:Tahoma,
Geneva, sans-serif;''%26gt;

%26gt; %26lt;table%26gt;

%26gt; %26lt;tr%26gt;

%26gt; %26lt;td%26gt;This will be bold and will be Tahoma, Geneva,

%26gt; sans-serif%26lt;/td%26gt;

%26gt; %26lt;/tr%26gt;

%26gt; %26lt;/table%26gt;

%26gt; %26lt;/div%26gt;

%26gt;

%26gt;



oh sorry... something else caused my text to loose its style
and I thought for a minute that text

within cells did not inherit from div containers.

my bad



--

seb ( ---@webtrans1.com)


http://webtrans1.com | high-end web
design



An Ingenious WebSite Builder:
http://sitelander.com


.oO((_seb_))



%26gt;oh sorry... something else caused my text to loose its
style



The DOM Inspector in Firefox can be really helpful to find
such errors

and the rule that was responsible for the unexpected result.



%26gt;and I

%26gt;thought for a minute that text

%26gt;within cells did not inherit from div containers.



In some browsers there were issues with inheritance into a
table when

the page was rendered in quirks mode.



Micha

How to keep one button in Active State

I'm working on a Flash touch screen app. I'd like to create
buttons that maintain an active state while the user is on a
certain screen.



How can I accomplish this quickly.How to keep one button in Active State
you must use movieclip buttons and to control their
timeline.
  • eye color
  • almay
  • make up techniques
  • Font size increases !!!

    After converting to templates for use with Contribute, some
    pages have started using a default font size that is larger than
    before. This only appears with IE, both 6 and 7, but not with
    Firefox. You can see my problem in the ''Contact Us'' and the
    Publications sections of:




    http://www.writeonwhidbey.org/



    What's the solution?

    RH7: PDF generation of help project...

    All,

    I have a user who is trying out the trial of RoboHelp 7 and
    wants to know when generating PDF output, is there a way to bypass
    creating a Word document and go straight to the PDF. Is Word still
    utilized this way for Printed Documentation no matter if a PDF is
    made or not?



    Any info would be much appreciated.



    Thanks,

    GregRH7: PDF generation of help project...
    Hi Greg. Word is used to generate the PDF and can't be
    bypassed. I have seen shareware CHM to PDF shareware but I have no
    idea how reliable they are. Not sure if this is any use ;-(RH7: PDF generation of help project...
    Colum,

    Thanks for replying. I ask this question because the RH user
    I have is also evaluating the current version of Flare which
    doesn't use Word to generate the PDF output. They want to avoid
    Word when generating PDFs.



    Would generating FrameMaker output then going to PDF bypass
    Word?



    Greg
    I suspect that Flare does user Word behind the scenes in the
    same way that RH does. Something has to amalgamate the topics
    before they get PDFd.



    I would check the Flare forums before being certain Word is
    not used silently. I'm not saying it does use Word for definite,
    just that I suspect it does.




    Peter,

    Thanks for writing back. I asked for the reason why they
    don't want to use Word and this is what they said:



    ''because in our experience, Word becomes unstable after a
    certain size is reached (sometimes even %26lt;100 pages if there are
    a lot of graphics and screenshots). Word pagination is one of the
    first to go. I'm afraid that it would be difficult or impossible to
    PDF long documents. We need to test this, particularly for Word's
    instability issues.''
    Which reinforces the need to check what I said about how does
    Flare work. I truly don't know so you need to be certain. If it
    does use Word, then you need to be sure it does not have the same
    issues.




    You can generate manageable sections of your help into
    smaller Word docs, convert to PDF, then use Acrobat Pro to
    amalgamate them (or whatever term Adobe uses for this process) into
    one finished product.



    That was possible at least as far back as 2003, and might
    render the size issue moot.





    Good luck,

    Leon


    Leon and everyone,

    Thanks for all of your suggestions and comments. The RH user
    is dead set against using Word to generate the PDF. In further
    research we have found that both RH7 and Flare use Word as a
    go-between in generating the PDF. However, the importing of
    FrameMaker files in RH7 briefly gave us hope that the problem was
    solved by outputting to FrameMaker and then to PDF. Much to our
    surprise we found the RH7 can
    import FrameMaker files but can't
    export to FrameMaker files.



    The user is in a different business unit and is not held to
    the use of RH. Since FrameMaker output is important to them, RH7
    won't fulfill their need.



    Thanks again for all of your help.



    Greg Davis

    Senior Technical Writer

    Consona ERP
    It would seem logical that Adobe will have export to
    Framemaker on their plans for future releases but that doesn't help
    right now.



    If the content is in FrameMaker, or could be, then perhaps
    the Technical Communication Suite holds an alternative solution.
    That can output to the version of RH7 that comes with it. When
    FrameMaker is later updated, I understand it is a simple click to
    update the RH7 project.



    The only other possibility, and it seems unlikely, is to
    hammer the customer a bit more on their objections to Word. They
    say ''because in our experience, Word becomes unstable after a
    certain size is reached (sometimes even %26lt;100 pages if there are
    a lot of graphics and screenshots). Word pagination is one of the
    first to go. I'm afraid that it would be difficult or impossible to
    PDF long documents''



    Word really should not be unstable at that level and it is
    not my experience, even with many screenshots. Whenever I see
    comments like that, I do wonder if some more investigation would
    solve the problem. I always want to get my hands on the project at
    that point and try to make it fall over. Sometimes the cause can be
    found. Often it is just the template used.



    How to validate entry in cfgrid

    cfform formate = flash

    cfgrid selectmode = edit



    I have a column in my cfgrid that users can select on and
    input a date (pick a date would be even better, but that is for
    another time) - I want to validate that they actually put in a
    valid date, but how?



    I have a mask that will put the entry in the correct format,
    but if the user puts in something that is not a date, it simply
    changes the field to be blank.How to validate entry in cfgrid
    not sure what version you are using but CF8 has %26lt;input
    type=''datefield''%26gt; that would handle all of that for you... is
    that a possibility for you?How to validate entry in cfgrid
    If I were using a standard cfform with inputs then I would
    understand, but I'm not, I'm using a cfgrid that can be edited. So
    where would your suggestion go?



    %26lt;cfquery name=''getComponents'' datasource=''mileage''%26gt;

    SELECT partID, bikeID, itemName, brand, model, size,
    material, piDate, extra

    FROM bikeParts

    WHERE bikeID = 1

    %26lt;/cfquery%26gt;



    %26lt;!--- FORM ---%26gt;

    %26lt;cfform format=''flash''

    action=''formdump.cfm''

    style=''themeColor:##ff0000; background-color:##006600;''

    width=''100%''

    height=''100%''%26gt;



    %26lt;cfformgroup type=''panel'' label=''? Bike Components''%26gt;



    %26lt;cfformitem type=''html''%26gt;

    To edit items within the grid, simply click on the item(s)
    you wish to change, and make your changes.

    %26lt;br /%26gt;When you are done, click the submit button.

    %26lt;/cfformitem%26gt;



    %26lt;!--- The hbox aligns the grid and the button vbox
    horizontally ---%26gt;

    %26lt;cfformgroup type=''hbox''

    style=''vertical-align:bottom; horizontalAlign:center;''%26gt;



    %26lt;!--- In order for things to align properly, all of the
    hbox children must be in containers, so the cfgrid tag must be in a
    vbox ---%26gt;

    %26lt;cfformgroup type=''vbox''%26gt;

    %26lt;cfgrid name=''componentChart''

    query=''getComponents''

    selectmode=''edit''

    rowheaders=''no''

    colheaders=''yes'' colheaderbold=''yes''

    height=''400'' width=''1000'' %26gt;

    %26lt;cfgridcolumn width=''100'' name=''itemName'' display=''yes''
    header=''Component'' select=''no'' /%26gt;

    %26lt;cfgridcolumn width=''100'' name=''brand'' display=''yes''
    header=''Brand'' /%26gt;

    %26lt;cfgridcolumn width=''100'' name=''model'' display=''yes''
    header=''Model'' /%26gt;

    %26lt;cfgridcolumn width=''75'' name=''size'' display=''yes''
    header=''Size'' /%26gt;

    %26lt;cfgridcolumn width=''125'' name=''material'' display=''yes''
    header=''Material'' /%26gt;

    %26lt;cfgridcolumn width=''100'' name=''piDate'' display=''yes''
    header=''Began Using'' mask=''mmm d, yyyy'' dataalign=''center'' /%26gt;

    %26lt;cfgridcolumn width=''400'' name=''extra'' display=''yes''
    header=''Notes'' /%26gt;

    %26lt;/cfgrid%26gt;



    %26lt;cfinput type=''submit''

    name=''btnSubmit''

    value=''Submit''

    width=''125'' /%26gt;

    %26lt;/cfformgroup%26gt;



    %26lt;/cfformgroup%26gt;



    %26lt;/cfformgroup%26gt;



    %26lt;/cfform%26gt;

    Caption Feedback

    Is there a way to add images or video to coincide with
    caption feedback... An example would be an instructor (video)
    walking onto the screen and giving feedback vs only having the text
    caption with audio.Caption Feedback
    Hi rydogg73



    Are you referring to feedback captions that result from
    clicking in the wrong area or by providing an incorrect answer? Or
    are you simply looking for how one might accomplish this within the
    normal viewing of Captivate by an end user?



    Cheers... Rick
    Caption Feedback
    I am referring to the feedback captions that are displayed on
    click events.
    Hi again



    Well, I know that if you wish an Image to display instead of
    the normal caption, you can do this. You just edit the caption,
    remove any text, then click the drop-down to choose the Caption
    type. Scroll all the way to the bottom and select ''Browse''. You
    then browse to the image of your choice.



    I'm thinking that video feedback (although interesting)
    wouldn't be accomplished this way. But what you could do is to have
    the event branch to a different slide that played the video. Then
    when the different slide finished, it could branch back.



    Just a thought... Rick

    Thanks Rick I appreciate your help... It looks like it works.




    Ryan

    Confused over the ''WHY''

    I know this is going to sound like I'm a smart aleck but I'm
    just trying to figure it all out and so far things have not been
    answered in a way that I can understand. I must be missing
    something because I can't seem to figure out the reason for
    actionscript (.as) files. I don't come from a programming
    background and I've been trying to figure out this stuff on my own
    for quite some time. I believe the trouble lies in the question
    ''Why would Adobe/Macromedia think doing it this way is a good
    thing?''



    What is the benefit of having .as files over having the
    script incorporated right in the movie file (other than for
    components)? I've gone through several Flash Training programs and
    no one's given a really good explaination. From my point of view,
    it seems to leave me wide open to make mistakes. The code is more
    complex, you got the public and private and different rules than in
    the movie files. You're left wide open to lose things, especially
    if your hard drive crashes. Also, if you want to share, you need to
    send a whole folder full of stuff to make it work.



    I'm must be missing some very important point(s) here because
    the complexity and confusion to me seems like something that
    companies would avoid. Does anyone know of a good resource that
    truely explains this stuff and doesn't just tell you to ''do this'',
    ''do that''.



    I've never been a good one to memorize stuff, but if i can
    actually understand it, it becomes mine.Confused over the ''WHY''
    it really isn't a good system for most non-professionals. if
    you want to create some modest flash content that's not going to
    change in the future, it's much easier to code within the authoring
    environment and not use class files.



    i code within the flash ide all the time especially when
    testing something i've never done before. then for appropriate
    projects i take what i've learned and use oop and class files.



    however, if you are creating a large complex project (and
    especially if you're collaborating with others), using classes and
    oop is very helpful. if you create lots of projects and find the
    need to use (and re-use) certain blocks of code, using class files
    can be very helpful.



    and even for small projects (like my website www.kglad.com) i
    used class files because i knew when i started i would want to add
    features in the future.



    in fact, this past weekend i added a new ''about me'' button.
    and that loads a bio.swf that contains 5 more buttons and each of
    those does something. that entire update was trivial because i had
    created a button class that creates the button graphics and button
    actions (rollover, rollout and press).



    all i had to do was supply the button's label, its x,y
    properties and its action (load something, navigate to somewhere or
    execute php file).



    but again, you're correct: for simple things, the extra work
    creating a class file isn't worth-while unless the project is large
    or uses multiple contributers or needs to be easily
    extensible.Confused over the ''WHY''
    Glad to know that I am not the only one who sometimes does it
    first in the IDE and then moves it over to a class.



    And I agree with everything kglad said. The real value of
    this type of approach comes when you will be working with others.



    In many ways I look at classes as being ''black boxes.'' You
    put this in hear and that comes out there. The actual mechanism
    isn't that important. (Assuming the coding is sound in general.) So
    different parts of the team can work on different parts of the
    problem.



    As for a good resource, I recommend Colin Moock's books on
    Actionscript. He is very good about explaining why something is
    done.
    Speaking as a C++ programmer, I have been avoiding
    actionscript until now. I've always found the coding structure to
    be a mess. Previous versions of flash had you throwing snippets of
    code all over the place... the timeline, movieclips, buttons...
    it's just so disorganized.

    With AS3 everything is finally coming together. It all makes
    sense now and I'm actually enjoying programming in flash.



    So to answer your question, I think Adobe created AS3 to be
    more appealing to programmers from a more traditional
    background.
    Thanks for the help. I guess the confusion comes because I
    always assume they show you the ''best'' way or only way of
    accomplishing a job. It's good to know that it's examples and not
    necessarily best practices. I think that was the confusing part of
    it all.



    I guess I've been trying since MX, skipped over 2004, got 8
    and now CS3. While it seems i put a lot of time into studying it, i
    don't have the occasion to actually put it into practice much and
    therefore i've never gotten much chance to really practice it.



    Thanks everyone!
    you're welcome.

    TC version of RH7 crashing

    Is anyone using the ''enhanced'' versions of RH and FM in the
    tech comm suite? I'm trying out the demo, using a relatively simple
    Framemaker 8 book and using the feature where I can add the book to
    my RH project, make changes in FM, and then have the changes
    reflected in the RH project. After a few changes, I inevitably get
    a corrupted project and RH either won't open it any more, or the
    program quits when I try to do the ''update'' in RH, causing me to
    have to start over with a new project.



    I've found the documentation to be very sparse concerning the
    integration between the two programs and how to use the FM/RH
    workflow. Does anyone know if the full version comes with more
    documentation regarding the ''enhanced'' features?



    Tks,

    LindaTC version of RH7 crashing
    Hey, Linda!

    Doh! I wrote this long answer only to find that you do indeed
    have the TCS version! Anyway maybe some of this info will help
    lurkers who may not be familiar with the new versions.



    So other folks will understand, there are two versions of
    RoboHelp that have just been released. One a standalone and one
    which is part of the
    Adobe
    Technical Communications Suite (TCS)



    As for your specific crash problem, I'm afraid I can't answer
    it offhand. Maybe it was the process you went through?



    The update/linking feature of FrameMaker files in RoboHelp
    projects is part of the TCS version.

    There are certainly benefits in the standalones, but the
    Suite is more than the sum of its parts.



    Even if you don't have the TCS and just have both standalones
    on the same computer you can import (.FM, .MIF, .FRM, .BK, and
    .BOOK) files.



    In the Suite version of RH, you can ''link'' the FrameMaker
    file to the RoboHelp project and ''update'' it to reflect changes
    that have occured in the FrameMaker file. Instead of importing in
    the normal way, you use a command called ''Add by reference.''



    I am not a FrameMaker practitioner, but I wanted to see how
    the process worked. So when Adobe asked me to write a RoboHelp 7
    Reviewer's Guide, I wrote a tutorial (from a RoboHelp author's
    perspective) for importing.

    You can download Adobe RoboHelp 7 Reviewer's Guide here:




    http://www.adobe.com/products/robohelp/pdfs/robohelp_7_reviewers_guide.pdf



    Things are still being posted on the Adobe website because
    the product has just launched. I see they haven't yet posted the
    downloadable exercise files I included for the tutorial. That said,
    you might get some tips from the ''Try it'' narrative in Part 3.

    If you subscribe to this post, I will update this topic when
    the files (and Adobe Captivate movies!) are posted.




    Also, here is the Adobe RoboHelp 7 live online help site. I
    realize you may have already done so, but check out the Importing
    FrameMaker Files topic


    http://help.adobe.com/en_US/RoboHTML/7.0/



    There is also a separate TCS Reviewer's Guide that I see has
    not yet been posted. It will have more tutorials as well.



    Because the products are brand new, you will be seeing a LOT
    more articles and tutorials published in the coming weeks on the
    Developer Connection. I'll keep you posted on that here in the
    forums.



    Meanwhile, I'm sorry I couldn't give you a simple, direct
    solution to your problem, but I'm glad you're giving the new model
    a spin




    Thanx,

    John

    Adobe Certified RoboHelp InstructorTC version of RH7 crashing
    Hi John,



    Thanks for your input! I had watched the eseminar that Adobe
    did that showed how to add by reference FM files to a RH project,
    so I followed that procedure. Since then I started over again and
    just added a FM file one at a time (rather than a book), and I
    haven't had crashes doing that. Next I'll try adding a book with
    only two files in it to see what happens (adding the files via a
    book appears to be necessary so the cross references between files
    work).



    I had looked at your reviewer's guide - that was very
    helpful. Yeah, I noticed that the movies weren't posted - I was
    going to ask you about that until I read your email more thoroughly
    :-).



    So there is one for TCS? If it's not posted yet, is there a
    way to get it? There are a lot of things that could use more
    explanation - for example, how is the glossary in RH automatically
    generated - that is, how does the glossary have to be set up in FM
    for this to work? I haven't been able to figure that out yet. Or
    even small stuff, like what exactly is the difference between
    ''Update'', ''Force Update'' and ''Update All''. There's other things to
    consider as well, especially if you're already used to using RH and
    customizing it a lot... How can you easily still maintain some
    customization while keeping all your content maintained in FM, and
    so on... Other things, like for example how the program uses the
    fmstyles.css file. I already had a css file that I was using in
    RH6, so after a little experimentation, I realized that the
    fmstyles.css file is the one that RH uses for topics that are FM
    files. So I added my custom css to that file. Now, if you add the
    FM files individually, each file has it's own css file that it
    references that is generated from the fmstyles.css file. Well, the
    program doesn't copy all the customized css from the fmstyles.css
    file, just what it thinks it needs. So, for example, it didn't copy
    my definitions for links. This leads to a conundrum - if you copy
    the missing css to the file, you have to either mark the file as
    not to be updated automatically, or else each time you update your
    FM file, you'll lose the added css declarations. Another method
    would be to just link another css file with your customizations to
    the topic, but that would have to be re-added every time that the
    topic is updated.



    Well, this is the first time I've tried to do some kind of
    ''single-sourcing'', and I have projects that are due soon that I
    want to use this with, so that's why I'm anxious to see more help
    info and get feedback from others using the product :-). There's
    nothing like being an early adopter :-).



    By the way - you mention the ''try-it-assets'' folder in your
    guide - where is that? I can't seem to find it, but maybe it wasn't
    included in the trial. (My company is supposed to be ordering the
    upgrade the beginning of next week.)



    Thanks for your help,

    Linda
    Hey Linda.

    A couple of things here. The easy one first. The ''Try-it
    Assets folder'' refers to the Sample download files I mentioned
    which (like the Adobe Captivate Demos) have not been uploaded to
    the site yet. In an effort to get stuff up quickly, not all of it
    is posted. The same is true for the TCS Reviewer's Guide. I've seen
    a draft of it and I think it will be very helpful when it's finally
    posted.

    The way I've found content that is brand spanking new, is to
    type in ''reviewer guide'' into the search box of any Adobe website
    page. Keep pinging that and hopefully it will pop up.



    I've asked the Adobe folks to look into this. Though I try to
    keep these threads open, you are welcome to email me offline for
    more information (see my address in the view profile).

    Thanx,

    john



  • eye color
  • almay
  • make up techniques
  • Mail Form - Perl / CGI

    Hey Guys



    I have set up a file named form.php but I get the following
    error message when I submit a form:




    Method not Allowed


    The requested method POST is not allowed for the URL
    /form.php.




    Why is this? I have used the famous
    http://boaddrink.com PHP script.



    Any replies would be greatly appreciated.



    Thanks =P .Mail Form - Perl / CGI
    ...I have scouted google and not found an answer.Mail Form - Perl / CGI


    ''ForensicBop'' %26lt;webforumsuser@macromedia.com%26gt; wrote in
    message

    news:fga3ml$ivs$1@forums.macromedia.com...

    %26gt; Anybody?



    You may need to wait more than 6 minutes for a very specific
    question like

    this.





    --

    Patty Ayers | Adobe Community Expert

    www.WebDevBiz.com

    Free Articles on the Business of Web Development

    Web Design Contract, Estimate Request Form, Estimate
    Worksheet

    --










    %26gt;
    Method not Allowed

    %26gt;
    The requested method POST is not allowed for the URL
    /form.php.




    url address to the form page?



    What shows in the browser when you put the script's location
    into the

    address bar?



    Does your hosting allow php??



    --

    Alan

    Adobe Community Expert, dreamweaver




    http://www.adobe.com/communities/experts/









    Click here for link to
    page.



    The script is displayed when you put the location in the
    address bar.



    My hosting server is Linux based so I take it that means
    PHP/mySQL?



    ...and thanks for your help! :)




    %26gt; The script is displayed when you put the location in the
    address bar.



    Exactly. The script file is displayed as text. It's not
    processed as php.

    If it was processed as php, the script would display a notice
    that it wasn't

    send any data to process.



    Check the details of your hosting plan.







    --

    Alan

    Adobe Community Expert, dreamweaver




    http://www.adobe.com/communities/experts/








    Oooh...they say I can use PERL or CGI. So then...got any
    recommended scripts that I can use?




    %26gt; they say I can use PERL or CGI. So then...got any
    recommended scripts that I

    %26gt; can use?



    does the hosting have a control panel or CPanel? if yes- look
    in there for a

    preinstalled script. Check their faq/support info for a
    preinstalled script.



    Also look there for the password protected directory
    question.



    if no script,
    http://nms-cgi.sourceforge.net



    the nms-formmail script.



    note- edit the script only with an editor that will save it
    with Unix line

    breaks. Windows line breaks will ruin the script file for
    your linux hosting

    (dw prefs--%26gt;code format--%26gt;line feeds)



    --

    Alan

    Adobe Community Expert, dreamweaver




    http://www.adobe.com/communities/experts/







    Beta1 to Beta2 - ADG openItems Problem

    Hi,



    I just switched from Beta 1 sdk to Flex Builder Beta 2 sdk
    and I am finding that code that previously compiled is now
    returning errors. The error in particular is:





    1119: Access of possibly undefined property openItems through
    a reference with static type mx.printing:PrintAdvancedDataGrid.







    Has this variable been renamed/removed from the ADG? The
    language reference does not reflect this.

    Beta1 to Beta2 - ADG openItems Problem
    For reference, I was using the openItems property to make
    sure I printed only the open parts of my grouped data on my
    ADG.Beta1 to Beta2 - ADG openItems Problem
    openItems in now moved to HierarchicalCollectionView. It can
    be accessed easily as adg.dataProvider.openItems
    Hi Sreenivas,



    Thanks for the reply, unfortunately I am not using a
    HierarchicalCollectionView as my dataprovider but a
    GroupingCollection which is not a child of
    HierarchicalCollectionView. This data type does not have an
    openNodes option. How do I go about switching from
    GroupingCollection to HierarchicalCollectionView?
    When the user sets the dataprovider the grouoing collection
    will get converted to HCV internally. Hence, the above mentioned
    solution should work even for GC data provider.

    Leopard compatibility

    Is Flex Builder 2 completely compatible with MacOS
    10.5?Leopard compatibility
    Working fine for me on Leopard, Eclipse 3.2.x and FB2
    pluginLeopard compatibility
    Crashes on startup for me with error from the log below. I
    suspect there is an issue with the eclipse version shipped with
    builder as my separate eclipse install works with no problems.



    eclipse.buildId=unknown

    java.version=1.5.0_13

    java.vendor=Apple Inc.

    BootLoader constants: OS=macosx, ARCH=x86, WS=carbon,
    NL=en_US

    Command-line arguments: -os macosx -ws carbon



    !ENTRY org.eclipse.update.configurator 4 0 2007-11-22
    10:36:47.191

    !MESSAGE FrameworkEvent.ERROR

    Adding other data to a Static Gallery

    Hi,



    I was wondering if anyone could assist me in trying to get
    some more data to appear along with the full size image, when the a
    thumbnail is clicked.



    I have been looking at the SpryHTMLDataSet as a possible
    answer ..... but would prefer to use the Static Photo Gallery.



    Many Thanks,



    PaulAdding other data to a Static Gallery
    Paul,

    Here is a link to how you can add captions to a photo.


    Add
    captions to main image in gallery



    Adding other data to a Static Gallery
    Hi Marsliden,



    Thanks for your response - however I am using the static
    gallery which does not use the XML file. Its a different way of
    implementing the gallery as it uses progressive enhancement. An
    example of what I'm trying to do:



    %26lt;!-- displays the main image --%26gt;

    %26lt;div id=''picture''%26gt;

    %26lt;div id=''mainImageOutline''%26gt;%26lt;img id=''mainImage''
    alt=''Main Image'' src='''' /%26gt;%26lt;/div%26gt;

    %26lt;/div%26gt;



    %26lt;div id=''previews''%26gt;

    %26lt;div id=''controls''%26gt;

    %26lt;ul id=''transport''%26gt;

    %26lt;li class=''transportB''%26gt;%26lt;a href=''#''
    onclick=''StopSlideShow(); AdvanceToNextImage(true);''
    title=''Previous''%26gt;%26lt;img src=''../img/previous.jpg''
    alt=''Previous'' /%26gt;%26lt;/a%26gt;%26lt;/li%26gt;

    %26lt;li class=''pausebtn''%26gt;%26lt;a href=''#'' onclick=''
    StopSlideShow();'' title=''Play/Pause'' id=''playLabel''%26gt;%26lt;img
    src=''../img/pause.jpg'' alt=''pause'' /%26gt;%26lt;/a%26gt;%26lt;/li%26gt;

    %26lt;li class=''pausebtn''%26gt;%26lt;a href=''#''
    onclick=''StartSlideShow();'' title=''Play/Pause''
    id=''playLabel''%26gt;%26lt;img src=''../img/play.jpg'' alt=''play''
    /%26gt;%26lt;/a%26gt;%26lt;/li%26gt;

    %26lt;li class=''transportB''%26gt;%26lt;a href=''#''
    onclick=''StopSlideShow(); AdvanceToNextImage();''
    title=''Next''%26gt;%26lt;img src=''../img/next.jpg'' alt=''next''
    /%26gt;%26lt;/a%26gt;%26lt;/li%26gt;

    %26lt;/ul%26gt;

    %26lt;/div%26gt;



    %26lt;!-- important bit that displays the thumbnails --%26gt;

    %26lt;div id=''thumbnails''%26gt;

    %26lt;div class=''thumbnail''%26gt;%26lt;a
    href=''../artists/galleries/images/photo1.jpg''%26gt;%26lt;img
    src=''../artists/galleries/thumbnails/resized_photo1.jpg''
    alt=''photo1'' /%26gt;%26lt;/a%26gt;

    %26lt;/div%26gt;



    This will display a gallery showing the control bar, the
    thumbnail and the full size image. My question is how do I attach
    some data to the full size image?



    Thanks for any help,



    Paul
    I'm still struggling with this - I would think it be a pretty
    useful addition to the pe gallery, as attaching meta data to the
    thumbnail is not as useful as attaching metadata to the main image.



    Anyone at Adobe have any suggestions?



    Thanks,



    Paul

    Spry Collapsible Panel

    When using the spry collapsible panel, how can I divide the
    top Tab div into two columns, so the content in the right half of
    the Tab div does not control the spry drop down effect. (The left
    side of the Tab div would thus control the drop down effect.)





    Thanks, :)Spry Collapsible Panel
    The only way to do that would be to put an onclick handler on
    the top-level element of the right side which cancels the bubble up
    of the click. Something like:



    %26lt;div class=''CollapsiblePanelTab''%26gt;

    %26lt;div class=''leftHalf''%26gt;%26lt;/div%26gt;

    %26lt;div class=''rightHalf'' onclick=''return
    false''%26gt;%26lt;/div%26gt;

    %26lt;/div%26gt;



    --== Kin ==--Spry Collapsible Panel
    Hi Kin,



    That didn't seem to work, any other suggestions?
    Apparently returning false from an on* attribute only cancels
    the ''default action'', so you're going to have to register an event
    listener and cancel both the default action and the bubbling of the
    event:





    %26lt;script src=''includes/SpryDOMUtils.js''
    type=''text/javascript''%26gt;%26lt;/script%26gt;



    ...



    %26lt;script type=''text/javascript''%26gt;

    %26lt;!--

    var CollapsiblePanel1 = new
    Spry.Widget.CollapsiblePanel(''CollapsiblePanel1'');



    // Register an event listener on the element inside the panel
    tab that we want to

    // click on but not trigger the panel to open and close. The
    event listener simply

    // returns false to prevent the default action *and* bubbling
    of the event.



    Spry.$$(''.CollapsiblePanelTab
    .rightHalf'').addEventListener(''click'', function(e) { return false;
    }, false);

    //--%26gt;

    %26lt;/script%26gt;





    --== Kin ==--

    Help with PHP

    Hello all, I have a site I created recently and I could do
    with some PHP help. My site is www.displaydesign.co.uk and on the
    Contact page I need to know the script to attach to the submit
    button and I also need to create a PHP file to tell the server to
    email the data to me... can anyone help!!..... Please!Help with PHP
    I have two samples I use in Flash seminars that might help:




    http://www.hosfordusa.com/ClickSystems/courses/flash/examples/Flash2PHPMail/Flas h2PHPMailEx01.php


    http://www.hosfordusa.com/ClickSystems/courses/flash/examples/Flash2PHPMail/Flas h2PHPMailEx02.php

    --

    Lon Hosford

    www.lonhosford.com

    Flash, Actionscript and Flash Media Server examples:


    http://flashexamples.hosfordusa.com

    May many happy bits flow your way!

    ''martinjamesroberts'' %26lt;webforumsuser@macromedia.com%26gt;
    wrote in message

    news:e6p106$j8v$1@forums.macromedia.com...

    %26gt; Hello all, I have a site I created recently and I could
    do with some PHP

    %26gt; help.

    %26gt; My site is www.displaydesign.co.uk and on the Contact
    page I need to know

    %26gt; the

    %26gt; script to attach to the submit button and I also need to
    create a PHP file

    %26gt; to

    %26gt; tell the server to email the data to me... can anyone
    help!!..... Please!

    %26gt;





    Help with PHP
    Thank you very much for your help on this, I managed to get
    it working, the only problem I have now is that once the form has
    been sent, the status text still states 'Sending....' how can I
    relay the information back to conclude that the form has been sent
    from my PHP app? I have simply used one text box to display all
    related information, instead of a series of named frames, and this
    is where I would like to see 'Message Sent!'.... Any takers? Please
    help. I'm nearly there!!
    The question can be answered depending on what you are using
    in Flash:

    LoadVars or XML. In either case there is the sendAndLoad
    method. They

    provide a return LoadVars or XML object that contains
    information returned

    from the server script in your case PHP. That information
    would then tell

    the Flash movie how to inform the user that the mail was sent
    successfully

    or has failed.



    If you look at the Flash documentation for LoadVars for
    example at


    http://livedocs.macromedia.com/flash/8/main/00002336.html
    you could consider

    a simple change such as this:



    if (success) {

    result_ta.text = result_lv.resultsMessage;

    } else {

    result_ta.text = ''Error connecting to server.'';

    }



    On the PHP side you would as a last step



    echo ''resultsMessage='' . $resultsMessage;



    where in the PHP program you set $resultsMessage to represent
    the correct

    message.



    On a more advanced level you would return tokens (codes or
    ids) and let the

    Flash program determine the messaging based on the token
    value. This better

    separates the UI from the server processing.





    if (success) {

    switch (result_lv.resultsId

    {

    case ''sent'':

    result_ta.text = ''Hey the mail was sent!'';

    break



    case ''malformedAddress'':

    result_ta.text = ''Hey your email address is not formed

    correctly!'';

    break



    default:

    result_ta.text = ''Mail not set due to unknown error,

    contact technical support!'';

    break



    {



    }

    } else {

    result_ta.text = ''Error connecting to server.'';

    }





    On the PHP side you would as a last step



    echo ''resultsMessage='' . $resultsId;



    and again you would have the $resultsId set in the PHP
    program based on its

    logic.





    If you are using XML all this is the same except you need to
    provide the XML

    and parse out the results message or results id.

    --

    Lon Hosford

    www.lonhosford.com

    Flash, Actionscript and Flash Media Server examples:


    http://flashexamples.hosfordusa.com

    May many happy bits flow your way!

    ''martinjamesroberts'' %26lt;webforumsuser@macromedia.com%26gt;
    wrote in message

    news:e78cuc$h28$1@forums.macromedia.com...

    %26gt; Thank you very much for your help on this, I managed to
    get it working,

    %26gt; the

    %26gt; only problem I have now is that once the form has been
    sent, the status

    %26gt; text

    %26gt; still states 'Sending....' how can I relay the
    information back to

    %26gt; conclude

    %26gt; that the form has been sent from my PHP app? I have
    simply used one text

    %26gt; box to

    %26gt; display all related information, instead of a series of
    named frames, and

    %26gt; this

    %26gt; is where I would like to see 'Message Sent!'.... Any
    takers? Please help.

    %26gt; I'm

    %26gt; nearly there!!

    %26gt;






    Hi. I'm having the same problem. I have a cool site but I
    just don't understand what pieces I need for the form to work.
    Could you fill me in please? I'm using Flash MX 2004. I can build
    the form but I don't understand what to do next. I think I need to
    put a php script on the server. Is that correct? And then I figure
    I have to link the script to my form and then it will send the
    email. I just need a really basic understanding of each piece and
    then I can build from there. God it's frustrating to look for this
    info but everywhere I go people just assume you know the basics and
    they dive into the details. Can you contact me via email offline to
    discuss please? I would be forever indebted. My email is
    chrispopovic@mac.com.




    May many happy bits flow your way!

    ''cpopovic'' %26lt;webforumsuser@macromedia.com%26gt; wrote in
    message

    news:e8cnj5$9o2$1@forums.macromedia.com...

    %26gt; Hi. I'm having the same problem. I have a cool site but
    I just don't

    %26gt; understand

    %26gt; what pieces I need for the form to work. Could you fill
    me in please? I'm

    %26gt; using

    %26gt; Flash MX 2004. I can build the form but I don't
    understand what to do

    %26gt; next. I

    %26gt; think I need to put a php script on the server. Is that
    correct?

    Yes



    %26gt; And then I

    %26gt; figure I have to link the script to my form and then it
    will send the

    %26gt; email.

    You use sendAndLoad method for either the LoadVars or XML
    class to send the

    Flash form values to the PHP script.

    %26gt;I

    %26gt; just need a really basic understanding of each piece and
    then I can build

    %26gt; from

    %26gt; there.

    The example links I posted in this thread illustrate the
    basics via example.




    http://www.hosfordusa.com/ClickSystems/courses/flash/examples/Flash2PHPMail/Flas h2PHPMailEx01.php


    http://www.hosfordusa.com/ClickSystems/courses/flash/examples/Flash2PHPMail/Flas h2PHPMailEx02.php



    With a bit of searching you could find a short tutorial if
    you look for

    Flash MX 2004 Php Sendmail as the search values or
    variations.



    %26gt;God it's frustrating to look for this info but everywhere
    I go people

    %26gt; just assume you know the basics and they dive into the
    details. Can you

    %26gt; contact

    %26gt; me via email offline to discuss please? I would be
    forever indebted. My

    %26gt; email

    %26gt; is chrispopovic@mac.com.

    %26gt;

    You need to understand enough Actionscript and PHP to adapt
    templates and

    the pupose of the code lines. You need internet client server
    debugging

    skills and enough of an understanding to begin to hone those
    skills.



    --

    Lon Hosford

    www.lonhosford.com

    Flash, Actionscript and Flash Media Server examples:


    http://flashexamples.hosfordusa.com





    Exponential Class error

    I'm trying to use this function:



    function scaleUp(event:MouseEvent):void {

    TweenLite.to(event.target, 1, {scaleX:1.5, scaleY:1.5,
    ease:Exponential.easeOut});

    }

    function scaleDown(event:MouseEvent):void {

    TweenLite.to(event.target, 1, {scaleX:1, scaleY:1,
    ease:Exponential.easeOut});

    }



    And am getting an error on the output:



    1120: Access of undefined property Exponential.Exponential Class error
    does the tweenlite class have exponential easing?Exponential Class error
    I figured it out.



    I had to add:



    import fl.motion.easing.Exponential;

    Word Styles don't Match WinHelp 2000...

    I've got my styles set up in the RoboHelp Word Document but
    when I generate the output the styles and font do not match eg:
    arial font in the WinHelp word document becomes times new roman in
    the WinHelp 2000 Output. We've deleted all of the normal .dot files
    after closing RoboHelp and Word, but that has not seemed to make
    any difference. Has anyone else experienced this problem? Does
    anyone know of a solution?Word Styles don't Match WinHelp 2000...
    Welcome to the forum.



    Take a look at Snippets on my site.



    Word Styles don't Match WinHelp 2000...
    Thanks for the help. For anyone interested, the patch to the
    problem can be downloaded here:




    http://kb.adobe.com/selfservice/viewContent.do?externalId=799a6b49%26amp;sliceId=2

    Html

    can it?

    i mean this :

    you click an button and in teh panel comes the page that you
    want

    like iframe

    And can i use html in flex 2 ?



    If you dont undersant i mean this


    /LOGO\________/PANELINFO\/-------------------------------------\

    |LOGO|________|PANELINFO||ACCORDION___________|

    \LOGO/________\PANELINFO/|BUTTON______________ |

    /PANEL_________________\_|THE PAGE WILL BE HIRE_|

    |IWANTHTMLVIEWER IN THIS| |%26lt;---__________________-|

    \PANEL_________________/_\_____________________/



    SO WHEN SOMONE PRESS THE BUTTON THE PAGE THAT I WANT COMES IN
    THE PANEL THAT IS UNDER THE LOGO

    AND NEXT TO THE ACCORDEON



    plz helpHtml
    for the peaple that still dont get it !

    its similar to yahoo mail

    you click on a massage and you get the message !

    Transparent submenus in menubar

    Hi

    I still haven't managed to make the submenus in my menubar
    trasnparent. The actual menu was easy, but I only seem to be able
    to change the background color for the dropdown submenus. Can you
    make these transparent too?

    thank youTransparent submenus in menubar
    have you tried alpha property of the menu?



    ATTATransparent submenus in menubar
    Yes, but that only makes the menu transparent. I am talking
    about the submenus that becomes visible when you click on the menu.
    I am starting to think it is not possible to make the submenus
    background transparent.
  • skin
  • almay
  • make up techniques
  • Flash CS3: Serious lag when Switching...

    I've got a serious problem with Flash CS 3 on my Macbook Pro,
    which makes it almost unworkable.



    When I'm working in flash, switch to another application
    (Mail, Illustrator, any...) and then switch back to flash. the
    program freezes for at least 9 to 10 seconds: The Menu's are all
    transparant and greyed out, and the only thing I see is the beloved
    ''beachball'' spinning.



    Needless to say that this makes it very hard to work with the
    program, since switching between apps is a big part of my workflow.



    Is anyone experiencing the same problem?



    I have re-installed the whole CS3 suite (twice) and even
    cleaned up my computer and did a clean install of OS X!!



    I'm running on a 15'' mac book pro (2,33) with 2gig memory,
    bought last may.



    Any help is welcome,



    Flash CS3: Serious lag when Switching...
    What you are describing is exactly the problem we are having
    on a computer here at my office. It's a PowerMac G5 with 2 gigs of
    ram. I've tried doing a clean install of OS X with a new user
    profile and new installation of CS3 with no luck. Did you ever
    manage to get yours fixed?Flash CS3: Serious lag when Switching...
    I'm having the same problem as well. I was using Flash 8,
    thought I would upgrade to Flash CS3 and solve the problem but that
    was no good. There's still a long lag time when switching to Flash
    from any other program. Not sure if it's a Memory problem or a Font
    problem. Any word on a solution for this annoying problem?



    I'm running a PowerPC G5 with dual 2.0ghz processors and 2.5
    GB of ram.



    Thanks!

    Kerning

    Hi there again,

    We fear the reply to this is no, but I will ask anyway just
    in case I missed the setting somewhere...



    I need to overlay text in my project, therefore I am using a
    text caption as transparent type.



    Is it possible to reduce the kerning (spacing between each
    letter of a word) in captivate?



    I did not find this setting anywhere, or perhaps there is
    another text tool I can use?



    Thank-you!





    Kerning
    Hi frenchi30



    Indeed your fears are realized. There is no control of this
    type in Captivate. However, if you have that available in other
    applications, you might adjust the text as desired in a different
    application (Microsoft Paint and PhotoChop come to mind here) then
    insert the corrected or modified version as an Image object. Place
    as desired, then right-click and choose ''Merge into Background''.
    This will have the same effect as would be achieved by copying the
    background, pasting into Paint or PhotoChop and replacing the
    existing background with the modified one.



    Cheers... Rick
    Kerning
    that was fast! I think I still had my finger on the mouse
    button :)



    Thanks Rick, appreciated.

    PowerPoint slide will not import

    I have created a title page for a dozen or so Captivate 2
    projects in Powerpoint. I create the page, import, and then move to
    the 1st slide.



    Suddenly it doesn't work. When I import the PowerPoint into
    Captivate, then I can select the file from the list. Then the
    system ''thinks'' for about 10 minutes and comes up with a screen for
    me to select a PowerPoint slide from. There are 3000+ slides listed
    but they are all blank. The slide that has my title page is nowhere
    to be seen.



    I can reopen the Powerpoing file fine. I have tried opening
    some of the other PowwerPoint files that I used before and I have
    the same problems.



    Any suggestions?PowerPoint slide will not import
    Did you perhaps upgrade to PowerPoint 2007? Just a
    thought.PowerPoint slide will not import
    No, I haven't upgraded anything. It has been a couple of
    months since my last project so Microsoft Update may have patched
    PowerPoint. However, even when I try an older, saved, page that
    worked before then I get the same problem. It seems to be within
    Captivate.
    ksspring,



    Are you using a blank one slide Captivate project as the
    import's destination? If not, could the destination Captivate
    project be misbehaving?



    If you email docedoc(atsign)skillsinc(dot)biz a .ppt that
    doesn't import, I'll try it and let you know. Might give you some
    insight.



    Phil
    I am experiencing the exact same problem whenever I try to
    import my ppt slides.
    I have tried the following with no success:

    - add more slides to the Captivate project and then import

    - delete Captivate project and try with new project

    - import multi-slide .ppt

    - import older slides that worked before

    - uninstall and reinstall Captivate

    I needed to get the project done, so I used a capture program
    to copy the Powerpoint slide to a .jpg and then I imported the
    image into Captivate. Not perfect, but I got the flash demo out the
    door.



    I've given up on troubleshooting. January starts a new year
    and my boss has agreed to pay for the upgrade to 3.0.
    ksspring--our IT folks came and had to reinstall Flash from
    BOTH Firefox and IE--the problem is solved now.
  • skin
  • almay
  • make up techniques
  • If Var == This HELP

    Howdy,



    I am needing some help with the spry:if statements...



    I have a dynamically generated XML page i am pulling my
    dataset from and it works find but I am wanting to put ''sponsored''
    information above the rest of the information.



    My website is
    http://www.austinbartour.com/search.php?name=b%26amp;zip=%26amp;liveMusic=%26amp;food=%26amp;smokingArea =



    I have all the bars that have a ''b'' in them showing but there
    are certain bars that are members and I want them to show up
    first... I already have the variable which is ''member'' and the
    value needs to be ''Y''...



    How would I do this?



    Thanks and God Bless,

    Robert JohnsonIf Var == This HELP
    One easy way would be to grab the info in two data sets...
    the first data set grabs your ''sponsored'' ones first... put s them
    in a table... then a second data set grabs the non-sponsored ones
    and displays them... requires two hits but might be the path of
    least resistance.

    If Var == This HELP
    Ok, Thanks!



    Also, for the {ds_EvenOddRow} script to make the rows change
    color, can I do a spry:if member=Y change the background color to
    another color?



    And is there a way to put something behind the spry so it
    says ''data loading'' or something?



    Thanks!
    For a loading graphic you can just display one as an overlay
    and then add into the JS file something that sets it's visibility
    to false once the data has loaded.



    I haven't done it myself but I have seen it done.



    For the different color rows,.. if you are going to use to
    different data sets then just make the one with sponsored results
    get put into a table that has a different CSS class then the one
    with normal results and define the row bg-color that way.
    Thanks for your help! :-)



    I am now trying to get the spry:hover to work but it seems to
    be giving me a few problems...
    You might be able to use the sort function to get the members
    stuff to the top and then do a secondary sort on the bar names:


    http://labs.adobe.com/technologies/spry/articles/data_api/apis/dataset.html#sort

    Here is a sample on even/odd:


    http://labs.adobe.com/technologies/spry/samples/data_region/EvenOddRowSample.htm l

    Use spry:state for the loading gif:


    http://labs.adobe.com/technologies/spry/samples/data_region/RegionStatesSample.h tml

    For spry:hover, is has to be correct in the cascade.

    Make sure that the hover class is defined below the alt row
    color classes.

    Hope this helps.

    Don

    Adobe Spry team

    Multiple Choice Answer format

    I have a particular background that I like to use for my
    review question pages. To use the background, I have to move my
    title, multiple choice question, answers and feedback to different
    areas of the screen. Everything looks great in edit mode but when I
    preview it, the answers are completely messed up. Sometimes it will
    only show a few of the answers while others are invisible,
    sometimes it will reformat so answers are located in completely
    different areas on the page. Has anyone else had this problem? I
    have only been using Captivate for a few days so i am totally new
    to it. I used Toolbook before. Any help would be great!

    Thanks,

    KimMultiple Choice Answer format
    Kim,



    I'm using Captivate 2 to create question slides with a custom
    background that requires repositioning title, question, answers,
    and feedback. When I publish, the objects are where I expect them
    to be. So, I know it can be done at least on my setup.



    Which version of Captivate are you using?



    Phil

    scale dcr file

    I have a .dcr file made in Director with certain dimensions.
    I need to insert that file into a dreamweaver html, but resizing it
    to a smaller size.



    Is there any parameter or way to do that without having the
    content cut?

    Server won't start/Bad JVM?

    Running CFMX7.02. After noticing that the Java version was
    1.4 something (the version originally supplied with the product in
    2006), and that I couldn't do things like use the ''browse server''
    controls in CFAdministrator without getting Java errors, I
    repointed the CF engine to use the version supplied by Java on
    their website today. Now the server won't start.



    From the CF error log:



    Error: no `server' JVM at `C:\Program
    Files\Java\jre1.6.0_03\bin\server\jvm.dll'.



    Windows event log is no help, reporting that is has received
    ''server-specific error code 2''. Based on the advice of some earlier
    topic, I tried to restart the service with ''interact with the
    Desktop'' checked, but no DOS window there.



    Any ideas? I'd be happy to point CF back to its own version
    of Java, if I could do so without interacting with the
    Administrator (which requires starting the server).
    Server won't start/Bad JVM?
    1. CF 7 does not support JVMs higher than 1.4.2_11



    2. You should install the full JDK so you'll get the server
    version of the JVM



    3. You change change the JVM version by editing the
    jvm.config file.




    http://www.adobe.com/go/2d547983Server won't start/Bad JVM?

    quote:




    Originally posted by:
    JR ''Bob'' Dobbs


    1. CF 7 does not support JVMs higher than 1.4.x





    Ah. That explains
    that.


    quote:





    2. You should install the full JDK so you'll get the server
    version of the JVM



    3. You change change the JVM version by editing the
    jvm.config file.





    Got it--and thanks for the extremely quick reply.

    However, what can I do to fix the Java errors that keep me
    from using the GUI file-browsing components in the CFAdministrator,
    since I can't upgrade the main Java engine?




    Try installing the 1.4.2_11 j2sdk from Sun and then configure
    your server to run on that version.




    http://java.sun.com/products/archive/
    Some clarification:

    The java plugin used by the browser is separate from the JVM
    running coldfusion. As far as I know you can install multiple
    versions of java on a machine. Just be sure CF is using a
    compatible version.
    ColdFusion 7.0.2 is supported on the entire 1.4.2_x platform.
    Adobe just doesn't test each release. But if you're on 1.4.2_x
    they'll give you support. _15 is the latest, last I checked and
    there are some serious bugs that were fixed after _11.

    Style Advice Needed

    I have a particular style of font (created using several
    options, i.e. small caps, bold, highlight). I thought it would be a
    good idea to add this to a css file. When I added this to the file,
    however, it seems to be only a paragragh style and not a character
    style as I might have in MS Word.. By character style I mean
    selecting a couple words and applying the style to those words ONLY
    and NOT the whole paragraph.



    Can anyone offer direction for this objective?



    Thanks,



    Dave
    Style Advice Needed
    Dave,



    I'm guessing you tried to add your new style to the style
    sheet using the Format %26gt; Styles dialog. Most of RH's styles are
    paragraph-level. The character-level styles are for things like
    DHTML text. You can edit your .css file in a text editor, but if
    you go that route, do so with a copy of your project first. RH has
    its own mechanisms for coding styles in the .css file (open the
    file in Notepad and you'll see what I mean), and I manually enter a
    style only when I don't have any other option for what I want to
    do. You can find all kinds of info online about how to create
    styles in CSS.



    Another caveat here is that RH seems to freely use the
    %26lt;span%26gt; tag, which is the element you'd use for most
    character-level styles. If you start specifying a span class for
    bits of text within paragraphs, RH may get confused, and the
    %26lt;span%26gt; tags may start proliferating like rabbits in your
    code. I have seen %26lt;span%26gt; tags pop up like crazy in RH X5 and
    6, but I'm still only trying out RH7, so I don't know if it's a
    problem there.



    So like Peter Grainge may say here, back up your project and
    be careful if editing styles manually.



    Hope this helps,



    BenStyle Advice Needed
    Ben,



    Thanks for the reply. I'd rather not dig into the files
    themselves at this point, I can opt to not use the font if
    necessary, alternatively I could maybe put the text on its own
    paragraph. Is there a macro function that I could use to format
    selected text with several options?



    Dave
    I have to take back what I said about character-level styles
    being just for DHTML text. It looks like RH6 does let you create
    character-level styles. It seems to me that I tried to do that once
    upon a time and couldn't, but perhaps that was with X5. See if you
    have the option to create a new style in the Format %26gt; Styles
    dialog with the ''Character'' style type and see if that gives you
    what you want.



    --Ben
    Unfortunately I am still on version 5 and am uncertain when
    an additional upgrade might be purchased.



    To be clear, I can create a character level style in a given
    topic but I want to be able to share this style created on one
    topic with all the others.
    Before you create a new style, make sure in the Styles dialog
    (where all the styles are listed) that the .css file you are using
    is shown in the ''Available in'' dropdown box. If you create a new
    style with a .css file selected here, the new style is added to
    that style sheet. This makes the new style available to all topics
    using that style sheet.



    From there, in any topic using that style sheet, you should
    be able to select some text and find your style in the styles
    dropdown box in the toolbar. If that dropdown isn't shown, you will
    probably have to customize your toolbar so it shows.
    Hi all



    RoboHelp X5 should allow you to create character styles as
    well. Any style you create will be available to any topic as long
    as you create it inside the linked style sheet.



    I have steps outlined in the link below:


    Click
    here



    Cheers... Rick

    Captiv8r,



    I couldn't find the reference on your website but I do like
    the wizard picture!



    Anyhow, I ended up editing the default.css and just changing
    the style from P.steylename to SPAN.stylename and that seemed to do
    the trick. Thanks for all the input everyone.
    Hi again



    How odd. The link opens right up for me whether I'm using IE
    or FireFox. What is the browser you are using?



    Cheers... Rick
  • skin
  • almay
  • make up techniques
  • Input text field

    I have a question about creating a text input field that will
    print out the contents to the flash movie. I wanted to create an
    e-card. There would be an input text field so people could write a
    message. After writing a message they would click a view button and
    see their message within the context of the e-card (maybe in some
    fancy font). Is this possible in Flash CS3 or does it need to be
    done in Flex? Any help would be appreciated. Thanks.Input text field
    Is the question that difficult. It seems straight forward.
    How would you complete this task? Anybody, anybody - maybe!Input text field
    Are you talking about emailing the card? Or just having it be
    viewed after then put the text in?
    Just having it be viewed once the text is in - a preview mode
    before sending the e-card.
    I have just finished a job like this and it takes 2 swfs and
    some backend coding to accomplish. In my case I had a sender SWF
    with dynamic text fields (and more) that a user would edit, then
    they send it off to a ColdFusion script which parses it creates and
    emails a link to a second user. You have to send a link because you
    cannot send SWFs in emails. Then the link points to a receiver SWF
    which picks up variables from the URL to populate its dynamic text
    field.

    Chart HTTPservice & for loop

    I am using a togglebuttonbar to navigate between 3 seperate
    linecharts, each displaying unique data. My problem is that with my
    current code only the last chart is displaying any data. Everytime
    I change which chart is displayed last it is always the last chart
    that displays properly.



    So my code lloks like this:



    TOGGLEBUTTONBAR



    VIEWSTACK



    For Loop(example: loops 3 times){



    new Canvas(added as child to viewstack)



    new Panel(addd as child to canvas)



    new Chart



    new Array (for line series)



    FOR LOOP(example: 2 times){

    new Line

    line.yfeild = NAME

    push line into line series array

    }



    HTTPservice to get the data, calls dataReceived function,
    which is within this for loop



    dataReceived{ Chart.dataProvider = event;} // te httpservice
    works, Ive checked it in debugging, and because the last chart
    displays properly



    }



    done.



    So that should display 3 charts, each with two lines. Note
    that the httpservice is calling the same chunk of XML for every
    chart, but Im only displaying a couple portions in the each
    individual chart. (for example, the xml file has: APPLES, ORANGES,
    BANANAS. one cahrt would display apples, the next bananas, etc)



    A useful chunk of code is beow... once again, only the last
    chart's data is being displayed.



    var DB_Connect:Object = new Object;

    var URL:String = new String;

    URL = ''
    http://192.168.11.12/getdata.php?length=day''



    useHTTPservice(DB_Connect,URL,dataReceived);



    _newChart.series = _newSeries;

    _newPanel.addChild(_newChart);



    function dataReceived(evt:ResultEvent):void

    {

    _newChart.dataProvider = evt.result.point;

    }



    thats from inside the first for loop. I'm certain Im making
    some noob mistake!





    Chart HTTPservice %26amp; for loop
    the newChart object is getting created synchronously, but the
    data is comming asynchronously.



    You need to store a reference to each new child instance,
    perhaps in an associative array(object) as it is created. Then in
    the result handler, assign the current result to the appropriate
    chart.



    Probably need AsyncToken to match call to result.



    Tracy

    DataGrid: dataTipField doesn't seem to...

    I have a heavily custom styled DataGrid and have a need to
    show tool tips for data in the columns, especially for columns that
    use images (symbols).



    The tool tips show up nicely (set dataTipField and
    showDataTips) except for columns that use an itemRenderer which in
    my case, are quite a few columns...



    Help! Any idea how to get around this problem?



    ThanksDataGrid: dataTipField doesn't seem to...
    Found a solution if your itemRenderer is anActionScript
    subclass:



    You will have to set the itemRenderer's toolTip yourself.



    1. Still set the dataTipField to the dataField that holds
    your tool tips.



    2. Overwrite the set data method like this:



    override public function set data(value:Object):void

    {

    super.data = value;



    // Assign the dataTipField value to the toolTip

    this.toolTip = data[this.styleName.dataTipField];

    }



    This seems to work fine for me.

    CSS Question

    I've made a simple layout to illustrate what I'd like to try
    to fix




    Sample site



    The right column hangs with a gap before the footer in
    Firefox (not in IE6). If I have a longer content region, then the
    left subnav section hangs.



    Here's my style sheet




    Style
    Sheet



    Any suggestions for fix within CSS without adding another DIV
    around my two column DIVs? Many thanks.



    -LokeyCSS Question
    Google ''faux columns''.



    --

    Murray --- ICQ 71997575

    Adobe Community Expert

    (If you *MUST* email me, don't LAUGH when you do so!)

    ==================


    http://www.projectseven.com/go
    - DW FAQs, Tutorials %26amp; Resources


    http://www.dwfaq.com - DW FAQs,
    Tutorials %26amp; Resources

    ==================





    ''thlokey'' %26lt;webforumsuser@macromedia.com%26gt; wrote in
    message

    news:fgktm1$7go$1@forums.macromedia.com...

    %26gt; I've made a simple layout to illustrate what I'd like to
    try to fix

    %26gt;

    %26gt;
    http://www.todlokey.com/training

    %26gt;

    %26gt; The right column hangs with a gap before the footer in
    Firefox (not in

    %26gt; IE6).

    %26gt; If I have a longer content region, then the left subnav
    section hangs.

    %26gt;

    %26gt; Here's my style sheet

    %26gt;

    %26gt;
    http://www.todlokey.com/training/training.css

    %26gt;

    %26gt; Any suggestions for fix within CSS without adding
    another DIV around my

    %26gt; two

    %26gt; column DIVs? Many thanks.

    %26gt;

    %26gt; -Lokey

    %26gt;



    CSS Question
    Is there really no way to accomplish this within the
    definition of the column DIVs? It seems like y-repeating a color
    image behind my columns is problematic if I don't want it to go
    beyond my footer.
    ''thlokey'' %26lt;webforumsuser@macromedia.com%26gt; wrote in
    message

    news:fgl1i0$c5m$1@forums.macromedia.com...

    %26gt; Is there really no way to accomplish this within the
    definition of the

    %26gt; column DIVs? It seems like y-repeating a color image
    behind my columns is

    %26gt; problematic if I don't want it to go beyond my footer.



    Wrap subnav and content together and use that DIV for the
    faux-column image

    also, make sure to apply ''overflow:hidden;zoom:1'' on that DIV



    --

    Thierry

    Articles and Tutorials:
    http://www.TJKDesign.com/go/?0

    --


    http://www.divahtml.com/products/scripts_dreamweaver_extensions.php

    - divaGPS - Add ''you are here'' highlighting to virtually any
    menu

    - divaFAQ - Create FAQ pages that toggle (show/hide) the
    answers

    - divaPOP - Easy, clean, standards-compliant popup windows.



  • skin
  • almay
  • make up techniques
  • Need to tally information

    I am using C3 and I am creating a scenario based course. I am
    trying to find out how to use scripting to keep track of
    information selected during the course and show the choices at the
    end of the course. Similar to the quiz function but with other
    information not contained in a quiz. Any suggestions on how this
    can be done?Need to tally information
    Since Captivate doesn't natively support scripting, you're
    facing a pretty big challenge.



    However, Captivate files are basically pre-compiled Flash
    movies, so internally they support Actionscript. If you know Flash,
    you could probably build a series of widgets to track the user's
    path and then create a Flash animation that makes use of that
    tracked information.



    The big downer is that there is no documented way of pulling
    information from Captivate-generated objects, so unless you can
    reverse engineer a Captivate movie, you'll have to hard code at
    least some of the tracking information.



    If it were me, I'd do something like this:



    1. Use a descriptive slide name at the start of each decision
    branch.



    2. At the start of each branch, insert a Flash widget that
    adds the branch number to a global array variable. For instance,
    for the third branch, I would insert a Flash animation called
    ''Branch3Start.swf'' that adds the number 3 to the global tracking
    array. For Branch 7, I would insert ''Branch7Start.swf'' that adds
    the number 7, and so on. This way, each Branch# swf file can be
    generic, which saves a lot of work across projects.



    3. On the summary slide, insert a Flash animation with two
    main features:



    3a) An array or list of all the slide names you entered in
    step 1.



    3b) An iterative loop that displays the values from the array
    or list based on the values it finds in the global tracking
    variable.



    For example, if the user visited branches 3 and 7, the global
    tracking array would contain ''3'' and ''7'', so the summary slide
    would show the 3rd and 7th values in the slide name array.



    There's probably a lot better ways to do it, but hopefully
    this least offers some food for thought.Need to tally information
    Thanks for your assistance. I have flash but I have not had
    time to learn how to use it. Is there someplace that tells you how
    to make Flash widgets?
    Sorry, but a ''widget'' is not an actual thing... it's just a
    fun way of saying ''specialized piece of functionality''. In this
    case, the ''widget'' is a Flash animation that sets a variable.



    If you absolutely must have the functionality, you might want
    to look into hiring a Flash developer. I can't imagine it would be
    more than a few hours work for someone who knows what they're
    doing. Of course, I say that as someone whose knowledge of Flash is
    fairly limited, so that estimate might be way off.

    Get series color

    Hi guys, the only thing i need to know is how to get the
    color of each serie of a LineChart. I don't set any color to the
    series so, this colors are automatically asigned by flex and i need
    to know those colors to set them to several labels.

    Thanks.

    Placing Flash Video in Specific...

    Hi-



    Basic (I think) question here regarding Flash video on a web
    page created with DW8. I am trying to figure out how to have
    several thumbnail images on the right hand side of the page link in
    such a way that when they are clicked they will play the
    corresponding Flash video file in a player window on the left hand
    side of the page (something like a YouTube page layout). It seems
    like it should be simple enough to link the thumbnail images to the
    videos and then have the videos play in the player at a preset
    location on the page, however, I'll be darned if I can find
    anything on the Adobe site, tutorials, or the Web in general that
    addresses just how to do this. Maybe I'm just putting in the wrong
    search terms. Anyway, if you have any suggestions, tips or
    tutorials you can recommend I would surely appreciate it.



    -=SBPlacing Flash Video in Specific...
    You can do it the same way you'd do with images. See this
    demo for an

    example that you can perhaps extend to your Flash needs -




    http://dreamweaverresources.com/tutorials/settextoflayer.htm





    --

    Murray --- ICQ 71997575

    Adobe Community Expert

    (If you *MUST* email me, don't LAUGH when you do so!)

    ==================


    http://www.projectseven.com/go
    - DW FAQs, Tutorials %26amp; Resources


    http://www.dwfaq.com - DW FAQs,
    Tutorials %26amp; Resources

    ==================





    ''nuie'' %26lt;webforumsuser@macromedia.com%26gt; wrote in message

    news:fge0s2$1g7$1@forums.macromedia.com...

    %26gt; Hi-

    %26gt;

    %26gt; Basic (I think) question here regarding Flash video on a
    web page created

    %26gt; with

    %26gt; DW8. I am trying to figure out how to have several
    thumbnail images on the

    %26gt; right hand side of the page link in such a way that when
    they are clicked

    %26gt; they

    %26gt; will play the corresponding Flash video file in a player
    window on the

    %26gt; left

    %26gt; hand side of the page (something like a YouTube page
    layout). It seems

    %26gt; like it

    %26gt; should be simple enough to link the thumbnail images to
    the videos and

    %26gt; then

    %26gt; have the videos play in the player at a preset location
    on the page,

    %26gt; however,

    %26gt; I'll be darned if I can find anything on the Adobe site,
    tutorials, or the

    %26gt; Web

    %26gt; in general that addresses just how to do this. Maybe I'm
    just putting in

    %26gt; the

    %26gt; wrong search terms. Anyway, if you have any suggestions,
    tips or tutorials

    %26gt; you

    %26gt; can recommend I would surely appreciate it.

    %26gt;

    %26gt; -=SB

    %26gt;



    Placing Flash Video in Specific...
    Thanks! I'll give it a try.

    Canvas size

    I'm having a canvas with



    graphics.drawRoundRectComplex(0,0,35,150,20,0,20,0)

    graphics.drawRoundRectComplex(0,150,35,150,20,0,20,0)



    I've included this in my application using



    %26lt;ms:nav top=''0'' left=''0'' type=''left''
    scroll=''false''%26gt;%26lt;/ms:nav%26gt;



    My application heigth is set to 260, after including the
    canvas my application is displaying the vertical scroll bar. How to
    remove the vertical scroll bar? canvas display must be cliped
    (croped). Please help me with solution



    Thanks in advance.Canvas size
    Set verticalScrollPolicy and horizontalScrollPolicy to ''off''

    TracyCanvas size
    Thank you very much Tracy

    getURL not working in Mac IE5

    I've been told that a Flash navigation I worked on is not
    functioning in IE 5 for Mac. I know what you're thinking... who
    uses IE 5 for Mac these days? So anyway, I've been asked to fix it
    and cannot seem to find anything with my searches. Maybe I'm using
    too many key words in my search. I don't know.



    It works in FF, Safari on Mac and FF, IE on PC. I am using
    the most recent version of swfObject in the page. I've published to
    FP 6 and it's using AS 2.0.



    I'm basically just throwing this out there to see if anyone
    remembers this being an issue.getURL not working in Mac IE5
    Just a thought, aniebel, but maybe IE5 can handle SWFObject
    script? Have you tried embedding with a %26lt;embed%26gt; or
    %26lt;object%26gt; tag? Maybe you could set up a JS browser version
    reader script and fire it only in that instance? I dunno?getURL not working in Mac IE5
    Yeah you might be right although the support for swfObject
    says it does handle that browser. I may have to resort to your
    suggestion anyway.

    Submenu Visible in IE7

    I am unable to view submenus in IE7, Firefox or Netscape. I
    used the Spry Nemu Bar Horizontal and Vertical templates provided
    with Dreamweaver 8. Does anyone have the necessary code for this?
    www.co.pierce.wi.usSubmenu Visible in IE7
    I was sent the proper code from Adobe Support.



    @charset ''UTF-8'';



    /* SpryMenuBarVertical.css - Revision: Spry Preview Release
    1.4 */



    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights
    reserved. */



    /*******************************************************************************



    LAYOUT INFORMATION: describes box model, positioning,
    z-order




    ******************************************************************************* /



    /* The outermost container of the Menu Bar, a fixed width box
    with no margin or padding */

    ul.MenuBarVertical

    {

    margin: 0;

    padding: 0;

    list-style-type: none;

    font-size: 100%;

    cursor: default;

    width: 8em;

    }

    /* Set the active Menu Bar with this class, currently setting
    z-index to accomodate IE rendering bug:
    http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html
    */

    ul.MenuBarActive

    {

    z-index: 1000;

    }

    /* Menu item containers, position children relative to this
    container and are same fixed width as parent */

    ul.MenuBarVertical li

    {

    margin: 0;

    padding: 0;

    list-style-type: none;

    font-size: small;

    position: relative;

    text-align: left;

    cursor: pointer;

    width: 8em;

    }

    /* Submenus should appear slightly overlapping to the right
    (95%) and up (-5%) with a higher z-index, but they are initially
    off the left side of the screen (-1000em) */

    ul.MenuBarVertical ul

    {

    margin: -5% 0 0 95%;

    padding: 0;

    list-style-type: none;

    font-size: 100%;

    position: absolute;

    z-index: 1020;

    cursor: default;

    width: 8.2em;

    left: -1000em;

    top: 0;

    }

    /* Submenu that is showing with class designation
    MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen
    */

    ul.MenuBarVertical ul.MenuBarSubmenuVisible

    {

    left: 0;

    }

    /* Menu item containers are same fixed width as parent */

    ul.MenuBarVertical ul li

    {

    width: 8.2em;

    }



    /*******************************************************************************



    DESIGN INFORMATION: describes color scheme, borders, fonts




    ******************************************************************************* /



    /* Outermost menu container has borders on all sides */

    ul.MenuBarVertical

    {

    border: 1px solid #CCC;

    }

    /* Submenu containers have borders on all sides */

    ul.MenuBarVertical ul

    {

    border: 1px solid #CCC;

    }

    /* Menu items are a light gray block with padding and no text
    decoration */

    ul.MenuBarVertical a

    {

    display: block;

    cursor: pointer;

    background-color: #CCCCFF;

    padding: 0.5em 0.75em;

    color: #333;

    text-decoration: none;

    }

    /* Menu items that have mouse over or focus have a blue
    background and white text */

    ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus

    {

    background-color: #FFFFCC;

    color: #FF0000;

    }

    /* Menu items that are open with submenus are set to
    MenuBarItemHover with a blue background and white text */

    ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical
    a.MenuBarItemSubmenuHover, ul.MenuBarVertical
    a.MenuBarSubmenuVisible

    {

    background-color: #33C;

    color: #FFF;

    }



    /*******************************************************************************



    SUBMENU INDICATION: styles if there is a submenu under a
    given menu item




    ******************************************************************************* /



    /* Menu items that have a submenu have the class designation
    MenuBarItemSubmenu and are set to use a background image positioned
    on the far left (95%) and centered vertically (50%) */

    ul.MenuBarVertical a.MenuBarItemSubmenu

    {

    background-image: url(SpryMenuBarRight.gif);

    background-repeat: no-repeat;

    background-position: 95% 50%;

    }



    /* Menu items that are open with submenus have the class
    designation MenuBarItemSubmenuHover and are set to use a ''hover''
    background image positioned on the far left (95%) and centered
    vertically (50%) */

    ul.MenuBarVertical a.MenuBarItemSubmenuHover

    {

    background-image: url(SpryMenuBarRightHover.gif);

    background-repeat: no-repeat;

    background-position: 95% 50%;

    }



    /*******************************************************************************



    BROWSER HACKS: the hacks below should not be changed unless
    you are an expert




    ******************************************************************************* /



    /* HACK FOR IE: to make sure the sub menus show above form
    controls, we underlay each submenu with an iframe */

    ul.MenuBarVertical iframe

    {

    position: absolute;

    z-index: 1010;

    }

    /* HACK FOR IE: to stabilize appearance of menu items; the
    slash in float is to keep IE 5.0 from parsing */

    @media screen, projection

    {

    ul.MenuBarVertical li.MenuBarItemIE

    {

    display: inline;

    f\loat: left;

    background: #FFF;

    }

    }

  • beauty blog
  • almay
  • make up techniques
  • Adobe Ant peculiarity -- ''Waiting...

    Hi,



    I'm using the Ant tasks from Adobe labs, and when I run Ant
    via Flex Builder 2, it generates our output .swf differently
    compared to running the Ant task from a shell. We noticed this
    because it is causing a user-noticeable issue on our webapp.



    I'm hoping someone might have some insight into why this
    happens, and/or ideas on how to get the Ant execution working
    consistently.



    First off, let me explain my setup. I am using a separate
    bundle of Ant 1.7 (all the members of my team are using the same
    Ant version from a well-defined location). I copied flexTasks.jar
    and flexTasks.tasks to the ant\lib directory. I have Flex Builder
    use this bundle of Ant (Run menu -%26gt; External Tools -%26gt;
    External Tools, choose the Ant configuration, go to Classpath tab,
    set Ant home).



    Here is my ''flexc'' target:




    %26lt;!--=========================================================================== ======

    Compile Flex sources into tds_flex.swf, and generates the
    html wrappers too

    --%26gt;

    %26lt;target name=''flexc'' description=''Builds the flex
    front-end''%26gt;

    %26lt;taskdef resource=''flexTasks.tasks''
    classpath=''flexTasks.jar''/%26gt;

    %26lt;mxmlc file=''${dir.war}\tds_flex.mxml''/%26gt;

    %26lt;html-wrapper title=''product name here''
    application=''tds_flex'' swf=''tds_flex''

    version-major=''9'' version-minor=''0'' version-revision=''0''

    history=''true'' template=''express-installation''/%26gt;

    %26lt;/target%26gt;



    When we execute this target within Flex Builder, the
    resulting application works. When we execute the target from a
    shell, the resulting application does not ''work''. (The definition
    of ''work'' in this context is that a user can get to our webapp and
    have it load completely. When it doesn't work, the browser shows a
    message ''Waiting for history.htm'' in the status bar.) The cause of
    this issue has been traced to the generated history.swf file; if we
    save a copy of this file from a good build, and copy it over the
    resulting history.swf from a bad build, then the webapp works.



    I've also found that executing my Ant flexc target within
    Eclipse will also generate a working webapp (which isn't too
    surprising considering Flex Builder is based on Eclipse), and
    executing the target from within IntelliJ will not make a good
    build.



    The only thing I could think of is that Eclipse/Flex Builder
    is invoking Ant differently. Does anyone have any insight into
    finding out how it is doing this?



    Thanks,

    KaJunAdobe Ant peculiarity -- ''Waiting...
    I have no guesses as to what might be causing the difference,
    but when I'm debugging ant issues, I often use the -verbose flag.
    One option for dealing with the difference is to rebuild the Flex
    Ant tasks using the history.swf that works for you. The Flex Ant
    tasks include all the source, templates, and a build.xml for
    rebuilding.



    Another option is to get the Ant tasks that now ship with the
    Flex 3 SDK and try them out. The new templates no longer use
    history.swf. You can get the Flex 3 SDK beta here:




    http://labs.adobe.com/technologies/flex/sdk/

    Dynamic Playlist

    Guys,



    I have been working on a project that's posted by Lisa Larson
    and was created by Chris Hock...the Dynamic playlist project...I
    can't seem to get the ''stream'' portion of the project to work and
    have been looking for a hand or some support on what in the world I
    am missing...I have everything else in the project working
    great(used the provided example as a template) and it just doesn't
    stream the video...my FMS shows the streams there available but no
    avail..



    any help is most appreciated..