Using a third party filter

I am looking at a filter from a website, but having difficulties with it as I have never used filters before.  I created a folder on my desktop, and in this folder, I created another folder called myFilters.  In this folder, I placed the TwirlFilter file and ammended it so it was
package myFilters{
I then created a new flash file, and in frame 1, I went to the actions
panel, and added the code for one of their examples.This is simple code
package
    import flash.display.Sprite;
    import myFilters.TwirlFilter;
    import flash.filters.DisplacementMapFilter;
    import flash.display.Bitmap;
    [SWF(width="420", height="280", backgroundColor="#fef9fe", frameRate="25")]
    public class SimpleExample extends Sprite
        public function SimpleExample()
            [Embed(source='/assets/prickpearsm-420x280.jpg')]
            var image:Class;
            var img:Bitmap=new image();
            addChild(img);
            var twirl:TwirlFilter=new TwirlFilter(this.stage.width/2-100,this.stage.height/2-100,100,Math.PI);
            img.filters=[twirl.filter];
            //addChild(twirl.image);
The package has no name, as it is in the top folder, and I import the
filter correctly, or so I think.  If i try running it, i get an error
1037: Packages cannot be nested.  Not sure why this is, or if I am even
doing this correctly.  As I say, first time using a filter, so didnt
know what to do with it.
Do you know what we might be doing wrong?
Thanks
Nick

Originally, the SimpleExample file was just an AS3 file.  The problem was that with an as3 file, you cant go to Control/Test Movie, so i did not know how I would play it.  This is why I changed it and tried adding it to a timeline in a flash file.  I have seen many examples on the internet of things I would like to try, but all they provide you with is as3 code.  When I get this file, how am I suppossed to play it to test it out?  If you know the answer or could provide me with some sort of tutorial, this would be great.
cheers

Similar Messages

  • Can I add a third party filter (ASFROC) to the filter sub-folder of Photoshop Elements 13?

    I have been using a third party filter (Applied Science fiction R-O-C (now Kodak)) with Photoshop elements 9.  After upgrading to Elements 13 I would like to continue using the ASFROC plug-in filter.  Can I just add it to the Filter sub-folder in Elements 13?

    I believe the problem is those filters are 32 bit filters and you most likely have the 64 bit version of photoshop elements 13.
    The 64 bit version of pse 13 requires 64 bit filters, so you wouldn't be able to use the Kodak filters in pse 13
    Which operating system are you using?
    If windows, is your windows system 32 or 64 bit?
    (the mac version of pse 13 is always 64 bit)

  • DRG-11225: Third-party filter timed out

    Hello,
    I am facing the following problem when indexing a column:
    DRG-11207: user filter command exited with status 2
    DRG-11225: Third-party filter timed out.
    I am using Ubuntu 10.04.2 LTS and Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
    I have a column named URL in a table named DOCUMENTO_CONSULTA
    This column contains file URLs (2 rows involved in the test)
    I am confident that the paths that appear in the two rows of the URL column are correct (because if I change
    them to something different another error appear that says, as expected, that files could not be found). I am sure
    that access to the files is granted. FILE_ACCESS_ROLE is set to CTXAPP and role is granted to the user. File
    and path permission are set to 777.
    The two rows contains paths to simple DOC and PDF content, with just one paragraph each.
    I am using the following configuration:
    ctx_ddl.create_preference ('ajn_doc_cons_datastore', 'URL_DATASTORE');
    ctx_ddl.set_attribute ('ajn_doc_cons_datastore', 'urlsize', 1024);
    ctx_ddl.create_preference ('ajn_doc_cons_filter', 'AUTO_FILTER');
    ctx_ddl.set_attribute ('ajn_doc_cons_filter', 'timeout', 0);
    ctx_ddl.create_preference ('ajn_spanish_lexer', 'BASIC_LEXER');
    ctx_ddl.set_attribute ('ajn_spanish_lexer', 'base_letter', 'YES');
    ctx_ddl.set_attribute ('ajn_spanish_lexer', 'index_themes', 'NO');
    ctx_ddl.set_attribute ('ajn_spanish_lexer', 'index_stems', 7);
    ctx_ddl.set_attribute ('ajn_spanish_lexer', 'index_text', 'YES');
    ctx_ddl.create_preference ('ajn_spanish_wordlist', 'BASIC_WORDLIST');
    ctx_ddl.set_attribute ('ajn_spanish_wordlist', 'stemmer', 'SPANISH');
    ctx_ddl.set_attribute ('ajn_spanish_wordlist', 'fuzzy_match', 'SPANISH');
    The sentence to create the index is:
    create index ajn_doc_cons_idx on documento_consulta(URL)
    indextype is ctxsys.context
    parameters ('LEXER ajn_spanish_lexer DATASTORE ajn_doc_cons_datastore FILTER ajn_doc_cons_filter WORDLIST ajn_spanish_wordlist ')
    I've tried changing URL_DATASTORE to FILE_DATASTORE (with no attributes) but the result is the same
    Here's the configuration I've set in /etv/environment:
    PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/mnt/oracle/app/oracle/product/11.2.0/dbhome_1/bin:/mnt/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/bin"
    TMPDIR=/tmp
    ORACLE_HOSTNAME=--------- (my host name)
    ORACLE_BASE=/mnt/oracle/app/oracle
    ORACLE_HOME=/mnt/oracle/app/oracle/product/11.2.0/dbhome_1
    ORACLE_SID=orcl
    ORACLE_TERM=xterm
    LD_LIBRARY_PATH=/mnt/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib:/mnt/oracle/app/oracle/product/11.2.0/dbhome_1/lib
    If I try to use ctxhx from the console everything works OK and twoHTML files corresponding to the two rows are generated with no errors at all.
    I haven't found any relevant information in forums and docs. I don't have any more ideas, so any answer would be appreciated.
    Thanks in advance
    Edited by: 988718 on 18-feb-2013 7:16

    Ubuntu is not a supported platform for Oracle, so it's hard to answer this.
    However, if you want to try to debug it, replace the "ctxhx" executable with a shell script which dumps its arguments and the current environment to a file.
    You can then use that output to create a shell with the same environment, and see if command line ctxhx still works. If not, you'll have to figure out what the differences are between the two environments.

  • How do I add video to be hosted directly on my MUSE site without using a third party site like Vimeo / You tube etc ?

    How do I add video to be hosted directly on my MUSE site without using a third party like Vimeo / You tube etc ?

    Hi,
    You can consider html video tag to do this. You will need to add it in Muse using, Object-insert as html. Detailed instructions can be viewed here
    HTML video Tag

  • I used a third party programme called Mackeeper UGHHH,it moved loads of files to the trash now i do not know where they originally came from or belong!! the put back option is in grey??how can i manually put these files back where they belong?SO upset!!

    I used a third party programme called Mackeeper UGHHH SOOO Stupid i know,it moved loads of files to the trash now i do not know where they originally came from or belong!! the put back option is in grey??and will not work even when i highlight one by one!!
    how can i manually put these files back where they belong?
    i know i should have used time machine but i have not set it up and its too late for that now
    i have been researching and racking my brain on how to put these folders and contents of them back to where they once were all of the contents of the folder are still in tact AND i have not emptied my trash,my programmes and some of my apps are not working properly now...i use my computer alot for making music and things are jumbled up now...
    is there anyone out there who knows the answer to my prayers on how to go about putting these folders/files back to where they came from to restore functionality to my mac..Yes and thank u if u were going to tell me i HAVE un installed mackeeper...A very sad and upset Mac user!! Cheers Shane

    hello there thank u so much for ur reply!! ok i uninstalled mackeeper now and the put back option is still in grey im so confused...i tried restarting my computer like u said and put back still in grey??!! the files that are in my trash are everything from Accounts,address book plug-ins,address book,adobe,aim.........then stuff like apple,Audio,....to caches color pickers,colors,com.apple.TCC,to DVD player to facebook,google to ilifemedia browser to itunes to keychains to movie effects,preferences printers to skype...my Native instruments files BUT not all of them my garage band but not all of it...it seriously looks like my whole library is in the trash i tried to put things back where i THINK they belong and it just added the item or folder under where i thought it went and didnt restore functionality to for instance google chrome and all my book marks are there....they seem to be only certain things from my library that would have added some functionality to apps and programmes like my garageband is missing stuff photobooth wont work so on.......kinda looks a bit like this thats only the half of it!! Cheers shane!!!

  • I am a innkeeper at a bed and breakfast. we use a third party web reservation site. is there any way i can link this website to my calendar to where all web bookings will be uploaded to my calendar. i have the most recent software on my mac

    I am a innkeeper at a bed and breakfast. we use a third party web reservation site. is there any way i can link this website to my calendar to where all web bookings will be uploaded to my calendar. i have the most recent software on my mac

    Hi,
    Does the website have a WebDAV feed of their calendar?
    John M

  • Way to use Visual Web part in sharepoint 2010 without using/installing third party tools

    I want to know the way to use Visual Web part in sharepoint 2010 without using/installing third party tools.
    Please provide me a link where i can actually know how it is done.

    + to _eNo_,
    Visual Studio 2010 has support for visual webpart, you can find that under Visual C# node in the Installed Templates section (if your preferred language is C#)
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • Item category used for third party

    Gurus,
    need to know the item category used for third party process and its determination, kindly help.
    thanks
    SP

    Dear Partasarathy,
    there are three different processes within the third-party.
    The usual third-party process (the delivery will be made directly from the third-party partner). The item category here is TAS in the standard.
    The individual purchase order (the delivery will be done from third-party partner to SD-partner and then the normal delivery will be created from the sales order). The item category here is TAB in the standard.
    The ALE-process is the third-party process where the purchase order (not only the purchase requisition) will be created after saving the sales order. The item category here is ALES in the standard.
    I hope, this additional info helps you further.
    Kind regards,
    Akmal Vakhidov
    Development Support IMS SD, SAP, Walldorf/Germany

  • Is it still necessary to use a third party app in order to stream SiriusXm radio signal via iTunes?  Would like to use iTunes to handle the signal and send out to remote speakers?

    Is it necessary to use a third party app in order to stream SiriusXm signal via iTunes to my remote speakers?

    Is it necessary to use a third party app in order to stream SiriusXm signal via iTunes to my remote speakers?

  • Feature Request: I want Firefox 4 to remember search history, but not form data, without having to use a third-party plug-in. Is this possible now and I am just not seeing it?

    I don't like having Firefox (or any browser for that matter) remembering any form history, as I do not see this as secure data storage (IT security/network engineer). Currently the only way to disable this is to also disable search history, which is a useful tool to have, and I am not worried about the security of that data (I don't search for sensitive data). I would like to see these two options under the Privacy->Custom Settings Preference to be separated so that people can more finely control what of their data is stored.
    Is this possible without the use of third-party plugins?

    Wow. Okay...
    I'll let the real veterans in this forum tackle your issues one after the other. But, I can tell you, all will be well.
    My only comment would be re: your computer specs:
    BJReis wrote:
    .  This may be due to somewhat older equipment:
    GHz Intel Core Duo MacBook Pro with a 4GB memory computer with Ddr3 running OSX 10.8.4
    To be completely honest, FCPX is a RAM hog. It just is. But, RAM is relatively cheap, and the pay-off is good.
    4GB is right on the edge, IMHO. 16G is ideal.
    I wish you luck, hang in there, and standby for more help.

  • Will anniversaries sync to calendar from address book like birthdays? Or do you have to use a third party plug-in?

    Will anniversary dates from contacts automatically appear in the calendar the same way birthdays appear?  Or do you have to use a third party plug-in like Dates 2 ical?

    or I found this one for free http://www.zencat.de/bsx/index.html
    it worked quite neatly for me for anniversaries and friend's kids birthdays (didn't want to have all of them as separate contacts)

  • Using a third party optimizer in iWeb

    okay, so I purchased Web Site Maestro to optimize my site.
    But after I optimize my site with WSM and upload to the web,
    the site looks worse, than before I optimized it.
    I'm wondering if there is a setting in iWeb that i need to change, like "optimize images on import" in iWeb preferences, or some other setting or thing that i have to change in iWeb if I'm going to use a third party web optimizer.
    any ideas?
    thanks!

    WSM should not affect the quality of your images. Have a look here for image optimization...
    http://roddymckay.com/PhotoSatellite/OptimizeImageFile.html

  • Is it possible to use a third party router with BT...

    Hi all,
    I currently have BT Infinity & Unlimited calls on my package, but I use a third party router, namely a Netgear WNR3500L in place of my original v2 Infinity Home Hub.
    Now, my question is this: Do I have to use a Home Hub with Vision, or would I be okay using my current setup?
    I do realise that if I use a third party router, I won't get support from BT.
    Any help would be greatly appreciated.

    plainview wrote:
    Hi, this has been brought up before on this forum;
    http://community.bt.com/t5/BT-Vision/Best-non-BT-Router-for-BT-Vision-Use/td-p/243097
    http://community.bt.com/t5/BT-Vision/using-another-router-with-bt-vision/td-p/7742
    http://community.bt.com/t5/BT-Vision/Do-I-need-to-use-the-BT-Broadband-modem-with-BT-Vision/td-p/484...
    Thanks for those links, plainview. Much appreciated. Have a shiney, new star!

  • Best format to export in order to encode using a third party tool?

    Hello,
    I am trying to export a movie I cut. I want to have a high quality uncompressed file that I can transcode using a third party app (which I've had better luck with than AME). So far I have tried AVI's with 100 quality, no compression, RLE, and they look terrible. FIle size is not an issue at this point. Its a 3 minute clip that looks horrible and blocky and 2 gigs large. Sorry I am still learning premiere.

    Well I have been encoding clips for web since CS3. At the time I was trying
    to encode h.264 mp4's or quicktimes from premiere or from after effects.
    Perhaps I wasn't setting the encoding right but I was getting relatively
    larg files and or disappointing quality encodes. I then learned to export a
    quicktime with animation codec, at high quality, and transcode it using MPEG
    streamclip or Handbrake. They did a superb job and I had an easier time and
    a lot of control with the  h264 settings in these programs. It was just an
    extra step.
    Now that I am on CS5, its actually the first time I use Adobe Media Encoder.
    So perhaps it does a good job, and I just haven't figured it out yet. I am
    testing out some settings at the moment, trying to find a similar
    configuration from Handrake, to see how AME handles it, because if it works
    well it would be sweet.
    Oh and I realized that to export clean AVI I needed to use microsoft
    uncompressed AVI with uyuv. The other AVI settings looked horrible. Is that
    what people send to tape?
    Edit:
    I have taken and transcoded an uncompressed AVI clip at 720x480 using AME's h264 and then taken the same clip into Handbrake to compare results. It was hard to assign similar H264 quality settings as the options in AME are very basic. You can basically choose Variable bit rate or Constant bit rate, and then ascribe a target bit rate. And that seems to be about it. In handbrake, the codec settings are much more granular. So I set off to create an encode that would have the same file size. Here are my results:
    In AME I ended up with a 46 mb clip (it is over 3 minutes long) that looked pretty good. The render time was HALF of Handbrakes. With Handbrake, my clip was 45 mb, and it looked about the same as the AME clip, except that when there was a lot of fast movement on screen, the image quality was better, less blocky. While I really appreciate the speed from AME, the extra 2 minutes it took to transcode in Handbrake are worth the extra image quality and high end finish. It is hard to tweak the setting much more, in the absence of options inside of AME. Again, Handbrake is made to encode h264 from the ground up, and I also recognize that AME can be very useful in encoding other formats as well. Unless someone can show me otherwise, I think Handbrake will get you a better h264 encode than AME.

  • Is there a way to get a drop down field in a muse form? (Not using a third party like jot or Wufoo)

    Is there a way to get a drop down field in a muse form? (Not using a third party like jot or Wufoo) if not then it needs to be a priority for the developers (also radio buttons) as whay should we have to use third party form generators !!
    Thanx

    LOL..... No guru's or employees/staff can answer this simple question ?????
    20+ years in the Advertising Design industry, and would think a simple answer to this would be easy ?

Maybe you are looking for

  • SOLMAN monitoring of SAP XI/PI interfaces

    Hello! ALL We have been leveraging SAP XI/PI monitoring capabilities using the Alter Framework: ALRTCATDEF and setting up alert rules in RWB. However, we would like to start leveraging SOLMAN monitoring features for monitoring SAP XI/PI interfaces. P

  • TS4006 Can you remotely switch on location services from one device to another?

    I have lost my iPhone with its location services switched off so when trying to use the find my iPhone facility it does not trace it displayijng the message Location services disabled. Can any one urgently help?

  • Password apple id, no longer accepted in mail iphone ipad devices

    my Mail app in iphone and ipad doesn't accept password anymore. it was working for years. i read instruction and forums , i've changed password Apple twice, both changes have been accepted, but the problem seems to be my in the ios devices. As soon a

  • Changes made in iphoto library are not showing up in aperture

    I currently have Aperture referencing my photos off of my iphoto library. I have made changes (consolidated a couple of events) and imported more photos from my camera and both are not showing up in Aperture. The new photos I imported were placed int

  • Glassfish Sun Cluster domain instance unable to start

    Hi guys' plz assist. I am trying to bring up all the node agent on the cluster but i 1st need to start the production_domain using this command:./asadmin start-domain prod_domain but it fails to start. I am running a JES Portal and currently is offli