Tween on N800

Hi, I'm new to Flash and Actionscript. I'm working on writing
a game in Actionscript 3 for the Nokia N800 Internet Tablet. I'm
having trouble getting a Tween to appear smoothly. I have a line
like this in my code:
overallTween = new Tween(overallContainer, "x",
None.easeNone, 0, -833, 10, false);
The variable overallContainer is a Movie Clip that I added
using the GUI. overallContainer has four other movie clips as
children, and each of those four movie clips has five to ten
children, which are bitmaps and textFields. When the above line
executes on the N800, everything slides very slowly to the left, at
about 2 fps. Also, it looks jerky and intermittent instead of
smooth. When it executes on a desktop, it runs smoothly, at about
30 fps. 30 fps is the value I set in the fla file. Also, when I try
executing the same Tween on a container with just one child, it
displays smoothly on the N800. When the container has many
children, I think the reason it's not smooth is because the CPU is
being used a lot during the Tween. (The N800's CPU runs at 400
MHz.) Does anyone know of another way to do this same tween, or a
similar effect, using fewer CPU cycles? Or is there another way to
make it smoother? Thanks.

I’ve been looking into various ActionScript 3.0 (AS3)
Tween Class Libraries for Flash. Here’s what I’ve found
so far:
Tweener (
http://code.google.com/p/tweener/)
* robust and fast
* adds about 11K of file size
* can easily tween “currentFrame” to control an
animation forward or backwards along a timeline in a MovieClip
TweenerLite (
http://blog.greensock.com/tweenliteas3/)
* Nice, small and fast.
* adds about 3K of file size
* But I’ve seen buggy behavior when trying to change a
Tween on a property without cancelling Tweens on other properties
of the same MovieClip.
* Should be fine for simple Tweens.
Adobe built-in fl.transitions.Tween Class
* Official Tween class from Adobe
* adds about 2K of file size
* Much slower than Tweener and TweenLite
* Tween to multiple properties require multiple Tween
objects
If you are using Adobe's built-in fl.transitions.Tween Class
then I'd suggest trying either Tweener or TweenLite.
Good luck and let us know how it works out. I'm curious how
the Flash performance on the N800 will be.
-Norm

Similar Messages

  • Free Transform breaks Motion Tweens

    Sigh! Normally I try to solve problems myself... but Google isn't giving me anything about this so maybe I'm the only one in the world experiencing this particular issue.
    I've used Flash for making games for years now, and I got used to using the old motion tweens for making looping animations for characters. I made the leap from AS2 to AS3 a while ago, and felt like I should try to use these new motion tweens as well since I got CS5...
    I've found them completely unusable, however, due to a bizarre problem that happens when moving around objects using the Free Transform tool.
    For a single character, I'll have a MovieClip with several layers, each with a 'body part' MovieClip on it, then I add the new blue-type motion tweens to all of those layers. At the end of those tweens, I use F6 to (hopefully) duplicate the starting pose; it is meant to loop, after all. Then I'll go about half way between these two keyframes and move bits around to create the A->B->A sort of 'idle' or 'breathing' animation.
    The Free Transform seems dodgy though. If I select all the 'limbs' of a character at once and try to rotate them as a group, it works, but they each end up displaced a bit when I release the mouse; they get offset slightly or rotate a bit in seemingly random directions.
    For example, compare these two images (it's easiest if they're opened in separate tabs, I suppose): http://scraps.fighunter.com/sparkpupagh1.png and http://scraps.fighunter.com/sparkpupagh2.png
    The first one is after rotating it but before I released the mouse button, the second is what the pieces ended up like after I released the button. Most of the pieces ended up where they should be, but the head was offset slightly. This is a mild case; it's usually worse and affects all the pieces, and the slight offsets and rotations build up, too.
    This in itself wouldn't be too bad - though it's frustratingly inaccurate - but it gets much, much worse the more I work on a single animation.
    (Note: These strange changes don't happen if I rotate all the parts as a group if they're not also contained within new motion tweens...)
    Here's a screenshot showing a frame mid-way through an animation, with one of the parts selected: http://scraps.fighunter.com/meepagh1.png
    The Motion Editor is shown, though I don't use that directly.
    With that feather bit selected, I then rotated it a tiny, tiny amount, but didn't *move* it at all. When I released the mouse, it ended up snapping suddenly to here: http://scraps.fighunter.com/meepagh2.png
    That'd be frustrating in itself, but as you can see from the Motion Editor, it's also messed up most of the other frames in the animation, somehow. This becomes unbearable, as you can likely imagine!
    If I edit the graph in the Motion Editor directly to alter the Z value and cause a rotation, it works, without problems... but this is horribly inefficient and unintuitive and not a solution. I can't animate by tweaking numbers. It's like trying to draw a portrait using an Etch-A-Sketch!
    It seems to only be the Free Transform tool that creates this bizarre problem.
    This has been happening since I got CS5 maybe a year or two ago, though I haven't actually had to use the animation tools much until a few days ago so that's why I'm bringing it up now. I've restarted Flash, my computer, etc, etc, many times; I also got the trial version of CS6 today to see if THAT would fix it, but the exact same thing happens in that version too.
    I'm wondering whether it's my computer's fault in some way... I don't know enough about hardware and 'specs' and that sort of stuff to describe anything about it, but I'm using Windows Vista and the computer is fairly old and not exactly what I'd call reliable. I'm planning to get a new one soon, so it'd be nice if that fixed this problem... but frustrating if it doesn't.
    I'll link to the CS6-flavoured .fla that those screenshots are from: http://scraps.fighunter.com/Meep.fla
    I'd very much appreciate it if someone could test this to see if it's happening to only me! If I go to frame 146 (to choose one at random), and try to rotate the foot, slightly, using the Free Transform tool, it breaks in the way that I've described. (Oddly, the head feather rotates without issues on that frame...) If you were to try to do this same thing and it *doesn't* break, it might be a good sign that it's my computer's fault!
    If it *does* break though... then I'd very much appreciate any help I can get from someone who understands the new motion tweens better than I do!
    It'd be a shame to have to go back to Classic Tweens because of this...

    Sigh! Normally I try to solve problems myself... but Google isn't giving me anything about this so maybe I'm the only one in the world experiencing this particular issue.
    I've used Flash for making games for years now, and I got used to using the old motion tweens for making looping animations for characters. I made the leap from AS2 to AS3 a while ago, and felt like I should try to use these new motion tweens as well since I got CS5...
    I've found them completely unusable, however, due to a bizarre problem that happens when moving around objects using the Free Transform tool.
    For a single character, I'll have a MovieClip with several layers, each with a 'body part' MovieClip on it, then I add the new blue-type motion tweens to all of those layers. At the end of those tweens, I use F6 to (hopefully) duplicate the starting pose; it is meant to loop, after all. Then I'll go about half way between these two keyframes and move bits around to create the A->B->A sort of 'idle' or 'breathing' animation.
    The Free Transform seems dodgy though. If I select all the 'limbs' of a character at once and try to rotate them as a group, it works, but they each end up displaced a bit when I release the mouse; they get offset slightly or rotate a bit in seemingly random directions.
    For example, compare these two images (it's easiest if they're opened in separate tabs, I suppose): http://scraps.fighunter.com/sparkpupagh1.png and http://scraps.fighunter.com/sparkpupagh2.png
    The first one is after rotating it but before I released the mouse button, the second is what the pieces ended up like after I released the button. Most of the pieces ended up where they should be, but the head was offset slightly. This is a mild case; it's usually worse and affects all the pieces, and the slight offsets and rotations build up, too.
    This in itself wouldn't be too bad - though it's frustratingly inaccurate - but it gets much, much worse the more I work on a single animation.
    (Note: These strange changes don't happen if I rotate all the parts as a group if they're not also contained within new motion tweens...)
    Here's a screenshot showing a frame mid-way through an animation, with one of the parts selected: http://scraps.fighunter.com/meepagh1.png
    The Motion Editor is shown, though I don't use that directly.
    With that feather bit selected, I then rotated it a tiny, tiny amount, but didn't *move* it at all. When I released the mouse, it ended up snapping suddenly to here: http://scraps.fighunter.com/meepagh2.png
    That'd be frustrating in itself, but as you can see from the Motion Editor, it's also messed up most of the other frames in the animation, somehow. This becomes unbearable, as you can likely imagine!
    If I edit the graph in the Motion Editor directly to alter the Z value and cause a rotation, it works, without problems... but this is horribly inefficient and unintuitive and not a solution. I can't animate by tweaking numbers. It's like trying to draw a portrait using an Etch-A-Sketch!
    It seems to only be the Free Transform tool that creates this bizarre problem.
    This has been happening since I got CS5 maybe a year or two ago, though I haven't actually had to use the animation tools much until a few days ago so that's why I'm bringing it up now. I've restarted Flash, my computer, etc, etc, many times; I also got the trial version of CS6 today to see if THAT would fix it, but the exact same thing happens in that version too.
    I'm wondering whether it's my computer's fault in some way... I don't know enough about hardware and 'specs' and that sort of stuff to describe anything about it, but I'm using Windows Vista and the computer is fairly old and not exactly what I'd call reliable. I'm planning to get a new one soon, so it'd be nice if that fixed this problem... but frustrating if it doesn't.
    I'll link to the CS6-flavoured .fla that those screenshots are from: http://scraps.fighunter.com/Meep.fla
    I'd very much appreciate it if someone could test this to see if it's happening to only me! If I go to frame 146 (to choose one at random), and try to rotate the foot, slightly, using the Free Transform tool, it breaks in the way that I've described. (Oddly, the head feather rotates without issues on that frame...) If you were to try to do this same thing and it *doesn't* break, it might be a good sign that it's my computer's fault!
    If it *does* break though... then I'd very much appreciate any help I can get from someone who understands the new motion tweens better than I do!
    It'd be a shame to have to go back to Classic Tweens because of this...

  • Adobe Flash CS5 - Blur effect & tween not working

    When I try to create a tween for the blur, so it will blur into focus, the tween just wont work. I go to frame 130, keyframe, add blur filter, create clasic tween. But when i go to frame 131 it instantly pops into focus instead of going along the tween time span to blur in gradually(I have the next keyframe at 160). Anyone have any ideas?! This boggles my mind!
    Any help or suggestions would be deeply appreciated
    Thanks in advance...

    What type of textfield are you using?  What type of symbol have you created it as?  If you can show a screenshot of the stage and timeline for what you have it might help to identify the problem.

  • My N800 review

    My full review with pics at http://reviews.phonereport.info
    Cellphones have come a long way and so has Nokia. From being a paper factory to the biggest phone maker, Nokia is widening its products.
    In one way Nokia is making a big mistake as people like convergence and Nokia is separating everything in this Nokia N800 Internet Tablet. By being a dedicated Internet Tablet it should be compatible with every type of Internet connectivity available, but it isn’t, it does not have GSM or UMTS. Unlike its rivals in the UMPC world like Flybook, Nokia has got experience in mobile connectivity but didn’t apply it. Other basic aspect of this Internet Tablet that I can point out in this beginning is that there are no business applications, such as our basic Word Processor or Spreadsheet.
    But like its predecessor 770, this device for a beautiful screen size and resolution, and the hardware is improved.
    The N800 is powered by a TI OMAP 2420 processor boasting 320 MHz of clockspeed, more than the 770 which has only 266 MHz. This device also carries a satisfying 128MB of RAM and 256MB of flash memory, double of the 770.
    A touchscreen is used to control the tablet, and two memory card slots, one MMC and one SD are used to provide extra storage. Besides that, it still got a camera that pops out, a built-in stand and a 3.5mm jack for headset and microphone.
    The availability and the price aren’t very comfortable. I haven’t seen one in South Africa yet beside this one that Wom World sent me for a review, and the price is too much to ask for such a basic device.
    First I saw this huge 4.1” touchscreen with keys on its left side and on top. It was very slim and light for its size. The dimensions are 75x144x13mm and it weighs 206g.
    There is a joypad with 5-way navigation and a blue LED flashing only when the device is locked or when the battery is low. Below that there is a set of three keys: return, menu, and home keys. This keypad is not well built at all because it moves, it does not fit the housing properly.
    If you look at the N800, you will see many speaker holes, which make you think that it is extremely loud. But you shouldn’t judge Nokias by their outwards appearance.
    On the middle there is this huge widescreen boasting 800x480 resolution and strong colours, but there is too much glare and reflection, it can get hectic to watch a movie with your friends in a bus ride, as you will constantly need to tilt and turn the device.
    On the right side there is a slot for the stylus, a 3.5mm jack with 3 channels, an N-Series charger pin, and if you lift up the stand, there is a miniUSB port. This isn’t convenient as I sometimes like to leave my phones lying down during data transfer, and this feature does not let me do that.
    On the left side there is a camera that is hidden and you need to push inside so that the spring mechanism releases it and activates GTalk, it can rotate but it’s only for video calls so it’s a VGA.
    On the top, from left to right, there is a zoom out, fullscreen, zoom in button sets, and then there is an ON/OFF button. On the middle there is a high-sensitive microphone for VoIP. Under the N800 there is SD/miniSD/microSD slot that has a sensor when you open the slot, it deactivates the card. If you put the provided miniSD, its fine, but with your own microSD with adaptor, it’s almost impossible to remove it, in fact, it kept mine inside and I cannot remove it.
    The stand is a good addition to the tablet, there are two positions, on one you can watch a movie as it sits perpendicular to the surface, on the other you can put it on your desk and work with it as it’s at an angle.
    The back cover doesn’t fit the housing and it moves like the keypad. Underneath the cover there is a BP-5L 1500mAH battery that does satisfy the needs of most people. Average standby time is 110 hours, and use time is around 6 hours, tested by me. There is also a MMC slot and a cover sensor, that tells the device if the back cover is open or not.
    The Nokia N800 runs off Linux Maemo Internet Tablet OS 2007. Not a dynamic Operating System at all. First of all, a bad choice from Nokia, as they should stick to Symbian, they are good at it, and people like it. I do not blame Nokia, they wanted to change, but there only problem is that they did not do it properly. It’s not their first Internet Tablet, I never saw the 770, but if it was like this, they didn’t learn much out of it. Clearly this device is intended to people who want to try something new.
    There is an awesome finger recognition system, the device detects if you tap with the stylus or with the finger. If you tap with the finger, larger icons appear and a fullscreen keyboard appears, where you can use both hands to tap letters, and it is really cool because instead of hearing the keys click, you hear the virtual sound. With the stylus, a small keyboard appears where you can use either keys or handwriting recognition. Strange thing, there is no security codes or PIN.
    The UI is very neat but complicated for beginners. Imagine your Windows Desktop with absolutely nothing, only your Start button and System Tray. There is a set of icons in the left, a small taskbar on top, and the rest of desktop is customizable with plugins such as Google Search and Clock. The icons have whatsoever no labels, so you have to guess what they are for, and that’s irritating for beginners.
    There is world icon which has a set of web options and bookmarks, the second icon is practically dedicated to Google Talk but also has email options. Finally the third icon has something like your Start > All programs menu.
    In that Programs Icon, you find Media Player, RSS Feed Reader, Images, File Manager, and Skype. Beneath that, there are a set of Folders:
    * Web – has Web itself and Bookmarks.
    * Contact – Contacts, e-mail (POP3 and IMAP4), Internet Call (VoIP), and IM (Google Talk).
    * Utilities – Calculator, Clock, Notes, PDF Reader, Sketch.
    * Games – Chess, Blocks, Mahjong, Marbles.
    * Tools – Application Manager, Backup/Restore, Control Panel, Connection Manager, Teach Handwriting.
    * Extras – Maemo Pad, Camera, Media Streamer, Rdesktop.
    * Connection – EarthLink.
    * Search.
    * Help.
    The Media Player was disappointing on the audio side, it does support most formats: M3U and PLS playlists, partially on ASX, WAX, WVX and WPL. Supports AAC, AMR, AWB, M4A, MP2, MP3, RA, WAV, WMA. It streams AAC, AMR, AWB, M4A, MP3, MP2, RA, and WAV. On the video side it supports AVI, 3GP MP4, MPE, MPEG, MPG, EM, RMVB and RV. This all seems very good until you deal with it. There is no equalizer, there is no visualization. SRS is not present and the earphones have no bass feeling. The player interacts positively with MP3s but blanks out on AAC, it does not show time or seek bar, it just plays the track.
    The video player is simply great, files in DivX are played in their full resolution and perfect colour, just make sure you do not play movies while the sun is out, the glare is terrible.
    For beginners the video player will not make a difference as there is no tool to convert videos, there is no CD such as Nokia PC Suite. Most people do not have time to look for a suitable N800 converter, as most of them did not even work properly according to my tests.
    You can minimize the music player while browsing the internet. Other basic features of the player are shuffle and repeat. Another bad thing is that while playing music, it goes to screensaver mode so we cannot pause or use other controls.
    These entire Contacts feature is more like a Google Talk package.
    I see Nokia joining Microsoft’s Windows Live for Symbian OS but here it joins Google? Perhaps Microsoft wanted them to use Windows OS on the N800…
    You can see all contacts and sort them by initials or you can group them. The chat feature is slow to start and the video feature is totally useless because Google Talk does not support video chat. You can also block contacts and merge them. Importing and exporting is also possible and it supports Outlook, Outlook Express, Thunderbird, Gmail, vCard, and Nokia phones. You can set presence to On, Away, Busy and define if you want GTalk to login when the N800 establishes a connection.
    The email client is detailed, lets you create unlimited accounts and has a detailed wizard for that purpose, even though Gmail was difficult to setup and Google did not mention N800 on their help pages. As any basic email client, you can retrieve attachments, save sent emails, save drafts, and have an outbox. It is possible to save signatures, but no HTML or images on them. There is also an option to search messages.
    The email client tries to sync email when you access the program even if there is no connection. To send emails is very fast and contains basic word editing features such as changing fonts.
    Internet Calling is close to perfect in both GTalk and Skype, but mostly on Skype as Google Talk always has errors on it.
    Skype is a good add-on to the device, it tells you the balance available and it even lets you buy credit. It’s loaded with features except video call. You can setup sounds like the computer version, leave Skype on the background, receive calls from non-internet numbers, establish voicemail and even call forwarding. It is fast logging in, can save your password or even create an account if you do not own one.
    The PDF reader is complete with zoom options, fullscreen, and with document sending options, you can choose if you want to open images or not and even save the page as another name.
    The Notes application is a simple word processor with font chooser, bullets and few other options, you can also search for words in the text. The file is not saved as a .doc.
    If you are bored or feeling creative, you can always draw pictures or customize the ones you have with different brush thickness and custom colours. The program reminds you to save before quitting.
    All games are built in 3D but there are no advanced games such as car racing, where the processor could help getting some quality across.
    A very well built Chess game is present with tips and levels. There is a Blocks game that plays in portrait mode. Mahjong is also interactive and with clues. Lastly there is Marbles, where you can get to do a combination of marbles in a labyrinth which I find very complicated.
    The Application Manager is not only about uninstalling applications, it lets you browse installable applications, there are 100s of them which can bring some usability on the device. As I am writing this, I notice video centres, and Ogg Vorbis codecs to install on the phone, but no simulation games, only puzzles.
    The Control Panel has pretty much everything needed to manage the N800, it is possible to pair with a Bluetooth Keyboard, set the MMC to act as RAM, define connection method as Bluetooth or Wi-Fi, and even train handwriting recognition.
    The Extras it was me who pretty much installed them, there is Camera, to take photos with the poor camera quality and resolution. Media Streamer does its job pretty well, and same about Internet Radio, although they are soft in volume, and there is Maemo Mapper that is brilliant but slow GPS guiding application, works with external GPS but does not come with preloaded maps, but lets you stream maps from various sources such as Google Earth.
    If after all this you think the software can be dynamic, think again as no other OS is compatible with this, and it lacks on what any businessman would need in such a device, Office applications.
    For this device to achieve its main goal it needs powerful communication skills, and it does. It has the best Wi-Fi antenna I have tried, it detects wireless networks that not even my notebook or my N95 can. It can be set to 100mW or 10mW and it supports all security protocols in 802.11b/g networks.
    There is also a Bluetooth connection for the device to connect via a phone and use Data Cal or Packet Access. You can use the N800 to explore devices that support OBEX file transfer, but you cannot browse the N800 via OBEX, only use it for Object Push.
    The only way for a computer to browse the two memory cards in the n800 is mass storage mode. There is no TV-out either, but the high-resolution screen is enough for everything, but a docking station would have been useful.
    The sound is just terrible, there are stereo speakers but they are light-years away from loudness, in music or movies. Thankfully there is a 3.5mm jack and stereo earphones are supplied, or else it would be useless to have a media player. With two memory card ports you could have around 10GB of space, if you can afford it, perhaps and internal hard drive would have been useful. For basic sounds like browsing the internet, the speakers are enough but VoIP sounds too soft in the Tablet, a real waste of potential.
    Now for the main part of the device, the Internet, or Web as Nokia calls it. Obviously multipage browsing is supported which makes browsing easier and faster. Fullscreen browsing is the best part with the lovely touchscreen. Media Streaming is fast and high quality so it depends on the server for the speed provided. Javascript is supported as well so no internet content is missed. On the security side, SSL2 is possible, but there is no parental lock. You can manage bookmarks like a proper browser or email webpages. There is even an option to set the current page as home. Zooming helps navigation, but what really makes it fun is thumb dragging like the iPhone.
    The History is divided in dates, and plug-ins can be installed such as Shockwave Flash. I have no complaints about the browser, its simply wonderful.
    There isnt much else to talk about, the N800 really made news in my community as they don’t sell them in South Africa, but now its time to give it back to Wom World. I believe that with time the OS will improve and new applications will come up. Im really looking for an upgrade with a keyboard in the box, a high-end game, and most importantly, other application. (I know much of this is coming…soon).
    Advantages: Excellent web browser, powerful Wi-Fi antenna, 2 memory card slots, 3.5mm jack, high resolution, VoIP, DivX player.
    Disadvantages: No keyboard, very soft speakers, no hard drive, low spec camera, non-dynamic OS, no video converter, no Office applications.
    Rating: 7.4/10
    Moderator note: e-mail address removedMessage Edited by michaels on 22-Oct-2007 01:00 PM
    Visit http://www.phonereport.info for the latest phone news

    I think it is also done by edwardquan:/discussions/board/message?board.id=smartphones&message.id=52200&query.id=227350#M52200
    Two reviews two thumbs up!!!!

  • Problem with Tweens and HitTest

    Hi guys,
    I have a problem with by code generated Tweens and HitTest.
    But first of all the backgeround info. I have a couple of dots. They are generated from a single movieclip and differ in scale. The idea is, that the biggest one ist set to the middle position of the stage.
    The others are coming from the outer stage border and are moving towards the middle position. This is done by using the Tween class.
    What should happen is, that they stop exactly at the border of the dots which are already in the middle. In the beginning there is just the main, big dot which was manually positioned to the middle. When the first dot reached its position, the bounding box should include this new dot.
    I use the hitTestObjects method to stop the Tweeing.
    The problem is, that there is a 80% chance that the dots have gaps or overlapping each other. Any thoughts on that?
    Thanks for every reply!
    This is the hitTesting Code in the main class:
    public function hitTesting(e:Event):void{
                                  for(var i:int=0; i<dotArray.length;i++){
                                                      for(var j:int=i+1; j<dotArray.length;j++){
                                                                if(dotArray[i].hitTestObject(dotArray[j])==true){
                                                                          dotArray[i].stopTweening();
                                                                          dotArray[j].stopTweening();
    This is the code for a single Dot
    public function Dot(anchorArray:Array,randomX:int,randomY:int,scaleVal:Number,first:Boolean, delayVal:Number, lastElement:Boolean, values:Array) {
         this.x=randomX;
         this.y=randomY;
         this.scaleX=this.scaleY=scaleVal;
         this.valueName=values[0];
         this.countValue=values[1];
         this.gRanking=values[2]
         this.lastElement= lastElement;
         this.first=first;
          if(!first){
               this.xTween = new Tween(this, "x", None.easeNone, this.x, anchorArray[0], 20, false);
               this.yTween = new Tween(this, "y", None.easeNone, this.y, anchorArray[1], 20, false);
               this.xTween.start();
               this.yTween.start();
    public function stopTweening():void{
      if(!first){
          if(lastElement)
               parent.removeEventListener(Event.ENTER_FRAME, parent.hitTesting);
          xTween.stop();
          yTween.stop();

    Ok guys,
    found a solution. It seems to be, that the build in HitTest functionality is to inaccurate for my problem.
    I found a better implementation here.
    Tanks for reading.
    -alex

  • I am trying to create a simple animated gif in Photoshop. I've set up my frames and want to use the tween to make the transitions less jerky. When I tween between frame 1 and frame 2 the object in frame two goes out of position, appearing in a different p

    I am trying to create a simple animated gif in Photoshop. I've set up my frames and want to use the tween to make the transitions less jerky. When I tween between frame 1 and frame 2 the object in frame two goes out of position, appearing in a different place than where it is on frame 2. Confused!

    Hi Melissa - thanks for your interest. Here's the first frame, the second frame and the tween frame. I don't understand why the tween is changing the position of the object in frame 2, was expecting it to just fade from one frame to the next.

  • How do I create 2 motion tweens for one line of text?  the text needs to "fly-in-right", I can do that,

    how do I create 2 motion tweens for one line of text?  the text needs to "fly-in-right", I can do that, then it needs to "fly-out-bottom" again, I can do that, but not on the same line of text...any ideas...

    my question
    1- there is any way to assign the Fetch process to specific region so the process take all item in these region only.
    2- how can create manual process to fetch row into specific items in page ( i tray these code
    SELECT col1, col2, col3 ....
    INTO :P1_ITEM1, :P1_ITEM, :P1_ITEM...
    FROM table
    WHERE id = :P_id ) but no data retrieve .
    I do not think that it is possible to have more than one Automated Row Fetch process in a given page. See the thread:
    ORA-01403: no data found : Unable to fetch row multiple automated row fetch
    On your second question, the manual process should work provided:
    P_ID has a value when the process executes. You can do it this way:
    i. Make this process as a on-load After/Before header process
    ii. Make sure that P_ID page item has value when the process executes (set it from another page or before the pl/sql process executes)

  • How many motions tweens can you have on a timeline?

    I'm a college student in Seattle.  We just had our mid-terms in Flash CS5.  One of the really simple questions was "How many motion tweens can you have on a timeline."  Yup.  The answer is one...... or is it?  I had a long discussion with my tutor (who is the greatest tutor in the world) and he wanted to think about it. I said to him that I thought that one motion tween was wrong because you can click on an object in the timeline, make it a motion tween, and double click it and make several motion tweens.  So, essentially, you can have more than one motion tween on a timeline.  Is anyone able to advise me because this is all about grades!

    You can have quite a few motion tweens on a timeline.  You can even have them happening simultaneously (I don't know of a specific limit), as long as they are all on their own layers.  Though the more you add simultaneously the more they can weigh down the speed of things running.
    If you need to prove this to someone, the easiest way is to create it and demonstrate it.  But you may want to check the exact wording of the question... it would not be beyond an examiner to throw a trick question in.

  • Is there a way to make the Tween class move XY?

    I want to move an object across the screen. For the first 10 x pixels I want it to also move 10 y pixels. So if I was manually coding it I would do
    for (i = 0; i < 10; i++) {
         x + i;
         y +i
    Once it gets to the max x position I want it to reverse y.
    At the same time I would like to reduce the size of the object for the same by 1% while moving y and then reversing it back to the normal size at when the y is reversed.
    I think maybe the size can be done with the transition but I'm not sure.
    Thanks for any help.
    Joe.

    Where object is the instance name of the object to move
    import fl.transitions.Tween;
    import fl.transitions.TweenEvent;
    var xTween:Tween;
    var yTween:Tween;
    var yScale:Tween;
    var XScale:Tween;
    var initX:Number;
    var initY:Number;
    var finishX:Number;
    var finishY:Number;
    var timeTweens:int = 5;
    var newScaleX:Number=0.3;
    var newScaleY:Number=0.3;
    xTween = new Tween(object,"x",Strong.easeOut,initX,finishX,timeTweens,true);
    yTween = new Tween(object,"y",Strong.easeOut,initY,finishY,timeTweens,true);
    xTween.addEventListener(TweenEvent.MOTION_FINISH, reverseY);
    function reverseY(e:TweenEvent):void{
        yTween = new Tween(object,"x",Strong.easeOut,finishY,initY,timeTweens,true);
        XScale = new Tween(object,"scaleX",Strong.easeOut,1,newScaleX,timeTweens,true);
        yScale = new Tween(object,"scaleY",Strong.easeOut,1,newScaleY,timeTweens,true);

  • Trying to tween a colour change on an mc with AS...

    Hi
    I have a Flash front-end that loads menu data from an XML
    file, duplicates an empty movie clip and populates a dynamic text
    field with each menu item mc and then populates the text fields
    with the text from the XML. With help from others in the forum I've
    finally managed to get the movement tween working perfectly,
    however I can get the rollOver call to change the colour of the mc
    - essentially I want the menu itm mc when you rollover it. I've
    tried using setRGB, but that's not doing anything. Any help would
    be much appreciated. Here's the code:

    LuigiL thanks a lot for your response, and the interesting
    link to the fuse engine...looks definetely worth a try.
    now back to my question:
    of course you can make any function return a string value and
    pass this to the Tween class as a constructor parameter, thats just
    what I said before:
    "the Tweeing class modifies object properties, but can not
    call (a) function"
    waht I wanted to say with that (which was maybe misunderstood
    by you) is that the Tween class can modify any objects pubic
    properties, but it can not call any of the _objects_ functions. So
    I am not sure if you misunderstood my statement or if I am realy
    wrong.
    Your example also only shows how to modify any property of
    the mc object (even though the name of the property is returned by
    a function, therefore is dynamic) with the Tween-Class but not how
    to call an objects funtion for every Tween step. And this is what
    RedBox tried to do, which, as I said is not possible.
    Do you agree?

  • How can I set up a keyboard shortcut for 'Remove Tween' in Flash Pro CC 2014?

    I'm trying to set this up, as I have in previous versions of Flash, but the 'Remove Tween' command (among other commands) is not available in the Keyboard Shortcut window.
    Is there some other way to add this shortcut?
    Thanks,
    George

    I don't think this had a keyboard shortcut even before (checked in CS6). There's an alternative though.
    1. Create a JSFL file with following code and save it in the commands folder as 'Remove Tween'.
         fl.getDocumentDOM().getTimeline().setFrameProperty('tweenType', 'none');
    2. Now goto Edit Menu > Keyboard Shortcuts..
    3. Search for 'Remove Tween' and assign a keyboard shortcut to it.
    Now everytime you press the assigned key - jsfl script is executed which essentially removes the tween from selected frame. (works for Classic and Shape tween but not Motion Tweens)

  • Poor quality motion tween with png image, tried "Trace Bitmap", but then it looks like a newspaper

    Greetings all,
    I've been a software developer for many years, but am not very savy in the design elements.  So, much of what I'm going to say will probably sound "newbie", so please forgive me in advance.
    So, I'm trying to get a transparent image to fly in from the side.  So, I *thought* I was doing the correct thing by moving the "symbol" off of the visible portion of the stage, and creating a motion tween to move it onto the stage.  The motion works, but the quality of the image in general (and the text in specific) looks pixelated.
    Thus, I did a little bit of snooping, and everyone said that you should start with a bitmap.  So I saved the image from Photoshop into .bmp format, and was able to set the properties to "allow smoothing" and with lossless compression.  So far, so good.  Now, as I expected, the transparency is no longer there... 
    So here's the question:  how can I make this image retain its quality, still have transparency, and a motion tween?
    It seems like this is some set of characteristics that don't play well together, even though I see this type of thing online ALL the time.
    I tried "Trace Bitmap" to convert to a raster image, and tried to follow some suggestions online, but when I do "Trace Bitmap", it ends up looking like it has a bunch of grayish dots on the image... definitely NOT what I was expecting.
    Thanks for your help!
    JPB

    Go back to using the png, and set the smoothing allowance. That should take care of the quality.  In Flash, a "bitmap" will often refer to any type of image element... .bmp's are probably dinosaurs (as in extinct) where Flash usage is concerned.

  • How do i start a motion tween by clicking a button and stop it at the end of the tween.

    Hi guys,
    I am creating a website for a project and i am trying to activate a box bropping down from another box when i click on the enter here button i have created. I have set the motion tween and its working when i preview i just unsure of the correct actionscript to start this tween when i have clicked the entere here button or how to stop it at the end of the tween.
    I am scared i may have made the layers in the wrong place, they are all currently in scene 1. does my second box that is dropping down need to be set inside the layers of the first box?
    Bit of a newbie at this.
    Thanks in advance!

    Create the dropping box movieclip as an animation by itself with a stop() coomand in the first frame and a stop() command in the last frame.  The click of the button should tell the movieclip to play(); at which point the animation should play and stop at the end.
    Another option would be to use an actionscript Tween to make the box drop.  Going that route the animation is what you code it to be and there is no need to have to stop it as it will end where you tell the Tween to end at.

  • N800 can no longer see any wireless access points....

    Not only can I not see my WLAN, but I can't see any of the many in the surrounding area. I had no problem getting and staying connected in the previous weeks, but for whatever reason, a scan of for WLANs returns zero as of yesterday. -chris

    The one thing that changed, is I switched my WLAN router over to a new 802.11N router. Used the same SSID, same WPA pre-shared key, etc. I have a feeling this had something to do with it, although my other systems connect just fine (PC, Mac, PSP, Tivo, etc).
    I've made some progress though. Even though I couldn't see any WLANs with a scan, I manually added my access point by entering the SSID and everything else. This time when I did a scan, my WLAN showed up, and all the others in the vicinity did too. I tried to connect to mine, and it failed, so I tried connecting to a neighbor's that was unsecured and voila...connected. Not ideal, but progress. So I then deleted my manually entered connection, disconnected then rescanned. The first scan was blank, but on the second, I saw all of the local WLANs, including mine. I tried connecting; entered the WPA pre-shared key again and bang...connected.
    My guesss is that my N800 got really confused when it saw the same SSID, but with a different MAC address. Just seemed odd that it wouldn't see the other WLANs in the area. This behavior even continued after a full reset and load of the OS. I wonder if there are some network config files that got corrupt with the changes I made. If so, perhaps there's a way to dump these settings manually?
    Thanks for you response. -chris

  • N800 no longer detecting any wireless access point

    The device is working fine couple days ago, then today when I turn it on, the "connection manager" can no longer see any wireless access point. Not only my home network, also
    my neighbor's wlan. My laptop can detect 10 networks
    around my house. I try upgrad my os to the latest version and it is still not working. Is anyone has similar experience ? Is it a hardware problem ? Any advice will be
    welcome.

    It happened to my N800 too just a couple of days ago after I installed a number of applications. I have already removed those applications but the N800 still would not detect the access points that it usually detects with no problem.
    It could not detect the WLAN inside our house even if the N800 was physically sitting on top of the router. It would intermittently detect my neighbor's WLAN (the one which I usually use) but it would not log on to it.
    I tried removing the battery hoping to reset it but nothing changed.
    It also would not connect to my PC via USB. The computer could not detect it. This one happened even before I installed those applications.
    Help!!!!

Maybe you are looking for