Add two animations to the same movieclip
Hi there,
I was wondering if anyone could tell me how to fade my movie
clip out after using tweener, or if it can even be done? If anyone
has any suggestions how to find the answer to this question it
would be greatly appreciated.
In addition, if anyone can direct to a place/book/tutorial
that help me how to write sequential animation to one movie clip
w/out button events, that too would be very helpful!
Thank you very much!
In addition, you can pass parameters to the function called
when the tween is finished by passing along an object to
onCompleteParams. You can create sequential animations using this
method (although it may not necessarily be the most efficient
implementation). Also, be sure to check out the
Tweener
Documentation for more help.
Similar Messages
-
Two animations on the same page Html5 canvas (flash cc)
Hi all,
I have been using Flash CC to create some nice html5 animations and I am really enjoying it. However I wanted to add more than one animation to the same page. I have managed to get two animations running on the same page, but I am having some issues whereby only one of the animations load the supported images where as the second one does not. I have pasted my code below, any help would be gratefully received. In the long term I want to add many animations to the same page, so would appreciate some help on how this can be done more efficiently. Many thanks in advance.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>animation test</title>
<script src="http://code.createjs.com/easeljs-0.7.0.min.js"></script>
<script src="http://code.createjs.com/tweenjs-0.5.0.min.js"></script>
<script src="http://code.createjs.com/movieclip-0.7.0.min.js"></script>
<script src="http://code.createjs.com/preloadjs-0.4.0.min.js"></script>
<script src="animation-three.js"></script>
<script src="chart-animation.js"></script>
<script>
var canvas, stage, exportRoot;
function init() {
canvas = document.getElementById("graph");
canvas = document.getElementById("piechart");
images = images||{};
var loader = new createjs.LoadQueue(false);
loader.addEventListener("fileload", handleFileLoad);
loader.addEventListener("complete", handleComplete);
loader.loadManifest(lib.properties.manifest);
function handleFileLoad(evt) {
if (evt.item.type == "image") { images[evt.item.id] = evt.result; }
function handleComplete() {
exportRoot = new lib.animationthree();
stage = new createjs.Stage(graph);
stage.addChild(exportRoot);
stage.update();
createjs.Ticker.setFPS(30);
createjs.Ticker.addEventListener("tick", stage);
exportRoot = new lib.chartanimation();
stage = new createjs.Stage(piechart);
stage.addChild(exportRoot);
stage.update();
createjs.Ticker.setFPS(30);
createjs.Ticker.addEventListener("tick", stage);
</script>
</head>
<body onload="init();" style="background-color:#D4D4D4">
<canvas id="graph" width="530" height="410" style="background-color:#FFFFFF"></canvas>
<canvas id="piechart" width="530" height="410" style="background-color:#FFFFFF"></canvas>
</body>
</html>Hi all,
I have been using Flash CC to create some nice html5 animations and I am really enjoying it. However I wanted to add more than one animation to the same page. I have managed to get two animations running on the same page, but I am having some issues whereby only one of the animations load the supported images where as the second one does not. I have pasted my code below, any help would be gratefully received. In the long term I want to add many animations to the same page, so would appreciate some help on how this can be done more efficiently. Many thanks in advance.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>animation test</title>
<script src="http://code.createjs.com/easeljs-0.7.0.min.js"></script>
<script src="http://code.createjs.com/tweenjs-0.5.0.min.js"></script>
<script src="http://code.createjs.com/movieclip-0.7.0.min.js"></script>
<script src="http://code.createjs.com/preloadjs-0.4.0.min.js"></script>
<script src="animation-three.js"></script>
<script src="chart-animation.js"></script>
<script>
var canvas, stage, exportRoot;
function init() {
canvas = document.getElementById("graph");
canvas = document.getElementById("piechart");
images = images||{};
var loader = new createjs.LoadQueue(false);
loader.addEventListener("fileload", handleFileLoad);
loader.addEventListener("complete", handleComplete);
loader.loadManifest(lib.properties.manifest);
function handleFileLoad(evt) {
if (evt.item.type == "image") { images[evt.item.id] = evt.result; }
function handleComplete() {
exportRoot = new lib.animationthree();
stage = new createjs.Stage(graph);
stage.addChild(exportRoot);
stage.update();
createjs.Ticker.setFPS(30);
createjs.Ticker.addEventListener("tick", stage);
exportRoot = new lib.chartanimation();
stage = new createjs.Stage(piechart);
stage.addChild(exportRoot);
stage.update();
createjs.Ticker.setFPS(30);
createjs.Ticker.addEventListener("tick", stage);
</script>
</head>
<body onload="init();" style="background-color:#D4D4D4">
<canvas id="graph" width="530" height="410" style="background-color:#FFFFFF"></canvas>
<canvas id="piechart" width="530" height="410" style="background-color:#FFFFFF"></canvas>
</body>
</html> -
Is there a way to add two windows in the same window?
is there a way to add two windows in the same window?
what do you mean by your first use of the word "window"? do you mean a visible frame? a section of the gui that the user doesnt see?
or perhaps you mean you want to add multiple tabs to a single window, so that switching between tabs shows different windows? -
How can i add two values under the same property?
Hi all,
How can i add two values under the same property name in a
prop list? For example:
[question1: "item1","item2", question2: "item3","item4"]
To be more precise, i am creating a property list and I want
whenever a two values have the same property name to be added int
he list under the same property. For example:
gMyList.AddProp (#""&question&"" & x,
member("input").text)
question is a variable that is updated fromt he user's input.
Now, whenever somethign like this happens:
question = "question1"
member("input").text = "five"
question = "question1"
member("input").text = "six"
I want to output list to be:
[question1: "five","six"] and so on
Any ideas?Maybe you could make each property a list (so you have a
property list full
of lists), and add multiple values to the list held in a
particular
property?
Cheers
Richard Smith -
Attach 2 of the same movieclips at once
is it possible to attach the same movieclip twice?
for example i have two buttons and both attack Main_Page however when i test the flash and error reads "Duplicate function definition"
is there a way of attaching the same movieclip more than once?
im using this code to attach the movie but when i add this code twice on two buttons duplicate error shows:
s_next.addEventListener(MouseEvent.CLICK, attachMovieclip);
function attachMovieclip(event:MouseEvent):void {
var addPage1:Page1 = new Page1();
addPage1.x= 0
addPage1.y= 0
addChild(addPage1);
thanks for any helpthere are 7 buttons in total on the main page.
Under the contents menu:
Children Day - 1 instance name = s_gotoPage1
Yellow color day - 2 instance name = s_gotoPage2
Summer Festival - 3 instance name = s_gotoPage3
TWP Daily - 4 instance name = s_gotoPage4
The next page button (bottom right) instance name = s_next
the two red buttons up top link to page 1 and page 3
the page 1 button has instance name: s_gotoPage1a
the page 3 button has instance name: s_gotoPage3a
There are a total of 5 pages
The class name for these pages are as follows:
Page0 (main page)
Page1
Page2
Page3
Page4
i can also provide the fla source if needed -
Can two users on the same Mac sync contacts by using the same Apple ID in the iCloud settings?
Can two users on the same Mac sync contacts by using the same Apple ID in the iCloud settings?
Hi Barney,
That's exactly what I want. I have a personal user and a business user on my MacBook Pro. I want both users to have the same contacts so if I add a contact while I'm logged into my personal user, it will show up when I'm logged into my business user. I want both contacts books to be exactly the same; like you said. So, I used my business user AppleID when I enabled iCloud for my personal user and I enabled iCloud for my business user with that Apple ID as well. For my personal user, I selected Contacts and Calendars to sync with iCloud. For my business user, I selected everything to sync with iCloud. The problem is... it didn't change anything. I restarted my computer to see if that would do anything but nothing happened. I'm not super savvy with Apple products, so maybe I'm completely confused.
Hi Xeni,
Thank you for your response, as well.
KEW -
I'm trying to use home sharing to share content between libraries so some of the combined content in a given library, can be synced to an ipad. Instad of having mulitple computers, i have multiple libraries on the same computer using two desktops. How do I share within the same computer?
iTunes must be running for home sharing to work. There is no way to have home sharing running simultaniously for two users on the same computer.
Simply add the media files using File > Add File/Folder option in iTunes. -
Can I transfer songs between two libraries on the same computer?
I have two libraries on my computer, was wondering if any one knows a simple painless way to transfer music from one to the other.
The reason is my music collection has gotten unfathomably large over the years, and I no longer want it to be that way. I was thinking maybe I could just find someway to "hide" a majority of the songs most of the time, and just show the ones i'm into at the moment. Since i couldn't find a way to do that, i made another entire library (both under the same user), thinking i would keep the bulk in one and the songs i was into for the moment in another, but have them linking to the same folder containing all the music files. This is working fine, but i would love an easier way to transfer the songs over to the favourites library, especially someway to do all the songs in a play list.
Any ideas would be greatly appreciated
Thank you!iTunes must be running for home sharing to work. There is no way to have home sharing running simultaniously for two users on the same computer.
Simply add the media files using File > Add File/Folder option in iTunes. -
Sharing two folders with the same name
Hi all.
I have two folders with the same name and I would like to be able to share these under different share names. Problem is, this doesn't seem to be possible.
For instance, try doing this in File Sharing under Server Preferences:
* Click +, add /Data/Media
* Edit permissions on "Media" to permit guest access
* Click +, add /Volumes/Drobo/Media
* Edit permissions on "Media" (make sure you click the right one!) to permit guess access.
This appears on the surface to work, but what it has actually done is to delete the share for /Data/Media. If you exit the File Sharing pane and go back into it again, it will be gone.
Server Admin has the ability to rename a share's name from AFP,SMB,FTP,etc. but this doesn't appear to help either -- I tried adding the second media first, renaming its shared name to Media2 over in Server Admin, and then adding the first. Server Preferences just deletes the second one.
Such a basic thing as being able to rename the share from Server Preferences would appear to be enough to get around this, but since Apple didn't make it possible, I have no idea how to proceed.
Does anyone else have this working, and how did you do it?The best way to solve this, would be make sure you use database paraneter GLOBAL_NAME, to change your database from lets say orcl1 to orcl1.mycorpdomain.com, by this you can make sure each database actualy has a different name. Your other database then could be named orcl1.example.com.
When chaning the display name in EM you might face other issues later on when for instance trying to run a restore using EM for one of these databases.
Regards
Rob
http://oemgc.wordpress.com -
HT3819 Can you home share with two libraries on the same computer?
Can home share be used with two libraries on the same computer?
iTunes must be running for home sharing to work. There is no way to have home sharing running simultaniously for two users on the same computer.
Simply add the media files using File > Add File/Folder option in iTunes. -
Can two frames use the same SessionInfo object?
Hi,
I have some questions on using InfoBus Frame.
Do parent frame and child frame HAVE TO make use the same
SessionInfo object?
I tried to show Master table and Detailed table in seperate
frame without login twice. I am lucky it works since I happened
to make two frames have the same SessionInfo object which is
sessionInfo1 and conmment out sessionInfo1.publishSession()in
Detailed frame.
But when I tried to pass Master frame SessionInfo object to
Detailed frame there is nothing showing up in the detailed frame
it is just blank frame.
So two frames have to use the same SessionInfo object . Dose it
make sense?
I would really appreciate anyone who can enlighten me on this
subject.
Thanks you so much for the attention.
Julie Chi
nullGopal (guest) wrote:
: HI,
: Julie Chi (guest) wrote:
: : So two frames have to use the same SessionInfo object . Dose
it
: : make sense?
: Yes, if you are working with a master details relation, data
for
: both need to be fetched from the same oracle session. So both
ur
: frames need to refer the same session. If u refer the detail
: frame to a different session, u will not see any data, because
: the information comes from a different oracle session which is
: not aware of the master data that is fetched. I think it is
: clear.
: regards,
: --Gopal
1.Use wizard and test the frame
2.pass the sessioninfo object in parent to child(put method in
child, call from parent e.g ..getsessionInfo(SessionInfo ss)
3.pass the sessioninfo object to rowsetinfo in child
4.add Database authentication (username/password is sufficient)
methods right before publish method
*publish activates RowSetInfo and connects to db
5.add methods in parent to call child
That should work though depending on how you have set up your
wizard generated java form, might tweak
Thanks
iggy de iguana
null -
How do I make my animation look the same in different browsers?
Hi!
When I play my animation in different browsers it don't look the same as in the preview. In IE some of the parts of the animation have disappeared and in Chrome the pats are no longer in their right places. See picture below.
How do I do to make the animations look the same in different browsers?
(In the end I want to use the animations in my captivate 8 project. )
BR,
MAh, found the issue, the problem is with the name of the two images,
genomförande (instead you can use genomforande)
Grå bakgrund (instead you can use grabakgrund)
Seems like IE is having issue with those special characters.
hth,
Vivekuma -
How do i create one source file that feeds two users on the same pro book?
how do i create one source file/folder of photos that feeds two users on the same pro book?
Well you can do exactly the same with a folder of photos, just put in the Users/Shared folder.
Iphoto is a mite more complex than this. It's a database and so there's a bit more involved.
For iPhoto 09 (version 8.0.2) and later:
What you mean by 'share'.
If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
Remember iPhoto must be running in both accounts for this to work.
If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
(You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up. -
Two ipods on the same computer?
i have an ipod, and my father just bought one, and he wants me to put his music in his ipod, how can i add music in his ipod without adding my music that is already in my computer.
CAn i have two libraries in the same i tunes?Yup. These links should help:
Natalie Beresford: Multiple iPods/iTunes Installations
How to use multiple iPods with one computer
How to share music between different accounts on a single computer -
Re: if weblogic can serve two ports at the same time?
That's not true. WebLogic supports a non-secure and secure listener port at the
same time. That was one of the selling points for my organization.
Michael Girdley wrote:
If, you mean the same port on two different IP addresses, then the answer is
yes.
If, you mean two different ports on the same IP address, then the answer is
no.
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
fxy <[email protected]> wrote in message
news:8fdk99$t9$[email protected]..
<URGENT QUESTION>
I'd like to know if weblogic can support two ports at the same time.
thank you in advance.
<URGENT QUESTION>Well, the question was really meant to see if any change was made to WL to support
this, not because I didn't believe Michael Girdley.
P.S., this is something Websphere 4.0 let's you do...In case this encourages someone
to add this support.
"Mike Reiche" <[email protected]> wrote:
>
If you don't believe Michael Girdley, then I don't know why you would
believe anyone
else. I believe the answer is still 'no'.
Why do they 'have to be on different ports'? We block requests by URI
- so just
block all requests to /youradminapp/* at the firewall. Or you can block
them at
your Web Server. Or restrict them by user in WL.
Mike
you"Anil Arora" <[email protected]> wrote:
Is it still true that WL 6.0 cannot host multiple (non-secure) HTTPports
on one
server? We need this capability within one JVM to allow one web application
to
be accessed from one port while another through a second port. Forexample,
we
have a application to be exposed through the firewall at port 7001.
Then we have
another admin application to only be accessed within the firewall. But
they need
to be deployed within the same JVM since they may have shared statebetween
them.
Thanks,
Anil
"Michael Girdley" <[email protected]> wrote:
I'm sorry, to clarify my statement: I was speaking about nonsecure
communications. Weblogic can only support one listener port at a time.
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
Allen Akers <[email protected]> wrote in message
news:[email protected]...
That's not true. WebLogic supports a non-secure and secure listenerport
at the
same time. That was one of the selling points for my organization.
Michael Girdley wrote:
If, you mean the same port on two different IP addresses, then
the
answer is
yes.
If, you mean two different ports on the same IP address, then theanswer
is
no.
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
fxy <[email protected]> wrote in message
news:[email protected]...
<URGENT QUESTION>
I'd like to know if weblogic can support two ports at the same
time.
thank you in advance.
<URGENT QUESTION>
Maybe you are looking for
-
Error 7 occurred at Open File .vi: Open File.
Good morning I'm getting this error in my code and I don't understand how to solve it. I have done a previous code, a test one, and it works. When I put it with a more complex code gives me the error. I'm posting both codes. Can someone help me? Th
-
Using external Jar with a mobile application
Hi folks! I need some help with my application, i make a simple mobile application and i need to use a external jar, in this case, this jar have a simple JAVA class that represents a manipulation with eSWT, so my problem is How to using external J
-
The CENTRAL SOURCE OF INFORMATION about SAP NetWeaver Identity Management
Check out the central homepage for "SAP NetWeaver Identity Management" on the SDN: The direct link to <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/nw-identitymanagement">SAP NetWeaver Identity Management</a> ca
-
Canvas does not recognize the font Arial Narrow
After setting the font property on the canvas context to "Arial Narrow", the context does not render text in the desired font. Other browsers (IE9, IE10, IE11, Chrome, Safari) all render Arial Narrow correctly. The css tricks people have mentioned on
-
ESS- Open Enrollment quick link - no plan selections
I've enabled the Open Enrollment Quick link in Benefits and Payment. When I execute it, I get the error message "No plan selections could be prepared for the specified enrollment reason. Contact your Benefits Administrator for assistance" R/3 and IT