Automator Scaling

I set up automator to scale images in Preview to 30%. To do that I clicked Preview in Applications and dragged Scale Images from Actions into the Workflow area. Automator suggested using Copy finder Items so I clicked Add. So much so good.
When I ran Automator, however, nothing happened. How does Automator know which images I wish to scale to 30%. I have tried selecting them in the Finder, and I have tried opening them in Preview, but in neither case do the images get re-scaled.
What am I missing?
Marc

Drag the files from finder to the top of your workflow, you should then get a 'Get Specified Finder Items' action appear.
Or you could save the workflow as a finder plug-in so you can access from a right-click context menu in finder to specify the files to operate on.
This is a good resource.
Hope that helps.
iMac   Mac OS X (10.4.9)  

Similar Messages

  • External Disply flickers and went Black for a short duration after yosemite update 10.10.2

    hi,
    i got a mac book pro late 2008 and since todays update my external monitor flickers and went black for a short duration.
    It seems that it happens, when i start a new app or i move a window across the displays.
    Disabling the automated scaling of the resolution reduced the flickering but it still happens.
    Does anyone faces the same problems and have an idea how to fix it?
    I would appreciate it.
    Sincerely
    Lukas

    Hello lukasfromholzwickede, 
    Thanks for participating in the Apple Support Communities. 
    It sounds like you've noticed flickering on your external display after updating OS X Yosemite. 
    I'd recommend starting with these resets to troubleshoot the situation:
    You can reset the Mac's parameter RAM and SMC.
    You can find these steps in this article:
    Apple computers: Troubleshooting issues with video on internal or external displays - Apple Support
    If the behavior continues, try going through the steps in the "Update your software and firmware" and "No video or no signal, image distortion, 'snow,' or flickering" sections of this article, as well. 
    All the best,
    Jeremy 

  • In APE 10 I cannot ADD MEDIA to an instant movie (still pics)

    How do I change the settings to allow transfer of pic folder from Elements 10 to create an instant movie in APE 10?  I continually get an error message that states the pics are too large in dimensions (width/height)??  Any directions would be appreciated.

    Were the Still Images Scaled to match the Frame Size of the Project in PrE 10?
    If not, Scale those overly-large Still Images.
    This article covers that subject in more detail, and also gives steps on doing Automated Scaling in PSE: http://forums.adobe.com/message/3692636#3692636
    Good luck,
    Hunt

  • Hyperion on the cloud

    Question from our friend Tim 2816521
    Can I get an update on Hyperion on the cloud?  Where are we and what is the short term roadmap.  Thx, Tim
    Maybe Steve Hoodmaker-Oracle can help?

    Hi 2816521,
    Please find below details about the launch announcement for Planning and Budgeting Cloud Service (PBCS) – Hyperion Planning on the Cloud earlier this year. Also, 1115211 (Jeff Flores) may help with additional questions you may have.
    With the newly released Oracle Planning and Budgeting Cloud Service, Oracle partners can now enable their customers to harness the power of integrated financial planning and budgeting quickly and cost-effectively. Oracle partners can now enable existing and new customers’ access to world-class planning and performance management with the power of Oracle Cloud. See updated information on Partner Specialization below for Planning and Budgeting Cloud Service below.
    Organizations that align operational resources with strategic priorities through integrated planning, budgeting and forecasting can substantially improve productivity and profitability. Yet adopting these best practice planning processes has been a challenge for businesses that rely on spreadsheets or disconnected point solutions. These challenges can now be alleviated with Oracle Planning and Budgeting Cloud Service.
    Value Proposition:
    As the most robust financial planning application in the cloud, Oracle Planning and Budgeting Cloud Service opens up opportunities for organizations of all sizes to quickly adopt a world-class planning and budgeting solution with no CAPEX infrastructure investments, driving alignment beyond finance across the enterprise, with flexible deployment options and virtually no learning curve.
    Part of Oracle Cloud, Oracle Planning and Budgeting Cloud Service builds upon the robust and proven functionality of Oracle Hyperion Planning, which includes agile forecasting, predictive planning, rich scenario analysis and interactive dashboards, by incorporating cloud-specific enhancements that:
      Accelerate Deployments: Pre-built starter kits, intuitive application creation wizards, best practice design guides, interactive online help/tutorials and migration tools allow organizations to deploy robust planning applications in weeks, accelerating time-to-value.
      Enable Adoption: With role-based interfaces and powerful Microsoft Office integration, users can perform planning, reporting and analysis via the Web interface or in Microsoft Excel, leveraging existing user competencies.
      Simplify Administration and Maintenance: Built-in run time diagnostics for optimal design, automated scaling based on user demand, scheduled maintenance and managed software updates add operational efficiency and simplify application administration.
    Get Specialized Now!
    With the introduction of Oracle Planning and Budgeting Cloud Service, it is critical for Partners to get enabled quickly in order to engage new and existing customers and grow your business. Specialization for Oracle Hyperion Planning now includes Oracle Planning and Budgeting Cloud Service. Visit the Oracle Planning & Budgeting Cloud Service KZ for the latest partner program updates and enablement information to empower your organization.
    Become Specialized on Oracle Hyperion Planning (includes Planning and Budgeting Cloud Service).
    Existing Hyperion Planning Specialized Partners in good standing:
    Get trained with the Planning and Budgeting Cloud Service GLP (Guided Learning Path).
    Have a minimum of two individuals from your organization pass the Planning and Budgeting Cloud Service Specialist Assessment.
    View the updated Hyperion Planning Specialization criteria here.
    Oracle Planning and Budgeting Cloud Service partner information on OPN.
    Partner Resell Requirements for Planning and Budgeting Cloud Service are available here.
    Find out more about the OPN Specialization program and how you can grow your business!
    Supporting Resources
    World-Class Planning with Oracle Planning and Budgeting Cloud
    Oracle Planning and Budgeting Cloud Service Data Sheet (PDF)
    Oracle Planning and Budgeting Cloud Service Demos and Videos
    Oracle Planning and Budgeting Cloud Service Partner Overview Presentation
    Oracle Planning and Budgeting Cloud Service White Papers
    Oracle Partner Demonstration Environments Request – Request “Hyperion”
    Learn more - Oracle Cloud
    Connect with Oracle via Blog, Facebook and Twitter
    Regards,
    Pablo.

  • Different scaling and sensitivity units for acceleration in Measurement & Automation Explorer

    Hi,
    I am using  Measurement & Automation Explorer version 5.1.0f0.  I have previously configured my accelerometer using this module.  Under setting, I have used g as my scaled unit.  The sensitivity units is set at mVolts/g.  This is just fine.
    However when I tried to change the scaled units to m/s^2.  I DID NOT get the option to set the sensitivity units into mVolts/m/s^2. 
    Is it OK to continue using mVolts/g for sensitivity units even when I had changed the scaled units to m/s^2.  Since the two engineering units are different, will the accelerometer output correctly give out m/s^2 reading or I have to make some adjustment at the vi post acquisition like dividing with 9.8?
    Thanks
    Attachments:
    MAX.jpg ‏86 KB

    You do need a scale (oh, setting one up with slope=9.8 and offset around 0 ought to get mV/g to mV/M^2 pretty effectivly)
    Jeff

  • Database scaling scrip in Azure automation .

    Hi ,
    we have one SQL server in Azure that host some database , I wrote a script for scaling up and scaling down databases on the SQls erver ,
    $Database = "mydatabase"
    $SQLserver = "mysqlserver"
    Select-AzureSubscription -Id xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    $db = Get-AzureSqlDatabase $SQLserver -DatabaseName $Database
    $P1 = Get-AzureSqlDatabaseServiceObjective $SQLserver -ServiceObjectiveName "S1"
    Set-AzureSqlDatabase $SQLserver -Database $db -ServiceObjective $P1 -Edition Standard -Force
    now I want to use that script in Azure Automation ,
    I want to run that script to scale down the database in night hours and scale up in day hours .
    please , I need some guide or help on how can import that script to Azure automation to auto scale my database .
    Thanks alot 

    Hi Ary,
    Please also see the following workflow:
    Vertically Scale.
    For this runbook to execute successfully, the Azure DB logical server must allow incoming connections from Azure services. This configuration can be achieved in the Microsoft Azure portal by selecting the server, clicking on the "Configure" tab
    and, under allowed services, selecting 'YES' for Windows Azure Services. 
    As prerequisite, please create an Azure Automation credential asset that contains the username and password for the target Azure SQL DB logical server ($SqlServerName).
    To import the script referenced above, go to one of your Azure Automation accounts, click "New" and then "Runbook".  Next click "From Gallery", and in the "Select a runbook" select "Capacity Management"
    and then "Azure SQL Database: Vertically Scale".
    If you want to use the script you mentioned above, you can copy and paste the script wrapped in a workflow{} into a new runbook.  If you're going to use the Set-AzureSqlDatabase PowerShell cmdlets, you're also going to need to update a certificate to
    Azure Automation.  One way around this is to perform the scaling actions via tsql.
    If you have any questions, I'd be happy to help.

  • Bad scaling using measurement automation explorer

    I have tried about a million times now to properly create a scale in MAX 3.0.2
    Essentially, all I want to be able to do - fairly simple you would think - is apply a linear multiplication to an input channel of an AC signal voltage. Without any scaling, I am seeing my input signal as a +/- 8 VAC signal. After applying a linear or a mapping scale, it does scale the voltage, but it then proceeds to trim off the top of the AC signal(And I have checked to make sure my graph axes are correct)?????? If I apply a multiplication factor of 5 inside my program it works absolutely fine and simply multiplies the incoming voltage by a factor of 5... sounds like scaling to me. I would like to use scaling on other channels, but
    this experience does not give me much desire to. Can anyone explain what is going on? I have tried creating the scale in dozens of different ways always getting the same results.

    Hello,
    Are you using NI-DAQ Virtual Channels or NI-DAQmx Tasks? I don't think that your scale settings are wrong but the Input range you've selected. Go to the "Analog Input Voltage Task" Window (for DAQmx Tasks). There you've to select your custom scale and define your Input Range. Try to increase your Input Range to expected scaled value and not to the real voltage your measuring.
    Hope this helps.
    Luca
    Regards,
    Luca

  • Scaling Automation in selected regions?

    I know how to scale automation for a whole track using the command key and and the automation fader, but how do you do this for a selected region of a track? say maybe 20 bars in the middle of the song on track X? I did a search here and couldn't find anything that helped, I apologise if this is an obvious question, but I would love the answer...

    Shift-rubber band select the group of nodes you want to adjust, and drag your selection up or down.

  • How to resize and change the resolution of a batch of photos using Automator

    I searched for a long time tonight looking for the answer to this (seemingly) simple question:
    How do I use Automator to scale and change the resolution of a batch of images?
    It was not so simple.
    Links to this question:
    https://discussions.apple.com/message/12341246#12341246
    https://discussions.apple.com/message/12342026#12342026
    https://discussions.apple.com/message/5785047#5785047
    https://discussions.apple.com/message/1173358#1173358
    https://discussions.apple.com/message/5641853#5641853
    https://discussions.apple.com/message/3207516#3207516
    These are just the links on this site - I found them all over the place at MacRumors, Apple Tips, Mac Help, etc.
    You can actually manage this in Automator.
    Here are the steps that worked for me:
    Create an Automator APPLICATION - not a workflow (this is due to the way that I'm batch converting images - workflows might be ok for some cases)
    Step 1 is Copy Finder Items
    My flow inserts an SD card, opens the DCIM folder that my Nikon creates, selecting the images that I click (command + click to multi-select) and once I have the photos highlighted, I drag them onto this Automator App we're creating.
    <==  You'll have this guy soon!
    As a result - I want to copy the originals to my computer as step 1.  I don't touch the originals on the SD card (and cards are cheap so I tend to leave them on the cards as well)
    Step 2 is the Scale Images action - you can search the library for this and find it quickly.  For my part, I found that scaling images to about 38.8 percent of their size on the SD card is good for uploading to a blog.  Change this value to whatever you wish.
    Step 3 is Run Shell Script - and here is where we marry the brilliance found at this link with our script.If you have a hard time reading the text in the image, it is as follows:
    #bin/bash
    for f in "$@"
    do
         /usr/bin/sips -s dpiHeight 72.0 -s dpiWidth 72.0 $f
    done
    Save this application (I named mine "Format Photos")
    Place the application inside the target folder where you want the images to end up.  I do this because when I have the SD card window open, I can also open my "Photos" window and see my App sitting there.  I select my images as I mentioned and drag them on top of this app.  The app copies the originals and the conversions into the folder.
    NOTES: When you open a converted pic in Preview, you will see Resolution = 300 dpi if you go to Tools --> Adjust Size...  This reading is explained by another brilliant discussion as sips only touches the JFIF properties inside the file's MetaData.  However, if you look at the bottom of the Adjust Size... window, you'll see the image size is probably around 500 kb (give or take depending on the original).  My goal was to get the images down from the 3.0 MB I shoot at to around 500 kb.  Therefore even though the MetaData still thinks that it is 300 DPI according to Preview, it has been changed to 72 (open it in some other applications mentioned at the links and you'll find different readings - it all depends on what the application reads from the Meta).
    This does not rename the files, so you'll get DSC_1000.jpg and DSC_1000 copy.jpg in all likelihood.  If that annoys you, add a step into the Automator Application that renames the file after the "Run Shell Script" action has run, and you can have each file renamed according to some convention that you like.
    This took a heck of a lot longer than I expected - so I decided to put in the effort to share this with the community and save others the hassle. 

    PPI is pixels per inch of the image.  It is difficult to increase resolution as you are trying to add data that is not there.
    But for printing purposes what you want is dpi or dots per inch.
    The image processor either accessed from Bridge (tools/photoshp) or PS is a good way to change a batch of images.

  • Forms and Reports: Automated Test tools - functionality AND performance

    All,
    I'm looking to get a few leads on an automated test tools that may be used to validate Oracle forms and reports (see my software configuration below). I'm looking for tools that can automate both functional tests and performance. By this I mean;
    Functional Testing:
    * Use of shortcut keys
    * Navigation between fields
    * Screen organisation (filed locations)
    * Exercise forms validation (bad input values)
    * Provide values to forms and simulate user commit, and go and verify database state is as expected
    Performance Testing:
    * carry out tests for fixed user load
    * carry out tests for scaled step increase in user load
    * automated collection of log files and metrics during test
    So far I have:
    http://www.neotys.com/
    Thanks in advance for your response.
    Mathew Butler
    Configuration:
    Red Hat Enterprise Linux x86-64 architecture v4.5 64 bit
    Oracle Application Server 10.1.2.0.2 ( with patch 10.1.2.3 )
    Oracle Developer Suite (Oracle Forms and Reports) V10.1.2.0.2 ( with patch 10.1.2.3 )
    Oracle JInitiator 1.3.1.17 or later
    Microsoft Internet Explorer 6

    are there any tools for doing this activity like oracle recommended tools?
    Your question is unclear.  As IK mentioned, the only tool you need is a new version of Oracle Forms/Reports.  Open your v10 modules in a v11 Builder and select Save.  You now have a v11 module.  Doing a "Compile All PL/SQL" before saving is a good idea, but not required.  The Builders and utilites provided with the version 11 installation are the only supported tools for upgrading your application.  If you are trying to do the conversion of many Forms files in a scripted manner, you can use the Forms compiler in a script.  Generating new "X" files will also update the source modules (fmb, mmb, pll).  See MyOracleSupport Note 955143.1
    Also included in the installation in the Forms Migration Assistant.  Although it is more useful to people coming from older versions, it can also be used to move from v10 to 11.  It allows you to select more than one file at a time.  Documentation for this utility can be found in the Forms Upgrade Guide.
    Using the Oracle Forms Migration Assistant

  • Is there a way to include Scaling Options within an AME preset?

    I'm using AME to export stills from the first frame of a large library of videos. I've got a preset setup to export a thumbnail image so I can import the footage, apply the preset, and press render. Since the thumbnail image is 80x80 pixels, AME is scaling the video down to fit the image horizontally and creating letter boxing on the top and bottom. I've found that I can apply the preset, and then click the preset name in the queue to access additional options. Within these options is "Scaling Options" and if I change the setting from "Scale to Fit" to "Scale to Fill" I end up with my desired results.
    I realize that by doing this, the video fills the full 80x80 image, and some portions are cropped off on the left and right side. But I'm okay with the cropping, I really just need the video to fill the full 80x80 image. Here's an animated GIF demonstrating the process (sorry if it takes a bit to load, it's 2.5MB).
    What I'm looking for is a way to integrate the "Scale to Fill" option directly into the preset. So that I can create a watch folder using the preset and anytime I drop a video file into the watch folder, AME will automatically generate an 80x80px thumbnail that has the video fill the full image frame. Having to manually adjust this setting each and every time is still faster than manually creating the preview image, but prevents me from having it be automated. Anyone have any ideas?

    If you set up the preset (including the scaling) in the Export Settings dialog then save the preset you should be good to go. The scaling parameter gets saved in the preset. Is that not the behavior you are seeing?

  • Acrobat X Pro - Page Scaling Document Property

    I have an archive of 1000's of PDF files and I want to change the Page Scaling property in each of them from "Default" to "None."  I would like to automate this process, but there doesn't seem to be any way to do this with the tools provided.
    Without automation this is done by choosing File > Properties > Advanced tab > Page Scaling drop-down.  When the file is saved this set the default print-time page-scaling option to None.  My operators are having a hard time remembering to set that option when these files are printed and since this can actually be saved with each PDF file I would like to fine a way to automate setting this option for all of my PDF files.
    I am not a javascript programer, but I'm pretty clever.  Does anyone have any input to offer on this option?  Googling has led me nowhere.

    You can't set this property with JS directly. It might be possible through
    a Preflight profile, but I wasn't able to find it there, either.
    On Fri, Jun 27, 2014 at 6:49 PM, heartland printshop <

  • Scale in Measurement and Automation

    Hello,
    I have 50 load cells. When loaded, they give Voltage values. But I want the results directly in load values( i.e., in kilo Newtons). I have 50 different conversion factors (one for each load cell) written in a text file. How do I use the "Scale" option in Measurement and Automation Explorer to convert voltages to loads so I get load values directly ? Below is the step-by-step description of my problem.
    My problem:   I am getting 50 voltage values ( V1, V2, V3...........V50)
                           But I want them in terms of kilo Newtons (kN1, kN2, kN3......kN50)
                           I have 50 multipliers that can do this conversion (m1, m2, m3.....m50). They are in a text file.
                           All I need is kN1 = V1  * m1, kN2 = V2 * m2 and so on.
    How do I this scaling operation ?
    Thank you very much in advance for your kind help.

    Thanks very much for the reply.
    Attached is my code. It measures votages (upper left side of the code) and it also reads the multiplying constants from a text file (lower left side of the code). Then using the 'for loop' at the center, it converts the voltages to loads and finally it writes the load values in a file (middle left of the code, path labled as SC1).
    Is my code efficient ?
    Someone told me such code will slow down the entire process because of the loop. He suggested that I use "DAQmx create scale" and "scale node" to write a more efficient code. I don't know how to do that.
    Can someone help me on this, please?
    Attachments:
    Learning-2.vi ‏42 KB

  • Crystal Reports 2008 - automation and scheduling

    Hey there Crystal Reports experts... please answer this question:
    I've been evaluating the Crystal Reports 2008 package (client package) and have been able to generate some nice summary reports form our SQL database using summary pages which have multiple (up to 4) embedded sub-reports in them.  I think it's doing what I need it to, but my next hurdle is to automate the summary report for 100+ different customers of ours.  The criteria which changes for each customer is a table value in each subreport as well as the date range for the data on the report.  I also need to have the title in the report header of each customer, change to reflect the different customer name and date range.
    Is there a way to automate this with the standard Crystal Reports 2008 version?  I've found a few 3rd party applications online that take care of the Crystal Report automation and scheduling as well as conditional data selection at the same time... is that what I need to use if we don't have ther server version of Crystal, or can I automate it using just the standard 2008 client version??

    Hi,
    Yes, you need the CR 2008 client license to create the reports and then the server license to distribute the reports.
    CR Server 2008 is a single server reporting solution for distributing Crystal Reports only.  BOE is a full BI server that can be scaled beyond a single server solution.  In addition to just reporting it has other capabilities such as ad hoc query and analysis, dashboarding/scorecarding, etc.
    CR Server 2008 currently does not include the "Publishing" functionality yet.  Therefore, if you schedule the report to email, all users will see the exact same report.  BOE XI 3.1 does have "Publishing" which lets you burst the report so that through a single schedule, each user only sees their slice of the data for that report.  You can still use CR Server to accomplish something similar, but it would require you to setup an individual schedule per every customer where each schedule is configured to only return the appropriate data for that customer.  This would require a little more effort to setup and maintain.

  • Scaling Photos

    I'm confused on the best practice for handling photos which I might (or not), pan or zoom. I've heard that resizing in Photoshop is better than in Premiere--better interpolation algorithms. Let's say I plan to work with the native 3:2 aspect ratio of the images. If I'm editing at 720x1280, for example, my native RAW DSLR Canon 40 D image is 3888 x 2592, I would have to downsize in PS bringing my image to 25% of its original size (approximately) for it to fit the screen full image. Or I'd have to downsize to about 40-50% size if I want to leave room for zooming, panning etc. Or I can bring in the image at its natural size, scale to fit automatically, and then resize manually. Or do the same without clicking scale to fit. All of these work, but what is the best practice, maintaining optimal IQ of the image?
    Thanks
    kdoc

    Kdoc,
    Sorry that I did not state things clearly. Large still images require overhead to handle. I Scale to the Sequence's Frame Size, unless I will be doing Pans/Tiltson a Zoomed out image, and then will calculate how many pixels in which direction I need. That does take calculations, but will yield an image at the optimum size, with the smallest amount of processing overhead. Now, there WAS the benefit of better Scaling in PS, up to PrPro CS5. That benefit has been removed, as Scaling should be just as good, in PrPro CS5. Still, the overhead exists.
    In your case, as you have not figured out the amount of Pan/Tilt on Zoomed out images yet, I'd go with a common size, that allows one some room to Pan/Tilt, when the image is Zoomed out. It will eliminate extraneous pixels and their overhead.
    When you have animated the Pan/Tilts, if you find that you do not need all the pixels, you can Scale safely in PrPro, and I would use the fixed Effect>Motion>Scale. If you are going to want to Pan/Tilt on Zoomed out images, do not use Scale to Frame Size, as that will Scale your images TO the Sequence Frame Size, and you will then not have the necessary extra pixels to use, as the images will have been Scaled to the Frame Size.
    If I had some images, that I knew would NOT involve Pans/Tilts, I would do a separate Scaling with Automation in PS. Often, I will end up with maybe three folders of stills: 1 where there will be zero Pans/Tilts, and these will be Scaled exactly to my Frame Size. Then, there will be another, where I will Scale less, leaving extra pixels for the Pans/Tilts, and possibly another folder, with images with even more pixels for a lot of Panning and/or Tilting.
    Note: The term "Tilting" is used as it would be with a camera. In an NLE, the proper term would probably be "Vertical Pan," where the more traditional Pan would be "Horizontal Pan."
    Good luck,
    Hunt
    PS - as for that image overhead, remember that the image has not been actually acted upon, when it's in the Timeline. All pixels are still there. What we have done, when we Scale in PrPro is to have written a set of instructions, telling the program what to do with that image, when we go to Export. What we see is but a representation of that Scaling.
    PPS - also remember that all pixels beyond the Frame Size of the Sequence are not seen, as they are effectively cropped by the Frame Size dimensions. It's like having a 16 x 20 photograph, and a 20 x 24 matte, but with an 11 x 14 aperture in it. With Panning, we basically slide that photograph behind the aperture in the matte. We can only see the segments of that photograph through that aperture.

Maybe you are looking for

  • Can i Have two phones on one computer

    Hey everyone, Can I have two iphones on one computer. I've heard i cant. Anyone know anything about this. Thanks yall

  • Custom Components and passing arguments

    This afternoon i got a great answer regarding the use of custom MXML components and calling a function back in the main application file. I can accomplish this now by using parentDocument BUT I need to pass the name of a function(for filtering) as a

  • Import Word document

    I am trying to import a Word document. Created new HTML document with design view open. When I pull down on File/Import the only options are "XML into Template" and "Tabular Data." If I go with either, I am unable to import a Word doc. There is no op

  • Patterns-how to browse them easily already filling in an area?

    What's an easily way of browsing the patterns I currently have, but in a sense that they are already filled out on a large area so I can see the effect.   So what I'm after is a way to ideally step through (single click) one pattern to the next, and

  • One simple (maybe stupid) question:

    Why I can not rich all my TextInput objects using this code: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ import mx.validators.ValidationResult; import mx.c