Tuesday, March 30, 2010

Finding Keyboard.ENTER in text field

Hi guys,

I'm having troubles with textfields. I have numerous textfields on the stage but it's happening to all so I'll just describe one.

Lets say I have an input textField named that I restrict to allow only numbers 0-9:

inputText_txt.restrict=''0-9'';

That all works fine.

THE PROBLEM:

When I select the field (which initial value is set to ''0'') and hit delete it clears the field and if I press ENTER it will accept that as a value.

I've tried this code to say if it equals '' '' then to not save the file....


if(inputText_txt.text=='' ''){

trace(''.''+inputText+''.'');

}


Also tried:

if(inputText_txt.text==Keyboard.ENTER){

trace('' Trying Keyboard.Enter: .''+inputText+''.'');

}

trace(''.''+inputText+''.'');

It only traces the last trace, shown below: How can I get it to not allow the extra spacing?

.

.

it should trace:

..

any ideas?

thanks

Finding Keyboard.ENTER in text field

Make your TextField single line, so it doesn't accept carriage returns:

inputText_txt.multiline=false;

Finding Keyboard.ENTER in text field

Genius, I tell you... simply genius.... thank you I can't believe it was so stinkin' simple?

You're welcome!

Footnotes!

Hi,

Can anyone tell me how i get my footnotes to match the thumbnail #'s on the left hand grid screen? i was able to number the thumbnails on the document view in the roman numberal style, the way i wish to print it, but i can't seem to get them on the actual document. Any suggestions?

Footnotes!

I was wondering the same thing! I wonder if anyone knows the answer to this.

Footnotes!

Do you mean you want to add page numebrs in Roman numerals? There doesn't seem to be an option like that in Acrobat.

However, it should be possible to do using a custom-made script.

Unable to use CS2 after loading to...

Hi

I hope someone can advise,

I originally had CS and upgraded to CS2 which I have used happily for the past 3 years.?My computer went down recently and I have a ne replacement laptop w, ith Vista installed.

I loaded CS2 and everything went well until I went to use it.?Firstly a registration window appeared asking me to register ( I have already registered though? Whatever I do with the registration scrren I am then directed to an activation window where I am advised that I do not have user rights, I then click OK (the only option) and CS2 closes down.

I have tried reloading the software etc and have loaded my original CS.

I spent about 3 hours on the phone this week with Adobe's customer support who were sympathetic and helpful but culd not resolve ( my case number is 120 248216)

Unable to use CS2 after loading to...

Right click on the PS Icon and run it as administrator.

Also CS2 is flaky on Vista as written in past posts.

Unable to use CS2 after loading to...

Hi

Thanks very much for your advice-it worked straiht away. I cannot believe that (although I do) that no-one I spoke to that is 4 people in all and one of them in the tchnical dept it was that simple.

Thanks also for the advice about vista-I'll see how things go and possibly look at CS4 sometime

regards

John

Message du 07/08/09 19:05

De : ''dec9''

A : ''john emmett''

Copie 鑴?:

Objet : Photoshop Windows Unable to use CS2 after loading to replacement laptop

Right click on the PS Icon and run it as administrator.

Also CS2 is flaky on Vista as written in past posts.

%26gt;

Glad it worked.

QUOTE: ''

Hi

Thanks very much for your advice-it worked straiht away. I cannot believe that (although I do) that no-one I spoke to that is 4 people in all and one of them in the tchnical dept it was that simple.

Thanks also for the advice about vista-I'll see how things go and possibly look at CS4 sometime

regards

John''

LOL?support is in INDIA... what did you expect?

Trying to create PDF from Scan

I just loaded Adobe Acrobat Pro 9 on my new iMac.?Everytime I try to create PDF from scanner it says the program had to close.?What is going on here????Please help me!!!

T

Trying to create PDF from Scan

What scanner are you using and does it have a TWAIN scanner driver?

Trying to create PDF from Scan

YES

It is a brother MFC-9840CDW.?And it is a TWAIN drive.

Did you Repair Permissions after installing the Acrobat software? It sounds like there are problems with writing the file to where you want it. It may be that you will have to scan the pages with another software and then change them to a PDF.

I am still having the same problem with scanning.?What does a TWAIN printer mean???

http://en.wikipedia.org/wiki/TWAIN

Hope it Not too technical.

You might find this useful as well although it say primarily for Linux, it also useful on Macintosh as well. In fact this will get a Scanner going on Mac, When Acrobat won't accept the Twain Drive for Mac.

http://en.wikipedia.org/wiki/Scanner_Access_Now_Easy

Ther are many people that can nevr get a Scanner going in Acrobat unless there is a special Photoshop Plugin avaible for it.?I have a UMAX scanner and even when I had it connected by SCSI (Smal Computing Systems Interface) Acrobat would never accept it. I always had to go to sane project and get the SANE/TWAIN driver package for MacOS X.4 or 3 or 2. To make it work.

I downloaded and installed SANE.?Now acrobat says that it is checking device status and never does anything else.?It just keeps checking.?Any suggestions.?At least it is not closing the program every time I try to scan.

Did you install all the required components:

Front end

Backend

GETTEXT

and so on there are two others.

If so restart computer.

then go to control System preference?and look for sane control panel and open up. look for list of scanners ans uncheck all but for your brand of scanner.

Close.

Then cycle off and on the Scanner either unplug power or unplug and plug the USB cable.

Now go to Acrobat and choose Document %26gt; Scan to Pdf and the select SANE.

Now when set up, you can set some of the other setup adjustments. when you get adjustments set push the scan button in lower left corner.

Grid problem on CS3 SEE the picture!

Good day illustrator user,

I have a problem with my grid on some doc that i am working with. Look at the picture and if anyone know what to do.

There is a probleme with my mesure look at the orange area

It supposed to be 2.375 in not -109.5903 and i cant make any correction!

How can i solved this problem?

Grid problem on CS3 SEE the picture!

Very strange. Try selecting another unit of measurement from the ruler. Right click or control click on the ruler where you would normally get new guide lines. Then do it again. Setting the ruler to another measurement and back again sometimes fixes ruler strangeness. If that doesn't work you might have to trash your preferences.

Grid problem on CS3 SEE the picture!

I would say try saving the file doing a save as instead of a save and close and reopen it.

I that and or the other suggestion does not work try to place?the file in a new empty document or copy and paste into a new empty document.

It sure looks like a corrupt file.

I don't have as new a version of Illustrator as you are working with, but at first glance I think I see where you are having a problem.


The ''X:*******'' field that you have highlighted in the Options Bar refers to the location of the Origin point ( of your orange rectangle. The Origin point is determined by the choice you have made in the little 3 X 3 matrix just to the left of ''X:*******''. The Origin point, as indicated by the values in the ''X'' %26amp; ''Y'' fields, is well off the active artboard area.


In other words...


The ''X: -109.5903'' 閳ユ攣long with the ''Y: -0.75''閳?does not indicate the SIZE of the rectangle, it indicates where the upper-left corner (which is shown in the matrix) is located. If you manually change the ''X:********'' %26amp; ''Y:********'' values so that the upper-left corner of your orange rectangle is located on the actual artboard, then you'll see that the size (indicated in the ''W[idth]:______'' %26amp; ''H[eight]:_______'' fields may not be what you expect them to be.


At least, I'm pretty sure that's where the problem is.


Hope that helps get you back on track.

I agree with Phos+four. The origin is set to be the fold line, hence all measurements will be negative in relation to it. Why you are getting wrong units, is another matter, but may simply depend on your content extending outside the view area and AI presenting screen coordinates ratehr then the physical units of the doc...

Mylenium

  • this works
  • ? about Flip Horizontal w/ paths

    I'm a bit of a newbie and had a question. I'm learning how to use the drawing tools in Photoshop. I've drawn a simple path, and select it with the Path Selection tool. The problem is when I go to Edit %26gt; Transform Path, the Flip Horizontal, Flip Vertical, and Rotate 90/180 options are disabled. I can use the other transform options as well as Free Transform Path without problem. Why am I not able to use features like Flip Horizontal?

    Many thanks for any help.

    ? about Flip Horizontal w/ paths

    You need to save the path in the Paths palette.

    ? about Flip Horizontal w/ paths

    go to Edit-%26gt;Free Transform Path and then choose the Flip Horizontal/Vertical commands (you can also access them by right-clicking in the image)

    Contact page won't work

    I am new to web design and took over a friends website.?Last night I re-uploaded her contact page with no changes and now when you click the submit button it says no file exists at this address. It says it can't find this file _vti_bin/shtml.dll/contact.htm and neither can I anywhere in her sitemap I downloaded. Any suggestions??

    Contact page won't work

    A link to the website so we could see the source code would be helpful.

    Contact page won't work

    Here is the link to the webpage so you can see the source code. Thanks for the suggestion!

    http://www.ancientwisdomteachings.com/contact.htm

    I am not sure what you want the form to do?

    Are you still getting the information when they click send and you just want the page to take them to the confirmation page after its submitted?

    or

    Are you just not getting the information they type in at all?

    When you type in your e-mail address and click ''send'' it says ''page not found.''?Nothing is going to her e-mail address.?What I think may be the problem is that the site was created in frontpage.?I cannot find the file that it says is missing anywhere.?I have tried to delete the form and create a new contact form but that is not working either.

    FrontPage creates a lot of files hidden away in directories that start with ''_''. These are usually invisible, so it is likely that DreamWeaver would not have seen them to copy them. Unless FrontPage has changed a lot in the last few years, editing files and up/down loading files using anything other than FP -screws up FP so that it no longer functions.

    At this point, you are probably better off just re-creating the form and using either a cgi script or php to email the form results.

    Barry

    At Barry mentioned, FrontPage uses a proprietary file transfer mechanism and using FTP will corrupt the file structure and server extensions. This will cause things like forms and other FP extension driven code to fail. If you want to fix this you will first need to contact the host and ask them to reinstall the FrontPage extensions. Some hosts will actually charge you for this service as they usually have warnings in their contracts against using FTP on FP sites. Once the extensions are repaired the site may work normally again, but there is a possibility you will have to delete the forms or other pages and recreate them.

    I also agree that now is a good time to dump the FP functionality (if you haven't already).

    Fill a Movieclip with an Image

    Here is what I am trying to do,

    Since there is no actionscript function to set the registration point of a movieclip, I created a movieclip that I want to hold my image in my Project.fla file with a centered registration point.?I then add the movieclip to the stage in my Project.as file:

    var holder:Holder = new Holder();
    addChild(holder);

    The holder is successfully on the stage, and I now load my external image file that I would like to be inside of my image placeholder:

    var imageLoader:Loader;
    imageLoader = new Loader();
    imageLoader.load(new URLRequest(''images/ball1.png''));
    addChild(imageLoader);

    What I am now trying to do is insert the imageLoader into my holder so that I can alter it as though the registration point is in the center.?I think there must be a way to make the holder a parent of the imageLoader and somehow contain the image inside of it, but I am ot exactly sure what to do.?Please help.?I am using AS 3.0.

    Ben

    Fill a Movieclip with an Image

    When you add the image child, try using:

    holder.addChild(imageLoader);

    I am not sure if you would then need to adjust the position of the image in the holder since you say its registration is centered.

    Fill a Movieclip with an Image

    Thank you

    ignore. is there a delete?

    How do i activate the dreamweaver...

    The code i'm talking about is this:

    // Example:

    // simplePreload( '01.gif', '02.gif' );

    function simplePreload();

    {

    ?var args = simplePreload.arguments;

    ?document.imageArray = new Array(args.length);

    ?for(var i=0; i%26lt;args.length; i++)

    ?{

    ?document.imageArray[i] = new Image;

    ?document.imageArray[i].src = args[i];

    ?}

    }

    Do I add this: simplePreload(); to the body onload attribute

    like so:

    %26lt;body onload=''simplePreload();''%26gt;

    Or is that incorrect?

    And then where do I add the images to be preloaded,

    in the body tag or in the javascript?

    How do i activate the dreamweaver...

    What am I doing wrong?

    Why isn't the slideshow working? The second slide displays as a question mark.

    http://www.sunarchdesign.com/projects.html

    I put a preload image script in before the slideshow script but it doesn't preload the image before it plays the slideshow.

    Using Outline

    I am new to Illustrator and have a question about using the outline feature.?Everything is good until I try to grab the anchor points.?It moves the entire letter which is not what I want.?Please advise.?Thanks.

    Using Outline

    Use the Direct Select tool (white arrow). First select nothing, then click on the letter you want to edit.

    Using Outline

    You can see which anchor points are selected and not selected.?The selected points will be filled in, while the points that are not, will be hollow.

    Thanks for your reply. Unfortunately, I'm getting the same result. When I try and drag the anchor point it is moving the entire letter. I'm obviously missing a step but don't know which one it is. Any thoughts?

    Thanks for your reply. Unfortunately, I'm getting the same result. When I try and drag the anchor point it is moving the entire letter. I'm obviously missing a step but don't know which one it is. Any thoughts?

    See post two. Using the DIrest Select tool (Open Arrow) click and hold on the anchor point you want and then drag.

    Did you ''create outlines'' from your text or are you attempting to manipulate live type (not possible.) in outline mode?

    Create Outlines.

    Thanks I got it.

    Thanks for your help. I got it.

    Issue while starting the flex...

    I have an app that has been working for over 4 months now, but it started giving me this strange error starting this morning. It doesn't even start the app. Pls let me know if you have any suggestions.

    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    ?at mx.controls::AdvancedDataGridBaseEx/http://www.adobe.com/2006/flex/mx/internal::getHeaderInfo()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\Advanc edDataGridBaseEx.as:2366]
    ?at mx.controls::AdvancedDataGrid/http://www.adobe.com/2006/flex/mx/internal::getHeaderInfo()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\Advanc edDataGrid.as:2147]
    ?at mx.controls::AdvancedDataGrid/getFieldSortInfo()[C:\work\flex\dmv_automation\pr ojects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:6840]
    ?at mx.controls.advancedDataGridClasses::AdvancedDataGridHeaderRenderer/getFieldSor tInfo()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\a dvancedDataGridClasses\AdvancedDataGridHeaderRenderer.as:757]
    ?at mx.controls.advancedDataGridClasses::AdvancedDataGridHeaderRenderer/measure()[C :\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\advancedDa taGridClasses\AdvancedDataGridHeaderRenderer.as:481]
    ?at mx.core::UIComponent/measureSizes()[C:\autobuild\3.2.0\frameworks\projects\fram ework\src\mx\core\UIComponent.as:5956]
    ?at mx.core::UIComponent/validateSize()[C:\autobuild\3.2.0\frameworks\projects\fram ework\src\mx\core\UIComponent.as:5902]
    ?at mx.managers::LayoutManager/validateClient()[C:\autobuild\3.2.0\frameworks\proje cts\framework\src\mx\managers\LayoutManager.as:837]
    ?at mx.controls::AdvancedDataGridBaseEx/calculateHeaderHeight()[C:\work\flex\dmv_au tomation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:22 49]
    ?at mx.controls::AdvancedDataGrid/calculateHeaderHeight()[C:\work\flex\dmv_automati on\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:3141]
    ?at mx.controls::AdvancedDataGridBaseEx/makeRowsAndColumns()[C:\work\flex\dmv_autom ation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:1915]
    ?at mx.controls::AdvancedDataGrid/makeRowsAndColumns()[C:\work\flex\dmv_automation\ projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:7169]
    ?at mx.controls.listClasses::AdvancedListBase/updateDisplayList()[C:\work\flex\dmv_ automation\projects\datavisualisation\src\mx\controls\listClasses\AdvancedListBa se.as:3504]
    ?at mx.controls::AdvancedDataGridBaseEx/updateDisplayList()[C:\work\flex\dmv_automa tion\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:1778]
    ?at mx.controls::AdvancedDataGrid/updateDisplayList()[C:\work\flex\dmv_automation\p rojects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:6007]
    ?at mx.controls.listClasses::AdvancedListBase/validateDisplayList()[C:\work\flex\dm v_automation\projects\datavisualisation\src\mx\controls\listClasses\AdvancedList Base.as:3072]
    ?at mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\ projects\framework\src\mx\managers\LayoutManager.as:622]
    ?at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\framework s\projects\framework\src\mx\managers\LayoutManager.as:677]
    ?at Function/http://adobe.com/AS3/2006/builtin::apply()
    ?at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\proje cts\framework\src\mx\core\UIComponent.as:8628]
    ?at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projec ts\framework\src\mx\core\UIComponent.as:8568]

    Issue while starting the flex...

    Maybe it is a timing issue you didn't see before.

    Check for areas of the app that might be dependent on other areas of the app being in a certain state, or dependent on data existing.

    Or try to boil your case donw to simplified code and post here.

  • this works
  • blank screen for long time before...

    Hi,

    I've been trying to disect the flex preloader to understand the load time. I have an application that shows a blank screen for quite some time before displaying the preloader. When the preloader does show it doesn't say 'Loading...' but skips straight to 'initializing' for a short time, then straight into the app.

    I am not sure what is going on and why it takes such a long time for the preloader to pop-up. i don't want visitors to think there is nothing there, because it says 'Done' in the bottom of the browser when it is blank; it could seem it is just a blank page to a visitor.

    can someone explain or point me in a direction where i can learn 1) when the 'preloader/loading' pops up 2) when 'initializing' pops up, and when the actual app loads. it seems it is skipping the first step, going straight to initiliazing for a short time and then loading the app.

    examples:

    www.encoemall.com

    demo.phourus.com

    better load time example:

    www.smartbizrecycling.com

    Thanks,

    Jesse

    blank screen for long time before...

    These pages may be of use:

    http://forums.adobe.com/thread/209255

    http://livedocs.adobe.com/flex/3/html/help.html?content=app_container_2.html

    If this post answered your question or helped, please mark it as such.

    blank screen for long time before...

    I guess what I need to know is this:

    What exactly is loading before the flex preloader loads? when it is a blank screen is it loading 1) the entire swf (so blank screen duration would be directly proportional to the size of the swf) 2) the preinitiliaze/initialize phase

    here is my main app file:

    %26lt;?xml version=''1.0'' encoding=''utf-8''?%26gt;

    %26lt;mx:Application

    xmlns:mx=''http://www.adobe.com/2006/mxml'' preinitialize=''loadUser()'' layout=''vertical'' xmlns:progress=''reseller.master.preloader.*'' xmlns:master=''reseller.master.*'' width=''100%'' height=''100%'' xmlns:forms=''reseller.master.forms.*''

    %26gt;

    %26lt;mx:Script%26gt;

    %26lt;![CDATA[

    //Import

    import

    mx.controls.Alert;

    import

    flash.events.*;

    import

    flash.net.*;

    import

    mx.rpc.http.*;

    import

    mx.rpc.events.ResultEvent;

    import

    mx.managers.BrowserManager;

    import

    mx.managers.IBrowserManager;

    import

    mx.utils.URLUtil;

    //Objects

    public var variables:Object= new

    Object();

    private var

    browser:IBrowserManager;

    //Globals

    [

    Bindable] public var

    global_ID:int;

    [

    Bindable] public var

    global_Email:String;

    [

    Bindable] public var

    global_Recipient:String;

    [

    Bindable] public var

    global_Company:String;

    [

    Bindable] public var

    global_Site:String;

    [

    Bindable] public var

    global_Style:String;

    [

    Bindable] public var

    global_Header:String;

    [

    Bindable] public var

    global_Directory:String;

    [

    Bindable] public var global_Type:String= 'fdi_site'

    ;

    [

    Bindable] public var global_Multi:Boolean= true

    ;

    [

    Bindable] public var

    title_Home:String;

    [

    Bindable] public var

    title_About:String;

    [

    Bindable] public var

    title_Blog:String;

    [

    Bindable] public var

    title_Contact:String;

    [

    Bindable] public var

    title_FDI:String;

    [

    Bindable] public var

    title_Multimedia:String;

    [

    Bindable] public var

    title_Store:String;

    [

    Bindable] public var

    disable_Header:String;

    [

    Bindable] public var

    disable_Menu:String;

    [

    Bindable] public var

    disable_Content:String;

    [

    Bindable] public var

    url_Header:String;

    [

    Bindable] public var

    url_Menu:String;

    [

    Bindable] public var

    url_Content:String;

    [

    Bindable] public var

    user_Username:String;

    [

    Bindable] public var

    background_Color:uint;

    [

    Bindable] public var

    primary_Color:uint;

    [

    Bindable] public var

    secondary_Color:uint;

    [

    Bindable] public var

    border_Color:uint;

    [

    Bindable] public var

    primary_Text:uint;

    [

    Bindable] public var

    secondary_Text:uint;

    [

    Bindable] public var user_Admin:Boolean= false

    ;

    //Parameters

    private var

    _user:String;

    private function loadUser():void

    {

    browser= BrowserManager.getInstance();

    browser.init(

    '''', ''Welcome!''

    );

    parseURL();

    }

    private function parseURL():void

    {

    var fragment:Object = URLUtil.stringToObject(browser.fragment, ''%26amp;''

    );

    _user = fragment.user;

    if(global_Multi== false

    ){

    global_Directory=

    ''

    ;

    }

    else

    {

    global_Directory=

    'user/'+_user+'/'

    ;

    }

    initPage();

    }

    public function initPage():void

    {

    var settingsRequest:HTTPService = new

    HTTPService();

    settingsRequest.url= global_Directory+

    ''XML/settings.xml''

    ;

    settingsRequest.resultFormat=

    ''e4x''

    ;

    settingsRequest.send(variables);

    settingsRequest.addEventListener(ResultEvent.RESULT, settingsLoaded);

    var contactRequest:HTTPService = new

    HTTPService();

    contactRequest.url= global_Directory+

    ''XML/contact.xml''

    ;

    contactRequest.resultFormat=

    ''e4x''

    ;

    contactRequest.send(variables);

    contactRequest.addEventListener(ResultEvent.RESULT, contactLoaded);

    }

    public function settingsLoaded(event:ResultEvent):void

    {

    var settingsXML:XML= event.result as

    XML;

    global_Company= settingsXML.company;

    global_Site= settingsXML.site;

    global_Header= settingsXML.header;

    //global_Style= ''CSS/''+settingsXML.style+''.swf'';

    title_Home= settingsXML.homeTitle;

    title_About= settingsXML.aboutTitle;

    title_Blog= settingsXML.blogTitle;

    title_Contact= settingsXML.contactTitle;

    title_FDI= settingsXML.fdiTitle;

    title_Multimedia= settingsXML.multimediaTitle;

    title_Store= settingsXML.storeTitle;

    disable_Header= settingsXML.headerDisable;

    disable_Menu= settingsXML.menuDisable;

    disable_Content= settingsXML.contentDisable;

    url_Header= settingsXML.headerURL;

    url_Menu= settingsXML.menuURL;

    url_Content= settingsXML.contentURL;

    background_Color= settingsXML.background_Color;

    primary_Color= settingsXML.primary_Color;

    secondary_Color= settingsXML.secondary_Color;

    border_Color= settingsXML.border_Color;

    primary_Text= settingsXML.primary_Text;

    secondary_Text= settingsXML.secondary_Text;

    loadComplete();

    }

    public function contactLoaded(event:ResultEvent):void

    {

    var contactXML:XML= event.result as

    XML;

    global_Recipient= contactXML.recipient;

    }

    private function loadStyle(style:String):void

    {

    StyleManager.loadStyleDeclarations(style);

    }

    private function loadComplete():void

    {

    if(disable_Header== ''true''

    ){

    header.visible=

    false

    ;

    }

    text_header.htmlText= global_Header;

    var application:CSSStyleDeclaration= StyleManager.getStyleDeclaration('Application'

    );

    application.setStyle(

    'backgroundColor'

    , background_Color);

    application.setStyle(

    'themeColor'

    , primary_Color);

    var linkButton:CSSStyleDeclaration= StyleManager.getStyleDeclaration('LinkButton'

    );

    linkButton.setStyle(

    'color'

    , primary_Text);

    linkButton.setStyle(

    'textRollOverColor'

    , secondary_Text);

    linkButton.setStyle(

    'rollOverColor'

    , primary_Text);

    //loadStyle(global_Style);

    current_master.selectedChild= master_main;

    }

    ]]%26gt;

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

    %26lt;mx:Style%26gt;

    Application

    {

    backgroundGradientColors: #666666, #333333

    ;

    backgroundGradientAlphas: 0.04, 0.21

    ;

    color: #222222

    ;

    }

    .box

    {

    borderStyle: solid

    ;

    cornerRadius: 5

    ;

    backgroundColor: #eeeeee

    ;

    backgroundAlpha: 1

    ;

    padding-top: 10px

    ;

    padding-right: 10px

    ;

    padding-left: 10px

    ;

    padding-bottom: 10px

    ;

    }

    LinkButton

    {

    font-size: 11px

    ;

    }

    RichTextEditor

    {

    borderColor: #fefefe

    ;

    borderAlpha: 1

    ;

    highlightAlphas: 0.32, 0.1

    ;

    headerColors: #dddddd, #cccccc

    ;

    titleStyleName: ''mypanelTitle''

    ;

    }

    Alert

    {

    borderColor: #fefefe

    ;

    borderAlpha: 1

    ;

    backgroundColor: #ffffff

    ;

    color: #000000

    ;

    highlightAlphas: 0.32, 0.1

    ;

    headerColors: #dddddd, #cccccc

    ;

    titleStyleName: ''mypanelTitle''

    ;

    }

    .mypanelTitle

    {

    font-weight:bold

    ;

    }

    ApplicationControlBar

    {

    highlightAlphas: 0.2, 0.16

    ;

    fillAlphas: 0, 0

    ;

    dropShadowEnabled: true

    ;

    }

    TextInput

    {

    color: #000000

    ;

    borderColor: #000000

    ;

    backgroundColor: #ffffff

    ;

    }

    Button

    {

    fillAlphas: 1, 1

    ;

    color: #000000

    ;

    textRollOverColor: #333333

    ;

    }

    .copyright

    {

    color: #000000

    ;

    }

    ComboBox

    {

    color: #000000

    ;

    borderColor: #ffffff

    ;

    iconColor: #000000

    ;

    highlightAlphas: 0.16, 0.28

    ;

    fillAlphas: 1, 1, 0, 0

    ;

    fillColors: #ffffff, #cccccc, #ffffff, #eeeeee

    ;

    arrowButtonWidth: 22

    ;

    backgroundAlpha: 1

    ;

    selectionColor: #ffffff

    ;

    textSelectedColor: #333333

    ;

    useRollOver: true

    ;

    themeColor: #000000

    ;

    alternatingItemColors: #ffffff, #cccccc

    ;

    dropdownStyleName: ''myComboBoxDropDowns''

    ;

    }

    .myComboBoxDropDowns

    {

    borderThickness: 0

    ;

    borderColor: #ffffff

    ;

    }

    DataGrid

    {

    color: #000000

    ;

    }

    .play

    {

    skin: Embed(source=''Icons/Play_Normal.png''

    );

    over-skin: Embed(source=''Icons/Play_Over.png''

    );

    }

    .pause

    {

    skin: Embed(source=''Icons/Pause_Normal.png''

    );

    over-skin: Embed(source=''Icons/Pause_Over.png''

    );

    }

    .stop

    {

    skin: Embed(source=''Icons/Stop_Normal.png''

    );

    over-skin: Embed(source=''Icons/Stop_Over.png''

    );

    }

    .previous

    {

    skin: Embed(source=''Icons/Previous_Normal.png''

    );

    over-skin: Embed(source=''Icons/Previous_Over.png''

    );

    }

    .next

    {

    skin: Embed(source=''Icons/Next_Normal.png''

    );

    over-skin: Embed(source=''Icons/Next_Over.png''

    );

    }

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

    %26lt;mx:Canvas width=''850'' height=''150'' backgroundImage=''{url_Header}''

    %26gt;

    %26lt;progress:Progress id=''progress''

    /%26gt;

    %26lt;mx:ApplicationControlBar id=''header'' width=''850'' height=''150'' paddingBottom=''0'' x=''0'' y=''0'' backgroundColor=''{primary_Color}''

    /%26gt;

    %26lt;mx:Text id=''text_header'' fontSize=''18'' fontWeight=''bold'' textAlign=''left'' x=''25'' y=''25''

    /%26gt;

    %26lt;forms:Authorize id=''form_login'' x=''550'' y=''10''

    /%26gt;

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

    %26lt;mx:Box id=''container_main'' horizontalAlign=''center'' width=''100%'' height=''100%''

    %26gt;

    %26lt;mx:ViewStack id=''current_master''

    %26gt;

    %26lt;mx:Box id=''master_init''

    %26gt;

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

    %26lt;mx:Box id=''master_main''

    %26gt;

    %26lt;master:Main id=''Main_Section''

    /%26gt;

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

    %26lt;mx:Box id=''master_editor''

    %26gt;

    %26lt;master:Editor

    /%26gt;

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

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

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

    %26lt;mx:Label styleName=''copyright'' text=''Copyright 2009 {global_Company}. All rights reserved.''

    /%26gt;

    %26lt;mx:Text styleName=''copyright''

    %26gt;

    %26lt;mx:htmlText%26gt;

    %26lt;![CDATA[

    %26lt;p align=''center''%26gt;%26lt;i%26gt;Site Designed by %26lt;a href=''http://www.quick-sites.biz'' target=''_blank''%26gt;Jesse Drelick%26lt;/a%26gt;.%26lt;/i%26gt;%26lt;/p%26gt;

    ]]%26gt;

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

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

    Do you think it has something to do with the Browser Manager or the preinitialize?

    Flex SWFs are two-frame SWFs The preloader is the first frame, the app is the second frame. As soon as the bytes of the first frame are downloaded, the preloader shows up and the rest of the SWF downloads then the app is initialized.

    If you are using ''#'' in the URL, you might be hitting this bug: https://bugs.adobe.com/jira/browse/FP-2332

    Otherwise, if you're using a custom preloader, make sure it doesn't drag lots of code into the first frame.

    Also try your app using a non-debugger player.

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc.

    Blog: http://blogs.adobe.com/aharui

    so the preloader should be loaded before the rest of the .swf? this would mean it should be a relatively standard load time when using the standard preloader, considering the preloader loads first, then the 2nd frame is loaded. it seems like the first frame is taking much longer to load

    if using the standard flex preloader, should the blank screen be the same duration regardless of .swf size? so if i have a 10 mb swf it will take the same time until the preloader shows up from the blank screen, but will take much longer to get to the app when the preloader is showing?

    i tried the # issue, not sure if it made a difference, though i wouldn't be surprised if the Browser Manager has something to do with it.

    thanks for your help

    it seems .swf size has no effect on the blank screen duration, as you have mentioned. i have embedded a large file making the file size 3.5mb instaed of 350kb, and the blank screen duration was the same, though the 'loading' phase of the preloader was much longer, as expected. so apparently the file size is not the culprit (considering i have a small file size anyway it really wouldn't make sense for that duration)

    i am now curious if the browser manager is part of the problem as you have mentioned about the #, otherwise i can't think of anything else

    If your URL you used to start the app doesn't have a # in it, then that problem is not affecting you, even if you use BrowserManager in your app and later URLs have #

    Can you post your SWF? It doesn閳ユ獩 have to run. I'll just download it and see how big frame1 is.

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc.

    Blog: http://blogs.adobe.com/aharui

    i have attached the .swf (note i use a rsl for the flex framework) anyway i have it setup so if a user goes to http://professional.phourus.com/user/phourus, a php script uses header('Location: http://professional.phourus.com/index.html#user=phourus') to load the user's page, as sort of an alias.

    You can try both of those urls...

    thank you for your help

    This url: http://professional.phourus.com/index.html#user=phourus has the '#' in it, so you are definitely going to experience the dead-air problem I mentioned earlier. It did load quickly for me though.

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc.

    Blog: http://blogs.adobe.com/aharui

    Font size problem in CS2 for Windows

    I've run into a problem that I had about a year ago but can't remember how to fix it. When I highlight some text and look in the Character palette, the size shows as 9 pt (8.33 pt). When I try to change it to 10 pt, the number in the parentheses changes and is the actual size (not 10 pt). I know this can be fixed so that there are no parentheses and the size that shows is the actual size, but I can't remember how to do it.

    Any suggestions?

    Thanks,

    Lloyd

    Font size problem in CS2 for Windows

    Never mind: scale text attributes...

    My problems with CS4

    My problems have been ongoing for well over a month now.?I placed my order on June 28th for a class which I had plenty of time since this was a direct download order and a past order for dreamweaver had only taken 2 days.?Five days later and online download still wasn't ready, so I called customer support.?They tell me that their fax machine to receive student varification has been down for a week.?I felt like I was just getting the run around come on a company like Adobe allowing a fax machine to be down for that long??They suggested I scan my info and send it that way.?So I scrambled to find someplace that was open on a Holiday Weekend (Friday eve July 3)?I managed to.?I was told that if I scanned and sent my info that they could have my software download available in 1 hour, ya right.

    An hour after I scanned and sent my info, I call Adobe support back since I still didn't have my download.?I was then told that whover told me one hour was wrong and that I would have to wait that they couldn't do that without supervisor approval.?I then told the person that I needed the software that I paid $600 for a class and I needed it ASAP.?The support person then hung up on me.?I then called back and got another support person on the line.?I explained to her the situation and she talked to her suppervisor and everything was straightened out as far as receiving the software to download.?Five hours of being on the phone, I finally received my download.

    I thought my problems were over until I did the installation.?I downloaded and installed the CS4 Production Premium and I have Windows XP service pack 3 and I have a 64 X2 Dual core processor and plent of memory. This is my list of problems:

    Flash- opens with a trial version screen even though I purchased a full version.?When I go to put my serial # in it says the serial # isn't valid but yet I was given a number and first put it in for my instal.

    Illustrator- I get a error message box that reads:?The localized resource files for this application could not be loaded please reinstall.

    On Location:?I get a box that pops up and says Adobe On Location has encountered a problem and needs to close.

    Photoshop- I get a error message box that reads:?some of the application components are missing from the application directory, please reinstall the application.

    I have uninstalled and reinstalled 4 times now, the only good thing that happens when I uninstall and reinstall is that the Flash Trial Screen gives me a new 30 days but I am afraid I am going to have a new set of problems once the days get down to 0 by reading some of the forums.?I am an IT student and I have looked through all of the files that have downloaded to try to come up with my own solution.?I have noticed in my research that the downloaded components that are working have a setup.exe file as well as a setup file.?The ones that I have mentioned above that are not working only have a setup.exe file.?I was wondering could some of the files be missing from my download??Does anyone have any suggestions that might help me fix my many problems??Thank you for your time.

    My problems with CS4

    Are you saying you're using XP64? Did you completely remove the trials before installing?

    Bob

    My problems with CS4

    No, My system says that I have Windows XP Media Center Edition 2005 with service pack 3.?I have an hp with a 64 X2 dual core processor 3800+ 1.8 GHz, 2.93 GB RAM and I have plenty of room available.?Sorry for the confusion.?I almost forgot to say that I never had any CS4 trials of Production Premium I should say.?I ordered a full version right off the bat, so that is why I don't understand why I am getting a trial version screen.?Now I did have a trial version of Dreamweaver CS4 which I had uninstalled and upgraded that with no problem a few months ago but the Dreamweaver isn't even a part of this suite so I wouldn't think it would effect it.

    Any trial version can cause problems. Try running the CS4 Cleanscript. Be sure to deactivate Dreamweaver first.

    http://www.adobe.com/support/contact/cs4clean.html

    I am going to try this today.?I will let you know the outcome.?Thank you for your help.

    Well I tried this over the weekend and this didn't work.?I printed the read me instructions for the clean script and followed everything to a T.?I still have the same problems.?I have a feeling with all the problems that many people are having this that I am just going to give my computer to my husband's IT guy at work and let him take care of it for me.?And I may add that my husband's company that he works for just purchased a few hundred copies of the same software only they ordered the discs to be shipped to them.?My husband's IT guy said my computer can be his experiment for the headache's he has a feeling he will soon be working with.

    Photos and Text Side by Side

    I'm trying to create a page with a photo, tex and another photo, in line and with the text centered vertically in the space between the two photos. No problem creating left floated div's and a span div for the text but the text appears stuck at the bottom of the text div. How can I get it to center vertically between the two photos?

    Thanks - Joe

    Photos and Text Side by Side

    With CSS like so:

    .middle img {vertical-align:middle; }

    and X/HTML code looks like this:

    %26lt;div class=''middle''%26gt;
    %26lt;p%26gt;%26lt;img src=''your_image.jpg /%26gt; some text goes here %26lt;img src=''another_image.jpg'' /%26gt;%26lt;/p%26gt;
    %26lt;/div%26gt;?%26lt;!--end middle --%26gt;

    Nancy O.
    Alt-Web Design %26amp; Publishing
    Web | Graphics | Print | Media?Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.com/blogspot.com

    Photos and Text Side by Side

    Thanks very much - Joe Rivlin

    Preloading in a projector?

    I have a project that needs to be a projector and when we play it back it is choppy in parts near the end. Can I preload this prior to play back? I have it set up now with 2 scenes, a preloader and a main.

    This is the code in the loaderMC in frame 1 of the preloader scene:

    stop()

    onEnterFrame = function() {

    framesLoaded = (Math.ceil((_parent.getBytesLoaded()/_parent.getBytesTotal())* 100));

    gotoAndStop(framesLoaded);

    info_txt.text = framesLoaded + ''%'';

    if (framesLoaded%26gt;=99){

    _parent.play();

    }

    }

    with a stop command on frame 1 on the preloader scene.

    main scene has all the content, sound, images, MC's...

    when I test it it looks like the loader runs it's 100 frame course, but doesn't?preload anything, then moves to the main scene, and is still slow towards the end.

    help please.

    thanks

    Preloading in a projector?

    a preloader won't help unless you're loading something via an internet connection (which is unlikely in a projector project).?you most likely have a performance problem because of the number of display objects being tracked by flash.

    Preloading in a projector?

    is there a way to trouble shoot that or compress the final swf? I have utilized the compression in flash for my images (to 50%, and with smoothing) is there any thing else I can immediately do?

    thanks for the help.

    there's often a lot that can be done to improve performance but you'd need help from someone experienced in this.?the single most effective thing that can often be done is to enable the cacheAsBitmap property of those movieclips for which that would be appropriate.?ie, those that have unchanging bitmap.

    Quiz issue - CP4, widgets

    • Using the %26lt;%26lt; %26gt;%26gt; nagivation widget in the project.
    • Am hiding / showing as needed - and that's working fine.?
    • Have 3 simple, T/F questions - not graded.
    • On the question slide, I have deleted all buttons except ''Submit'' and have ''hidden'' the widget (it Shows on the Answer slide).

    In navigting the published course, clicking the Submit button has a very slow reaction. It takes about 3 seconds to move forward (like it's thinking about it!)

    In the forum, I searched on this type of problem and one discussion talked about going to the Publishing Preferences and ''externalizing'' the widgets.?I use Captivate a lot - but I have no idea what that means.?I did perform this step and it did not speed up the response to clicking the button.

    Can anyone enlighten me??Why might I be having this issue and what does ''externalizing'' really do???

    Quiz issue - CP4, widgets

    Externalizing widgets means exactly what it says. If you publish a Captivate project normally then it will embed all your animations and widgets into your Captivate SWF output file. This leaves you with just one single SWF file.

    If you externalize widgets or animations then Captivate will not embed these into the output SWF but instead keep these as separate files and publish them as separate files. Sometimes this can fix issues with animations or widgets not running properly, but I fail to see why it should have any effect on the time of your submit button.

    /Michael


    Click here to visit the www.captivate4.com blog

    Quiz issue - CP4, widgets

    Thanks for your explanation, Michael - you're right - externalizing them did nothing, so I set it back.?Still having that timing issues, however.

    Doris

    Doris,

    Can you post a screenshot (or cutout) of your timeline in Captivate for one of the problem slides? Use the camera icon to insert the picture directly in the post here so we avoid the queue.

    /Michael


    Click here to visit the www.captivate4.com blog

    Hi Michael:

    Here's a Snagit.

    One of the gals here said she reduced the slide time to as small as she could and it worked for her.?I haven't gotten to try that yet.

    Hi again Michael:

    I did test my friend's suggestion and it seems to be working.?So maybe mystery is solved, but would still like to hear any input you have on the subject.

    Hi Doris,

    That was indeed the issue - your friend was correct ;o)

    That was why I asked you to post a screenshot of your timeline. If you look at your timeline you can see that you have a pause at around 1 / 1.5 second. After then pause you have an additional 1.5 seconds before the slide ends. The Submit button works by using the ''Continue'' function - bascially that means that when you click the button the playhead will move ahead on the timeline until it reaches the end. That is why you experienced the ''lag'' when you click the button.

    /Michael


    Click here to visit the www.captivate4.com blog

  • this works
  • Who has a find Open Path plug-in for...

    Can anyone lead me to a plug-ins for finding open paths and closing them in CS4 on WinXP?

    Thanks

    Can anyone help, when I test my movie...

    When I test the movie or upload it to the server i comes out about 60% of the full size. I do not have it scaled with the window size and I have tried everything I can think of to get it to 100%. Why should it come out smaller? I am using an iMac and CS4 professional.

    Can anyone help, when I test my movie...

    what file are you loading into your browser (html or swf or something else) and, if it's an html file, are you using the unmodified html file created by flash?

    Can anyone help, when I test my movie...

    thank you for asking for more info.

    The file I am loading is the SWF file plus the index.HTML file, but the problem still happens when I test the movie before uploading it.

    I have not modified the HTML file.

    shall I send you the file?

    what's your website's url?

    www.robinsonengineers.co.uk

    your publish settings are 100%x100%. if you have a small browser window that may be 60% of your original size.

    if you dont like that either increase your browser window (and get a larger monitor if your window is maxed) or don't publish for 100%x100%.

    I have a 17'' screen and the movie should fit in without being scaled. Is it normal when you test

    a movie for it to be shown at a smaller scale?

    it's normal if you publish for a percent of the browser and the browser window dimensions times the percent/100 is smaller than your stage dimensions.

    why don't you change your publish settings and end your problem?

    CS2 to CS4

    Can I upgrade my CS2 direcly to CS4 by downloadin the upgrade through the internet or by buying the upgrade CD package?

    CS2 to CS4

    Make sure you buy the correct upgrade. There's a CS3 to CS4 and a CS/CS2 to CS4.

    Bob

    XML import/export in inDesign

    Hello,

    I am new to inDesign so please bear with me if I am asking something basic. I have been searching for an answer on Google, but could not find it. Here's what I am trying to do:

    We have a lot of existing inDesign files in our company. Our intent is to manage the individual components of these files in a third-party content management system. The CMS uses XML like most other systems.Since inDesign has a lot of built in XML features, I decided to try it out in a sample file (none of our existing inDesign files have XML tags). I created tags and manually tagged the content. After this, I was able to export the content to an XML file. Great so far.

    The question is, can I export the layout and style information also? If so, can this be extracted to a separate file, maybe another XML file? The reason I am asking is that if I store the content XML along with layout and style info in the CMS, I should be able to use these to open a new inDesign session, import the layout information and then import my XML content file and it should display with all formatting and style intact. Is this possible?

    thanks for your time and help.

    XML import/export in inDesign

    If you are using InDesign CS4, you can export/import the IDML (InDesign Markup Language) format which is an XML representation of the entire document - both layout and content. It's actually a zip-compressed file which, when decompressed, results in a standard folder/file structure with more or less human-readable XML.

    Previous versions of InDesign had the INX (InDesign Interchange) format which was designed to make it possible to open InDesign content in an older version of the application. While it is an XML format, INX was not documented, nor was it supported by Adobe for purposes such as the one you are describing. With the introduction of IDML, Adobe officially supports this sort of workflow. Start by looking here:

    Adobe InDesign CS4 IDML ReadMe

    XML import/export in inDesign I should be able to use these to open a new inDesign session, import
    the layout information and then import my XML content file and it
    should display with all formatting and style intact Tags and Styles will not co-exist in an XML file,

    Peter, thanks for the info, I am not to familar with IDML but will certainly look into it.

    Thanks, this is good info.

    I tried an export and was able to reimport succesfully. But, when I open the IMDL archive file, I see a lot of folders and files (Master spreads, resources, spreads etc.). It looks like I need to store this entire IMDL file in our CMS. That's ok, I can do that, but I am not sure if this works. Here's what I tried:

    - I imported the IMDL file into a new inDesign session. This showed my content correctly formatted.

    - I made a change to the exported XML file that I had created earlier from the ''export to XML'' command. Such changes will be done through the CMS system using workflows.

    - I imported this file and used ''File-%26gt;import XML'' and selected ''Merge Content''. In the next dialog, I selected ''Only import elements that match existing structure'' and ''Do not import contents of whitespace-only elements''.

    - This did not bring in my changes as I thought it would. The styles were also screwed up.

    I may be doing something wrong, though. Will try again next week.

    thanks

    I was not necessarily suggesting mixing InDesign's xml import capability with IDML.

    Rather, I think you might want to store the IDML in your CMS (probably after de-compressing it), and then manage the content in the ''story'' elements it contains (as well as references to images if necessary).

    As I said, IDML is ''more or less'' human-readable - i.e., it is readable (unlike INX) but nonetheless rather complex. But, may be worth devoting the effort to understanding it for your purposes. You are interested in managing both layout and content separately from one another, and IDML does that rather neatly...

    Thanks a lot. I will give this a try.