How do I use a Sequence component in a separate file?

I have my TileList control in the following code, and the data effect code in a separate file. I can't link them together. Here is the example I read (http://livedocs.adobe.com/flex/3/html/help.html?content=createeffects_5.html), but it's in flex 3 version. I don't know how to do that in flex 4. Can you one tell me how to do it?
//======================CODE START
<?xml version="1.0" encoding="utf-8"?>
<mx:TileList xmlns:fx="http://ns.adobe.com/mxml/2009"
             xmlns:s="library://ns.adobe.com/flex/spark"
             xmlns:mx="library://ns.adobe.com/flex/mx"
             itemsChangeEffect="{dataEffect}">                                 // <- Where my question is
    <fx:Script>
        <![CDATA[
            import effects.dataEffect;
        ]]>
    </fx:Script>
</mx:TileList>
//======================CODE END
My data effect in a separate file effects/dataEffect.mxml here:
//======================CODE START
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
         xmlns:s="library://ns.adobe.com/flex/spark"
         xmlns:mx="library://ns.adobe.com/flex/mx">
    <fx:Declarations>
        <s:Sequence id="seq">
            <mx:Blur
                blurYTo="12" blurXTo="12"
                duration="300"
                perElementOffset="150"
                filter="removeItem"/>
            <mx:SetPropertyAction
                name="visible" value="false"
                filter="removeItem"/>   
            <mx:UnconstrainItemAction/>
            <mx:Parallel>
                <mx:Move
                    duration="750"
                    perElementOffset="20"/>
                <mx:RemoveItemAction
                    startDelay="400"
                    filter="removeItem"/>
                <mx:AddItemAction 
                    startDelay="400"
                    filter="addItem"/>
                <mx:Blur
                    startDelay="410"
                    blurXFrom="18" blurYFrom="18" blurXTo="0" blurYTo="0"
                    duration="300"
                    filter="addItem"/>
            </mx:Parallel>
        </s:Sequence>
    </fx:Declarations>
</s:Group>
//======================CODE END

Hey!
Thanks, but I wrote
19. dyemotion,  
  Nov 18, 2013 9:43 AM    in reply to TREX 
Thanks,
but I need the file in png or jpg.
I have to upload this image and there is no other data type possible. :/
that I need png or jpg.
And of course. By every change of the saving options, I tried how it looks when its uploaded.
But every time it doesn't look like it should be.
That is the reason why I wrote my questions in this forum.

Similar Messages

  • How shall I use my IMac and MacBookPro, with synchronized files

    Hi, how shall I use my IMac and MacBookPro, with synchronized files? I used to work at home and office with those to machines and finally always have different version of my documents. Is there any dispositive that I should use, where all my files are moving with me? os there is something to synchronized the computers using WiFi or bluetooth?

    The following has instructions: OS X Mavericks: Share your Internet connection

  • How can I use time machine to recover my iWeb09 files?

    I read that iWeb stores one's website pages in the domain folder which can be located at ~/Library/Application Support/iWeb. Can I use time machine to recover my iWeb09 files? If so, how? -I tried. I entered my Time Machine back up, and went back in time and brought the domain file forward but it opened only my current site pages, not the ones I am trying to recover. And it says the Domain file was last modified in October 2007 which is crazy because I've been using iWeb a lot and have published many pages. It seems like the uncorrupted pages, which I am trying to recover, existed somewhere on my computer at one point in time and space, less than a week ago, becuse I just published my site to a new hosting service since Apple will soon stop web hosting. So why can I not find them using time machine?

    I continued searching and read another person's advise to down load an app named "Find File," then search for .sites. She said spotlight doesn't always find all files. So I did and sure enough, when I searched for .sites I found another Domain package, which I have no idea how it was created but which, it ends up, was the one actually being used by iWeb. So I went to that package then did the time machine and went back to before my web pages became corrupted. I had to delete corrupt blog pages out of my website menu to get iWeb to upload the other page changes even to a local folder.
    So I went to that newly found Domain, went back in time, then brought that forward and as you pointed out the domain package had the parts of the pages, the files and jpegs, but not the structure/layout of the pages. So, I guess I gave up on finding the old pages.
    Those pages still exist on the Apple hosting server but iWeb doesn't not reverse publication. Cyberduck would bring back the files and bits and peices but again not the pages as a total entity. I'm preparing for the end of Apple website hosting (next month?) and am republishing my old site. I decided to use a new domain name. So my entire original site is still totally intact on the web under the original domain name, on my mobile me site, I guess it will be there till sometime in June?
    My problems started when I tried to publish my website to the new server. It just would not publish the whole website in one session. So I decided to do it a few pages at a time. Some pages went up, but as I added more, for some unknown reason the, blog pages, (about 70 subpages),  which had aleardy uploaded just fine to the new server, became corrupt and locked up iWeb. Of course once I deleted the corrupt pages I didn't want to continue publishing the site to the host until I found and reinserted uncorrupted pages, knowing publishing changes would delete the already published pages.
    At first I thought it was the hosting server's fault, but when I discovered that it wouldn't publish even to a local fold I was able to locate the cause within iWeb, deleted those pages then tested by publishing to a local folder. iWeb worked locally, so I knew I had found the problem pages. Well this is way more than you wanted to know. Thanks for your advise but I'll just start the blogging pages over.

  • How can I use an activeX component that has no creatable objects

    I have got an activeX component that I want to use with LabVIEW. When I want to access that activeX component via LabVIEW I see no creatable objects from that component. If I select one of the non creatable objects, everything seems to be fine and I can build my application. I can see all properties and methods of the object as expected. But when I start the application it fails with error 3005 saying 'object specified is not creatable...'. Does anyone know a solution for this problem?
    Thanks
    Rainer

    Did you ever resolve your problem?
    I am having exactly the same problem. I want to use labview 7.0 to control a 3rd party's application (which controls a lab instrument). I can see all the methods and properties I need, but only if I uncheck "show creatable objects only" on the relevant type library.
    I have a working visual basic (as an xls macro) example of how to control the 3rd party application and it uses the non-creatable objects quite happily.
    But in the VB example VB first uses GetObject to connect to a running instance of the 3rd party's application using GetObject. As I understand it, this checks the Running Object Table (ROT) to return an interface pointer.
    "COMNAME" in the GetObject (, COMNAME) used in the VB application I can see listed in the Windows registry, but cannot find it (and I have looked!) anywhere in the "select object from type library" navigation dialog window.
    I think it is because they are dependant objects, but how to I generate an automation refnum for them if I can't find the higher level object? Perhaps I should use CINs?

  • How can I use two sequences w/ different frame rates

    I shot wedding (on Sony Z5) initially (1st tape) in DV widescreen (29.97/ 30 fps) but tapes 2, 3 & 4 were shot 1080p24 fps  Big mistake; now obvious.
    Edited all in FCP 6. On trying to cut & paste sequences together I get " cannot nest sequences with different editing timebases".
    I have 23 min.intro/ ceremony sequence as stand alone QT mov now. How can I best convert that and/or merge it w/ the rest ( 62 min. 24 fps  sequences), or perform other action to unite the diff  frame rates into one, w/ best looking quality for the DVD/ bride & groom? Trying to beat Xmas deadline...
    Thanks in advance! Happy Holidays to all.
    3 Ghz Intel Core 2 Duo / 8 GB / OS 10.6.8  FCP 6.0.6

    I went back and forth on this.
    Ordinarily, I'd conform to the format that the majority of the footage was shot in. But if you're going to DVD, and it's going to be compressed to 480 anyway, then why not down convert the 1080 footage to 480?.  At the same time, I would imagine re-timing the 24 (23.98?) to 29.97 would look reasonably consistent with the 29.97 SD.
    This could be done in FCP, but I think Compressor will produce a better result. The adjustments you need are in the Settings menu in the Encoder (with Audio set to pass through), Geometry (720x480 16:9 Anamorphic), and Frame Controls (Resize Filter set to Best).
    This will not be a short encode, so I would first test a short section to double check your settings and sound sync are right, and to compare against the quality of tape 1.
    Good luck.
    Russ

  • How to properly use ProgressEvent's bytesLoaded and bytesTotal for file download

    Hi All,
    I am using Flex 4, Actionscript 3.
    I am using FileReference's download method, which automatically opens  the "Save As" dialog window (ie. I don't have to explicitly call browse  like for an upload).
    I'd like the label of my ProgressBar component to display
    downloading <%> ...
    In my ProgressEvent handler, I tried
    Code:
         prgbr_fileDownload.label = "downloading %3%%...";
         prgbr_fileDownload.setProgress( event.bytesLoaded, event.bytesTotal );
    But this just displayed "downloading ...". I already set the mode of my ProgressBar component to "manual".
    I then tried
    Code:
    prgbr_fileDownload.label = "downloading " + Math.round( ( event.bytesLoaded/event.bytesTotal ) * 100 ) + "% ...";
    And I was shocked to see very large numbers.
    I then noticed my trace statements displaying the following:
    Code:
    progressHandler name = g2.zip bytesLoaded = 98304 bytesTotal = 98304
    progressHandler name = g2.zip bytesLoaded = 196608 bytesTotal = 98304
    progressHandler name = g2.zip bytesLoaded = 377421 bytesTotal = 98304
    etc.
    progressHandler name = g2.zip bytesLoaded = 17820389 bytesTotal = 98304
    progressHandler name = g2.zip bytesLoaded = 17829381 bytesTotal = 98304
    progressHandler name = g2.zip bytesLoaded = 17838373 bytesTotal = 98304
    etc.
    progressHandler name = g2.zip bytesLoaded = 29940557 bytesTotal = 98304
    progressHandler name = g2.zip bytesLoaded = 30012485 bytesTotal = 98304
    progressHandler name = g2.zip bytesLoaded = 30103874 bytesTotal = 98304
    Hence, obviously my last computation would not work.
    How can I get the percentage downloaded to be displayed correctly?
    Thanks,
    Bonnie

    Hello,
    You're already using it correctly on first try (assigning bytes loaded, bytes total to relevant progress bar instance should update correctly setup label to display percentage as ProgressBar *has* that kind of logic already built-into its code). Are you following that tutorial maybe?
    http://livedocs.adobe.com/flex/3/html/help.html?content=17_Networking_and_communications_9 .html
    It does its job as I quickly tested - and it shows how to setup ProgressBar label to *percentage* option - which is computed by component itself.
    To compute percentage you compare current value (which should be less or equal) to expected "total" bytes value:
    http://en.wikipedia.org/wiki/Percentage
    No magic here - the only issue that people could face is that sometimes "bytesTotal" is reported with wrong value (e.g. zeor) as server does not set correct "Content-Length" value (but I nearly 100% sure that is not in your case).
    If you have issue with your example url server just use established content for testeing, e.g. nasa.gov hosted image (it never tricked me):
    http://www.nasa.gov/images/content/566830main_201107060001HQ_full.jpg
    (I'm using nasa.gov imagery for download tests as they are providing hi-res content which is fun to look into as well),
    regards,
    Peter

  • (How) can I use my Airport Extreme to send FLAC files/iTunes to my stereo?

    (New to this topic.) Is it possible to use my Airport Extreme Base Station to send FLAC and iTunes music files to my (ParaSound P3/A23) stereo system wirelessly?
    If so, how?
    (Not interested in iOS devices doing this - just, effectively, in using my 'mid-2011'  2.7 iMac (10.7.3) as a music server
    TIA!

    Yes, add an AirPort Express and convert FLAC to Apple Lossless and iTunes will be able to play them. VLC will not help since you need iTunes to connect to the AirPort Express and VLC will not work with iTunes.
    There may be an exception to this but I've never tried it. You could try using AirFoil to connect to the AirPort Express and play your FLAC files that way but I have no guarantee it will work. AirFoil seems very flexible so it may prove to be a solution for you.
    I'm not familiar with the Sonos Bridge/Connect system so I cannot comment on the quality. I understand that it is comparable to using the AirPort Express but locking at the price it seems a more expensive solution for your needs.

  • How do I use Java Button to launch a separate Java application?

    I have created separate Java applications using NetBean. Once the user has entered information on one application screen, I would like the a second screen (created as an application) to open once the "OK" Button is clicked. How do I make this separate program an action Listener?
    Thanks,
    JR

    jamroman wrote:
    I have a general understanding of JFrames and containers, etc. But my question is if, as an independent application, can a JFrame be called upon?Yes, sure. There are at least 3 ways a second JFrame can be created from within an existing Java application.
    1) Call the JFrame's constructor
    2) Call the JFrame's main(String[])
    3) Create a Process via. ProcessBuilder.
    For more specific help, you'll need to ask a more specific question.
    Note that if you already knew how to use buttons and action listeners, it would have been a good idea to either:
    a) Not mention buttons at all, or..
    b) Post an SSCCE that shows both the button and action listener. (AKA - Let the code do the talking.)

  • How can I use sql loader to load a text file into a table

    Hi, I need to load a text file that has records on lines tab delimited into a table. How would I be able to use the sql loader to do this? I am using korn shell to do this. I am very new at this...so any kind of helpful examples or documentation would be very appreciated. I would love to see some examples to help me understand if possible. I need help! Thanks alot!

    You should check out the documentation on SQL*Loader in the online Oracle document titled Utilities. Here's a link to the 9iR2 version of it: http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96652/part2.htm#436160
    Hope this helps.

  • How do you use Camera Raw Editor to open jpeg files by default, not using "Open As"?

    I've searched for the Camera Raw setting that is available from the Photoshop (not PSE8) menu but it is not even available in Photoshop Elements 8 that I've been able to see.  Does anyone know where this setting is?

    I had PSE8 set to open any file (tiff, jpeg and cr2) with the camera raw editor.  I can not figure out how it got changed or remember where to make this a default option in PSE8.  I found a video showing it available in Photoshop, main menu, camera raw and then you just check the boxes.  I've been looking for the similar setting in PSE8 again because I'm working through some exercises in a book and it is a nuisance to navigate to the image using the "open as" command every time.  I figured it would be just as easy to set the option by default, then, if I didn't want to use the raw editor, I could just click open from there.  Help?  Thanks so much!

  • HOW CAN I USE ONE OF MY "PREVIOUS ITUNES LIBRARY" FILES?!

    Sorry about the caps lock. I searched for thsi question and got like 10 good results, none of which had answers. iTunes asked me to choose a pervious iTunes library before, but how do I do it now?!

    you can hold shift when starting iTunes to force it to ask you to create a new or select an existing library file.

  • How do I use an Edge Animate project with SVG files in InDesign for DPS output?

    Is there any way to include an Edge Animate web content using .svg files in InDesign for output to DPS?
    Edge Animate works great with InDesign, except for when you're using SVG files. I've worked with SVG files on the web successfully (writing .htaccess files and such), but it seems like InDesign doesn't like them.
    This is pretty important because I don't want to have to design multiple renditions on the DPS suite. Currently I have it setup as a PDF format (DPS) and that scales all of the vector-based type perfectly. It would be wonderful if the animations could also be in a vector format so that when the iPad (3) users see the designs, they will scale naturally through the PDF framework.
    Any advice would be invaluable.
    Thanks!

    moved to the DPS forum....

  • How do I use text to open two different flash files?

    Basically I want to use a flash file, which requires you to enter text and a button to click. If I typed in 'Movie 1' and clicked enter, it should take me to 'Animation 1.swf', if I typed in 'Animation 2' it should take me to 'Animation 2.swf'.
    I don't have the time to relearn flash completely even though I want to, I haven't used flash in about 3 years and really struggling to remember anything, hate being a novice
    Thank you so much

    Hi ,
    As Ned suggested you could use something like this -
    function startLoadingSwf()
    var mLoader:Loader = new Loader();
    var mRequest:URLRequest = new URLRequest(<name of the swf which you are picking up from the text field - text_field.txt>);
    mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);
    mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler);
    mLoader.load(mRequest);
    function onCompleteHandler(loadEvent:Event)
            addChild(loadEvent.currentTarget.content);
    function onProgressHandler(mProgress:ProgressEvent)
    var percent:Number = mProgress.bytesLoaded/mProgress.bytesTotal;
    trace(percent);
    startLoadingSwf();
    Hope that helps!
    Thanks and Regards,
    Sudeshna Sarkar
    Adobe Flash Professional Team

  • How can I use iCloud, but keep Outlook contacts separate from Yahoo/iPhone contacts?

    I'm using a new laptop that uses Outlook and I want to share those contacts on my iPhone without merging them with personal and Yahoo contacts.  Our tech guy told me to use my Apple ID, but that is what I use for iTunes, etc and when I used that ID it merged Outlook with my personal contacts which is what I don't want to do.  Do I need to create a separate Apple ID for the laptop and use my old Apple ID for my Yahoo and iPhone?

    The "All Contacts" view will consolidate all of your sources into one list. This is primarily for ease of use. Contacts synced from different sources, e.g. iCloud, Outlook, Yahoo, etc. are actually kept in separate data stores. There will be no cross-contamination of your address books.

  • LV 7.1 - How can I use installer to create folder with its files included w/o adding each file?

    I have several files to place in folders created by the installer. Can't seem to see how I can avoid adding each file individually at build time. Is there an easier way to do this? Simply "adding" a folder would be a solution.
    Thanks
    Fran

    Fran,
    I believe this question is directly addressed in this online Knowledgebase.
    Kind Regards,
    E. Sulzer
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Web browsers fail intermittently with fast user switching

    I have a Core2Duo iMac (the first ones, so its the White case) that my wife and kids share. They leave all three accounts logged in most of the time. Frequently Safari will stop being able to connect on one or more accounts. The internet connection i

  • Dictionary App will not scroll or display scroll bars.

    This usually happens when I have Wikipedia search enabled because there is more text but not always. Scroll bars do not show. When I resize the window the scroll bars will sometimes show but I cannot scroll DOWN. Whatever type existed in the window a

  • Where in Europe to buy RAM risers (original spare part)?

    I posted in this thread about my non-starting Mac Pro 2008. It turns out the problem was a broken slot on one of the RAM risers. This happened once before which is rather annoying. The repair shop wants 120€ for a riser card and I seem to remember th

  • Losing comments when moving markers

    when i add comments to various fields while logging captured video, i then move the markers to a new folder, creating sub-clips... why does doing this cause me to lose the comments i've made in various fields, many customized and saved/loaded to matc

  • Authentication details for Integrtation B2B

    I have installed Application Server 10g, Web Cache. I am facing the following problems regarding authentication... 1) I am trying to open the server console, but it is asking for authentication details....(Username & Password)..what values must be us