The best way to do a moving shadow on text?

I was screwing around this afternoon and thought I'd try doing some shadow movement.  It doesn't appear to be as easy as I expected.  You can see my results here; http://gtwebconcepts.com/Aptera/Misc/Shadow.html
Basically, I typed in some text and put it Layer1
Copied it to Layer 2 and put a shadow filter on it.
I then hid the text so that only the shadow was showing and converted it to a movie clip.
I made a little light bulb and put it on Layer 3 and converted it to a movie clip.
Created a motion tweens on Layers 2 and 3.
The Shadow layer I free transformed to move away from the light.
This looked OK when I dragged across the time line, but the movie looks horrible.  It's not aligned correctly and has this horrible pause in the middle of the tween (among other things).
There has got to be a better way of doing this.  Anyone want to shed some light?

Well, I've spent a little time messing with the DropShadowFilter and I'm not really pleased with the results.
I've posted an example here: http://gtwebconcepts.com/Aptera/Misc/Shadow.html
The upper logo is using the DropShadowFilter in ActionScript, the lower with the tools in Flash.  The lower is what I'm after.  I need the shadows to be attached at the bottom and then move across in conjunction with a light.  I'm not entirely sure that this is even possible, but this is what I'm after.
Have you ever noticed that it can be really hard to find specific info on things for Flash?  I Googled DropShadowFilter and then searched for the applicable clone, constructor, propertyIsEnumerable, ect.  Very little info out there, but better than my library.  One out of three books had two pages that breifly discussed DropShadowFilter and that was with a static image drawn in ActionScript.  (not much of a help!)  If it wasn't for this forum, I'd be up a creek.

Similar Messages

  • What is the best way to create a read more/collapse text box on the homepage of a site?

    What is the best way to create a read more/collapse text box on the homepage of a site?

    I figured this out by using a lightbox. I set the trigger at the top of the box, hid all initially and added a close button. In the box that would have linked to the first thumbnail for the lightbox, I added a text box that said "read more"

  • Moving from 13" MBP to 15" MBP...  What is the best way to get data moved over?

    I have a 13" MBP Mid-2009 model, upgrading to a 15" MBP Late-2011 model.  Both are on Lion OS 10.7.3.  I use Time Machine to back up the old machine.  If I use Migration Assistant, is a recovery from the Time Machine Backup taken on the 13" MBP over to the 15" MBP the best way to bring over all of the Apps and Data?  I know that the 13" has different HW drivers, so am unsure if the recovery will overwrite these drivers on the new 15" MBP.  Just trying to make sure that I do not mess up the new system, but have not been able to find out if Time Machine will preserve the critical OS files during the recovery.
    Thanks all!

    Some suggest you use Setup Assistant when you first turn the new MBP on.
    I have never used it to transfer any data from one computer to another, from Mac or PC to new Mac.
    I simply don't trust it, never had on any platform.
    I find it easier for me to just network computers together and copy data over. That way only the data I want is copied to the new computer. I can make all the interface changes myself.
    Oh as eww says do NOT use a TM backup from the older Mac to move data over to the new one. You could possibly be looking at reinstalling the OS on the new unit.

  • What is the best way to make JPanel moving with some speed...

    I made a JPanel and now I want it to move. What is the best way to do it?? Should I use a Timer class object or sth else, I want the movement to be smooth, please help me. Thanks.

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.Timer;
    public class PanelMotion
        public static void main(String[] args)
            MotionPanel panel = new MotionPanel();
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(panel.getUIPanel(), "North");
            f.getContentPane().add(panel);
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
    class MotionPanel extends JPanel
        Timer timer;
        final int DELAY;
        int dx, dy;
        public MotionPanel()
            final JPanel panel = new JPanel();
            panel.setBackground(Color.red);
            panel.setPreferredSize(new Dimension(25,25));
            panel.setBounds(50,50,panel.getPreferredSize().width,
                                  panel.getPreferredSize().height);
            dx = 2;
            dy = 3;
            DELAY = 25;
            timer = new Timer(DELAY, new ActionListener()
                public void actionPerformed(ActionEvent e)
                    int w = getWidth();
                    int h = getHeight();
                    Rectangle r = panel.getBounds();
                    if(r.x + dx <= 0 || r.x + r.width + dx >= w)
                        dx *= -1;
                    if(r.y + dy <= 0 || r.y + r.height + dy >= h)
                        dy *= -1;
                    r.x += dx;
                    r.y += dy;
                    panel.setBounds(r.x, r.y, r.width, r.height);
                    repaint();
            setBackground(Color.white);
            setLayout(null);
            add(panel);
        public JPanel getUIPanel()
            final JButton
                start = new JButton("start"),
                stop  = new JButton("stop");
            ActionListener l = new ActionListener()
                public void actionPerformed(ActionEvent e)
                    JButton button = (JButton)e.getSource();
                    if(button == start)
                        if(!timer.isRunning())
                            timer.start();
                    if(button == stop)
                        timer.stop();
            start.addActionListener(l);
            stop.addActionListener(l);
            JPanel panel = new JPanel();
            panel.add(start);
            panel.add(stop);
            return panel;
    }

  • Best way to remove last line-feed in text file

    What is the best way to remove last line-feed in text file? (so that the last line of text is the last line, not a line-feed). The best I can come up with is: echo -n "$(cat file.txt)" > newfile.txt
    (as echo -n will remove all trailing newline characters)

    What is the best way to remove last line-feed in text file? (so that the last line of text is the last line, not a line-feed). The best I can come up with is: echo -n "$(cat file.txt)" > newfile.txt
    (as echo -n will remove all trailing newline characters)
    According to my experiments, you have removed all line terminators from the file, and replaced those between lines with a space.
    That is to say, you have turned a multi-line file into one long line with no line terminator.
    If that is what you want, and your files are not very big, then your echo statement might be all you need.
    If you need to deal with larger files, you could try using the 'tr' command, and something like
    tr '
    ' ' ' <file.txt >newfile.txt
    The only problem with this is, it will most likely give you a trailing space, as the last newline is going to be converted to a space. If that is not acceptable, then something else will have to be arranged.
    However, if you really want to maintain a multi-line file, but remove just the very last line terminator, that gets a bit more complicated. This might work for you:
    perl -ne '
    chomp;
    print "
    " if $n++ != 0;
    print;
    ' file.txt >newfile.txt
    You can use cat -e to see which lines have newlines, and you should see that the last line does not have a newline, but all the others still do.
    I guess if you really did mean to remove all newline characters and replace them with a space, except for the last line, then a modification of the above perl script would do that:
    perl -ne '
    chomp;
    print " " if $n++ != 0;
    print;
    ' file.txt >newfile.txt
    Am I even close to understanding what you are asking for?

  • I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    Paragon even has non-destriuctive conversion utility if you do want to change drive.
    Hard to imagine using 3TB that isn't NTFS. Mac uses GPT for default partition type as well as HFS+
    www.paragon-software.com
    Some general Apple Help www.apple.com/support/
    Also,
    Mac OS X Help
    http://www.apple.com/support/macbasics/
    Isolating Issues in Mac OS
    http://support.apple.com/kb/TS1388
    https://www.apple.com/support/osx/
    https://www.apple.com/support/quickassist/
    http://www.apple.com/support/mac101/help/
    http://www.apple.com/support/mac101/tour/
    Get Help with your Product
    http://docs.info.apple.com/article.html?artnum=304725
    Apple Mac App Store
    https://discussions.apple.com/community/mac_app_store/using_mac_apple_store
    How to Buy Mac OS X Mountain Lion/Lion
    http://www.apple.com/osx/how-to-upgrade/
    TimeMachine 101
    https://support.apple.com/kb/HT1427
    http://www.apple.com/support/timemachine
    Mac OS X Community
    https://discussions.apple.com/community/mac_os

  • I am moving from Southern California to Maui, Hawaii and I need to figure out the best way to get my 24 inch iMac across the ocean. Does anyone know the best way to do this?

    I am moving from Southern California to Maui, Hawaii and I need to figure out the best way to get my 24 inch iMac across the ocean. Does anyone know the best way to do this? I have found GearGrip's LCD harness so that I can do carry-on onto the plane...  Or maybe use a Pelican Case to do it as a "checked bag"? Or any other suggestions??! Please help!
    Thanks so much!!

    I don't recommend you send the iMac in a checked bag. Might get damaged.
    Check the airlines website for carry on guidelines.
    Or, if you have the original box that the iMac came in, if you have someone who can pick up the iMac for you, send it ahead Fed Ex and insure the package.
    Just make sure the display is covered to protect it. A blanket perhaps.
    Aloha ...

  • What is the best way to transfer apps, contacts, et cetera from one iPhone (3G) and computer (2006 MacBook) to a new iPhone (4S) and computer (early 2011 MacBook Pro)?  I have already moved music, among other things using Migration Assistant.

    What is the best way to transfer apps, contacts, et cetera from one iPhone (3G) and computer (2006 MacBook) to a new iPhone (4S) and computer (early 2011 MacBook Pro)?  I have already moved music, among other things using Migration Assistant but I cannot locate contacts or Apps.

    transfer just SOME of the applications
    it's all or none, i'm afraid.

  • What is the best way to manage tasks?  I have moved from outlook and only have mail and ical

    What is the best way to manage tasks.  I have moved from a pc with outlook and have lost 'tasks' in that programme.  Do I have to rely on ical or can I download an app to manage business tasks?

    iCal does have reminders but its implementation of tasks is pretty wimpy. There are a number of programs that are better geared to the job. I was a level 4 procrastinator until I discovered Getting Things Done and for me Things is perfect. It lets me handle projects which are dependent upon multiple tasks in a no-nonsense easy fashion. Much less expensive and really not much more than a list maker is Wunderlist. Thankfully there's a ton of shareware offerings - check out MacUpdate.com and see what works for you.

  • Should the admin/user folder and all of its sub folders be moved to the hdd or just parts of it? (eg. picture, movies, documents)  What is the best way to go about doing this.  Also should a 2t hdd be partitioned.

    iMac with 256ssd and 2t hdd. Should the admin/user folder and all of its sub folders be moved to the hdd or just parts of it? (eg. picture, movies, documents)  What is the best way to go about doing this.  Also should a 2t hdd be partitioned.

    Yes, you can move your user directories to the HD and keep your OSX and Applications on the SSD drive.
    Whether you partition your HD or not depends on how much data you have and how you propose to use your HD.
    Are you planning to use your iMac as a Time Machine backup volume? If so, partition it off.
    Do you have huge data files, eg video, music, photos?
    How much of your 2tb drive will be "free" once it is loaded with all your data?
    A little more information is required before the optimal configuration can be recommended for your use.

  • Hi, I bought my iPhone in Canada but have moved to Australia. I need to speak with someone at Apple Canada what is the best way to do this? Is there is an e-mail address?

    Hi, I bought my iPhone in Canada but have moved to Australia. I need to speak with someone at Apple Canada what is the best way to do this? Is there is an e-mail address? When I call the Apple Canada number it says I can't call from my location.

    In what way did you buy your iPhone? If you paid full price at the Apple Store then your phone should be provider unlocked and should work with practically any SIM card you choose to insert in it. If you bought it cheaper with a contract then it's provider locked then your best bet is to call your cellular provider in Canada. Be sure to note your IMEI number (Settings > General > About) as they're going to need it to do an unlock. Be aware they may or may not charge for this.

  • The best way for moving from Java To JSP....

    Hello Guys ,
    Actually i am New to Java Technology and i Love it very much , i am trying to do my best ...
    i Understand it , it`s Logical for me , as you told you i`m New to Java Technology and i wanna learn JSP as soon as i can , because i have to do the commercial Project "Website" for my Univ... And Sure i wanna Continue With Jsp .. For Enterprise Commercial Projects .Sure i will Continue with Java Too ..
    The Question is .. , What is the Best way i MUST follow to achive my target ?
    i mean if i can start with Jsp Directly , or i have to focus on special Topics in Java Before Strat JSP ...
    i have just 6 monthes to Perform my Commercial Project "Payment On line ..etc"
    So Please i really want your Help
    I`d be really thankfull for you guys
    thanx for your time
    Java son

    Enterprise Applications != JSP. JSP is just a
    front-end. For enterprise apps you'd probably rather
    need EJBs...Argh... not true. I see what you are getting at, as JSP is merely presentation layer stuff; however, EJBs are certainly not ever required per se, altho they may offer some services that may be useful. I suggest OP takes a look at Struts in order to separate the webapp in an MVC style so that the decision for what to use at the back is decoupled from everything else. If it is a simple webapp, and for a University then I don't think a complex back-end will be required. In any case webapps are not enterprise systems, but they may act as views on them in some cases.

  • What is the best way to set up Facetime if using multiple computers with one apple ID?

    I currently have FaceTime setup on my iPad 2 using my normal appleID, but have just recently upgraded our iMac from Leopard to Snow leopard, and have added FaceTime to that computer as well. So my question is this. If I want to avoid confusion with which device is called when someone calls us using FaceTime, what is the best way to distinguish the devices? Should I try to use a different email address to reach the iMac? Is there a best-known-method for this?

    That's a nice system Kevin, and it will work very nicely with Photoshop.  I do take it that you have 16Gb RAM in Total?
    250Gb SSD is a good size, but you can still run short, and that will affect Windows performance.  When you get your system, instal WinDirStat which gives you a graphic display of everything on your drive, like below. Clicking on any of the large areas will tell you what and where they are, so you can think about moving cache folders etc. to one of the HDDs.
    Leave the Pagefile.sys on the boot drive.  Think about disabling Hyphenate as it takes a ton of space, and too often crashes on wake up.
    My Documents
    Desktop
    Downloads
    Look at Bridge cache
    iTunes backup
    Other stuff like that.
    Think about another 500Gb drive just for Photoshop Scratch.  Drives are cheap as chips nowadays
    Do yourself a favour, and invest $100 in Shadow Protect (or similar if there is such a thing) SP saves incremental backups every 15 minutes (you can set the interval, but it has no impact on performance with a system like yours).  If you have a problem you can mount the back up at any of those 15 minute points, and open files from it.  You can also make a bootable DVD image of your C drive, and be back up and running five minutes after disaster strikes.
    Optimize Performance in Photoshop
    Photoshop CC and CC 2014 GPU FAQ
    For more ideas, swing by the Premiere Pro Hardware forum.  Those guys are serious good at this stuff, and you'll find links tips and ideas.
    Happy computing, and have fun with your Creative Cloud® apps.

  • What is the Best way to set up Photoshop on a new PC with multiple Hard drives and SSD?

    Hi hope someone can help.
    I am considering buying a new PC (see below).  We want to run both Photoshop and Lightroom on the PC. We will also be using it as a Media centre – that’s why I have two big hard drives.
    I would like to know the best way to install both Photoshop and Lightroom on the storage devices. As you can see I will have two 3TB hard drives and one 250G SSD card.
    For Photoshop I have read that it can be advantages to have the program on one drive the photos on another drive and the “scratch file’ on a third drive. It was even suggested that the PCs Operating system could be on a different drive than the program. Is this correct and if
    so what is best to go on the SSD card? I will be partitioning the Hard Drives and I could even partition the SSD drive if that could help.  In this case what size partitions are recommended?
    If you can see a component below that you think would be an issue with running Photoshop and Lightroom, could you also let me know what you would recommend?
    CPU: Intel Core i7-4790 CPU. LGA1150
    Motherboard: Gigabyte GA-Z97M Micro-ATX Motherboard LGA1150
    RAM: TWO (2) x Kingston 8GB DDR3 1600Mhz Desktop Memory
    HDD: TWO (2) x Seagate Barracuda 3TB 3.5" 7200RPM 64 MB Cache SATA 6.0Gb/s
    SSD: Samsung 850 EVO 250GB Internal Solid State Drive (SSD)
    Graphics card: Leadtek nVidia Quadro K2200 4GB Graphic Card
    Optical drive: LG Blu-Ray Combo Drive. BH16NS40
    Power supply unit: Cooler Master V750S ATX Power Supply 750W, 80Plus Gold Certified
    Case: Cooler Master Centurion 6Mid Tower Case
    Operating system: Microsoft Windows 8.1 Pro 64-bit
    Wireless / WiFi: TP-Link TL-WDN4800 900Mbps Wireless-N Dual Band PCI-E Adapter
    BTW I would have liked to email this to Adobe support but could not find an email address to send it to. I hope this way works.

    That's a nice system Kevin, and it will work very nicely with Photoshop.  I do take it that you have 16Gb RAM in Total?
    250Gb SSD is a good size, but you can still run short, and that will affect Windows performance.  When you get your system, instal WinDirStat which gives you a graphic display of everything on your drive, like below. Clicking on any of the large areas will tell you what and where they are, so you can think about moving cache folders etc. to one of the HDDs.
    Leave the Pagefile.sys on the boot drive.  Think about disabling Hyphenate as it takes a ton of space, and too often crashes on wake up.
    My Documents
    Desktop
    Downloads
    Look at Bridge cache
    iTunes backup
    Other stuff like that.
    Think about another 500Gb drive just for Photoshop Scratch.  Drives are cheap as chips nowadays
    Do yourself a favour, and invest $100 in Shadow Protect (or similar if there is such a thing) SP saves incremental backups every 15 minutes (you can set the interval, but it has no impact on performance with a system like yours).  If you have a problem you can mount the back up at any of those 15 minute points, and open files from it.  You can also make a bootable DVD image of your C drive, and be back up and running five minutes after disaster strikes.
    Optimize Performance in Photoshop
    Photoshop CC and CC 2014 GPU FAQ
    For more ideas, swing by the Premiere Pro Hardware forum.  Those guys are serious good at this stuff, and you'll find links tips and ideas.
    Happy computing, and have fun with your Creative Cloud® apps.

  • I am trying to rebuild my iPhoto library and noticed my backup contains aliases (pointers?) and not the actual file. What's the best way to rebuild my library?

    I am trying to rebuild my iPhoto library and noticed my backup contains aliases (pointers?) and not the actual file. What's the best way to rebuild my library?
    Facts:
    In moving to a new iMac, I copied the iPhoto library to an external HDD assuming that I would point the new iMac to the backed up iPhoto Library
    All worked fine when I pointed the new library but noticed that some folders contained aliases and not the original file. So when I attempt to open that photo it can't find it because the alias is pointing to another drive.
    I do have all original photos from a couple of external HDDs. In the folders titled, "Originals" (from older versions of iPhoto) and "Masters" (from current iPhoto)
    I'm thinking I can create a new folder and drop the original files and make that my new iPhoto library. Is there a better way to rebuild my library? I do not want to create any future aliases.
    Thanks in advance for any help!

    do you have a strongly recommended default "managed" library (the iPhoto preference to "copy imported items to the iPhoto library is in its checked state) or a referenced library - you have unchecked that option?
    It sounds like you have a referenced library and are now experiancing one of the very siginificant drawbacks of a referenced library and one of the many reasons they are strongly not recommended
    Also note that iPhoto '11 may use alises in the originals folder as part of the upgrade
    It is important that we understand exactly what you have and what is not sorking - what error messages you are getting
    You must NEVER make any changes of any sort to the structure of content of the iPhoto library - there are no user servicable parts in it  --  and you can not rebuild yoru librtary - only iPhoto ir iPhoto Library Manager - http://www.fatcatsoftware.com/iplm/ -  can rebuild a library unless you are a SQL programmer and understand the structure that iPhoto uses
    LN

Maybe you are looking for

  • How to send non-imessage via mac

    as the title... i wanna send text message from mac os 10.10(IMAC or Mac book air) is it only support imessage? anyway, sometimes i will receive message just like this... but i can't reply it on Mac...Is it possible to reply please help! thanks for at

  • Favorite glyphs in Character Palette

    In Panther, I was able to put frequently used special glyphs like © into the Favorites panel of Character Palette so that I did not have to hunt for them all over Unicode space. In Tiger, the Favorites panel still shows up in Character Palette, but t

  • I want to run java program on windows environment as background process

    Hi all I want to run java program on windows environment as background processSo command prompt return after executing java command and program on background In Linux we can do this easily �but I do not how to do this in windows for example look this

  • Why can't I install Firefox on my ipad mini?

    I keep getting the message that my system doesn't support Firefox. I believe is is iOS 10.6.3 so it looks like it should work.

  • Problem with product key

    Hello there! I'm student and member of DreamSpark. I downloaded Visual Studio C++ 2008 Express and it require product key despite that in DreamSpark sayed "Product key embedded in the installation." Now I have 24 days to acivate it.  I tried to write