A little problem with an object
Hi guys...
I discovered a problem with an object, but I Don t see where the problem may be...
I have a 'bomb' added to the step only if the var bomb is greater than or equal to 1... and, of course, if you enjoy it, the var Gets a-... However, after a while, it seems once again
Any ideas?
Here is the code bound to it:
var dynamite: Loader = new Loader();
Dynamite.Load (new URLRequest ("dynamite.png"));
Dynamite.x = 650;
Dynamite.y = - 10;
var bombsound:Sound = new Sound();
var bombsoundChannel:SoundChannel = new SoundChannel();
var bombreq:URLRequest = new URLRequest ("bombexplosion.mp3");
bombsound. Load (bombreq);
If (! level) {var level: int = 1 ;}}
var lvlup:int = 200;
var updlvl:int = (lvlup * level);
If (!) (Count) {var count = 0 ;}
If (! bomb) {var bomb: int = 1 ;}}
dynamite.addEventListener (MouseEvent.CLICK, buttocks);
function bum(e:MouseEvent):void {}
If (sonido) bombsoundChannel = bombsound.play ();
-bomb;
If (bomb == 0) {}
If (dynamite.parent) {dynamite.parent.removeChild (dynamite) ;}}
kill every1
}
function level1(): void {}
If (level == 1) {}
addChild (nivel1pic);
If (bomb > = 1) {addChild (dynamite) ;}
}
}
function level3(): void {}
If (level == 3) {}
removerViejoNivel();
addChild (nivel3pic);
If (bomb > = 1) {addChild (dynamite) ;}
}
}
function level5(): void {}
If (level == 5) {}
removerViejoNivel();
addChild (nivel5pic);
If (bomb > = 1) {addChild (dynamite) ;}
}
}
function level7(): void {}
If (level == 7) {}
removerViejoNivel();
addChild (nivel7pic);
If (bomb > = 1) {addChild (dynamite) ;}
}
}
function level9(): void {}
If (level == 9) {}
removerViejoNivel();
addChild (nivel9pic);
If (bomb > = 1) {addChild (dynamite) ;}
}
}
function level12(): void {}
If (level == 12) {}
removerViejoNivel();
addChild (nivel12pic);
If (bomb > = 1) {addChild (dynamite) ;}
}
}
function updateLevel(amount:int):void {}
level += amount;
Level1();
Level3();
Level5();
level7();
level9();
level12();
}
Level1();
Level3();
Level5();
level7();
level9();
level12();
Thank you!
Use the function trace to track when the bomb is added. IF this happens in each of the functions level, then add traces to everyone to see where and when that happens.
Tags: Adobe Animate
Similar Questions
-
I'm having a little problem with my Hotmail, if I try to send a new email, it takes me to windows live highlights page, if I do a search, it won't take me to the first pages of search and it takes me to the windows live made highlights page. If I try to remove messages from hotmail, it takes me to the windows live made highlights page
driving me crazy
I did a system restore, reinstalled IE 8 defragmented and run an anti virus scan, please help
original title: I'm having a small problem with my Hotmail
Hello PaulaSteptoe,
The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:
Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.
-
I have little problem with my disk utility.
Hello Sir/Madam...
I have a little problem that I can't fix it.... so please can someone help me with this question, I can only explain with this image as an attachment, I thank those still and wish everyone the best chance.
Make a backup, best 2 separated on 2 discs. Start of recovery volume (command - R on a restart, or hold down the option/Alt during a restart and select the Volume of recovery). Run the check/repair disk utility and repair permissions until you get no error. If this doesn't resolve the problem, try reformatting the drive using Disk Utility/Erase Mac OS extended (journaled), then click on the Option button and select GUID. Then re-install the operating system.
-
Problems with library objects / Smart in 2015 CC
Everyone is having a problem with their library all convert to dynamic objects?
Before the 2015 update, I could drag multiple items in the library [a form of vector of arrow in this case] to my documents and change their colors independently. If I need to be black and white, it was easy to pass. Drag the item from library to the screen, double-click on the layer, choose a color.
Now, I can't do that. Library items seem to have their own "container" If you want to, which houses a dynamic object - change the objects replace everything in my entire file. Now, using work plans that can be 20 arrows - pretty boring.
Someone at - there workaround / best way to do this? I have the layer styles, but that seems daunting.
THX
option/alt drag place also in layers.
-
Hello flash developers,.
I have a problem with getting the value of a variable in a shared object.
I'm saving up two variables named evt_obj.target and evt_obj.target .text
It is only the evt_obj.target variable that gives me problems.
During the recording of my trace shows the variable is successfully sent to the shared object, but when it is retrieved, it appears just as undefined.
Any ideas?
Thank you
MichaelWell solved the problem by using String (eval (evt_obj.target))
Still would like to know why it won't work when saved directly, must investigate when I have more time ;) -
Strange problem with the object Panel.
Hi all! I found this forum in a desperate attempt to find a solution to my problem. I searched without success, but if has already replied to this question, can someone point me in the right direction?
FreeHand MXa works with Vista? (Or MX, I tried two versions of the disc in the box). I can install that's fine, no problem at all. When I actually started working, I noticed that the object Panel was not on the right side where it normally is, so I click on the window and you click object. Instead of giving me the Panel, I have a popup that says "Could not complete your request because an unknown command has occurred", and then a little box pop up that looks like it might be the object Panel, but it is empty. No marks, no nothing and it does not meet anything, except when I hit the button of output on this subject. It is the same version I had installed on my old computer. I got a new computer yesterday and I tried to install today and I can't understand why it doesn't let me open the object Panel. I'm so lost without it! Is there another way to work in FreeHand without it? I have Illustrator, but I really prefer working in Freehand for more things I did on a daily basis. It's just much faster for me to do some of the things I do. I need my object Panel...
This TechNote may help:
http://go.Adobe.com/kb/ts_tn_12050_en-us
Judy Arndt
-
Problem with creating object entity based on web service
Hi all
AM trying more than 100 times to test how can I build an entity object based on web services, when I give the link of wsdl (which I already working when I use it as data for the web service control) in the wizard, I got the same message
"' Field to read the WSDL URL service file: /... wsdl" "
is it a find out what the problem is
Thanks in advanceIt's pretty simple:
Web service data control - gives you the best way to interact with a web service in your ADF UI
Proxy for the Web service - allow manipulations on the interaction with the web service, for example restructuring results or settings - you can then expose this as a Javabean data control to bind to the user interface
ADF BC basic web service - for integration with other applications of ADF BC that only allow you to access through web services.
ADF BC stripped VO/EO Web service - based when you want to get features such as LOVs, will fetch, etc., which provides ADF BC. It will take you some good coding. -
Problem with pinned objects objects/non-epingles on the same page
I have a vertical menu on my website that appears on every page; It is attached on the upper left corner. On many pages of my site, I pinned objects (images, text, etc.) adjacent to the menu PIN. Almost all the scrolling on my Web site is parallax scrolling (horizontal or vertical). I'm running into a problem where, depending on the size of the browser window, not pinned ojbects overlap the menu PIN. The positioning of objects on the page seems to depend on whether or not the pinned object; I guess my question is possible to the objects of the PIN over another? I want the menu to stay no scrolling, but I want to make sure my non pinned objects passing never cross / overlap of the menu because it looks so sloppy. The question arises when the browser window is too small, but again, I want to make sure this will never happen anyone who is looking at my site. The first photo, this is how it should look like (what it looks like when the browser window is large), the second photo is the problem that I'm trying to fix.
Just read here:
-
Custom Scrolller - problem with several objects...
Hello
I'm developing a very simple custom scroller as a proof of concept. The idea is to have a background image (content_mc), throw multiple objects(myContent[i]) on top of the image and scroll them all as a cohesive unit. However, I can't scroll myContent [i] as appropriate; each object has a unique position and when I try to scroll, they all assume a position (in which everything rides), move to this position and then made scroll (see # comment below). Does anyone know how to do this? (or this doesn't make any sense?)
Thx for any help,
Chipleh
var rect:Rectangle;var scrollerMinY:Number = scrollbar_mc.scroller_mc.y; var contentMaxY:Number = content_mc.y; var padding:Number = 40; scrollbar_mc.scroller_mc.buttonMode = true; scrollbar_mc.scroller_mc.addEventListener(MouseEvent.MOUSE_DOWN, dragIt); function dragIt(e:MouseEvent):void { rect = new Rectangle(4, 3, 0, 180); scrollbar_mc.scroller_mc.startDrag(false, rect); stage.addEventListener(MouseEvent.MOUSE_UP, dropIt); scrollbar_mc.scroller_mc.addEventListener(Event.ENTER_FRAME, scrollIt); } function dropIt(e:MouseEvent):void { scrollbar_mc.scroller_mc.stopDrag(); scrollbar_mc.scroller_mc.removeEventListener(Event.ENTER_FRAME, scrollIt); } function scrollIt(e:Event):void { var scrollerRange:Number = rect.height; var contentRange:Number = content_mc.height - mask_mc.height + padding; var percentage:Number = (scrollbar_mc.scroller_mc.y - scrollerMinY) / scrollerRange; var targetY:Number = contentMaxY - percentage * contentRange; content_mc.y = targetY; //###Herein lies the problem; I can not get multiple clips to align consistently like content_mc for(var i:int = 0;i<myContentArray.length;i++) { var myContent:Object = MovieClip(root).getChildByName(myContentArray[i]); myContent.y = targetY - myContent.y; } }
Hey mocca,.
So, I somewhat solved my problem,
function scrollIt(e:Event):void
{
var scrollerRange:Number = rect.height;
var contentRange:Number = Container1.height - mask_mc.height + padding;
var percent: Number = (scrollbar_mc.scroller_mc.y - scrollerMinY) / scrollerRange;
var targetY: number = contentMaxY - percentage * contentRange;
Container1.y = targetY;
for (var i: int = 0; i<>
{
var myContent:Object is MovieClip (root) .getChildByName ("ACB" + i);.
If (myContent! = null)
{
myContent.y = Container1.y + int (interFace_XML.comboBox [i] .@yPosition);
}
}
}
I got the intial positions stored in an xml doc. those in the position of container application did the trick. Still not completely satisfied, but it works for now and allows me to progress. Thanks for your help, I'm this marking as correct.
~ Chipleh
-
Can anyone help please. I used to be able to get the symbol for the pound Sterling by pressing ALT and 0163 at the same time, maybe you'll know
That's how you used to make the binary code on non-electric machines punch original card. This will make me sound old?
It's very frustrating that nothing bought here in Spain is not consistent with the rest of Europe, it is purely for the Spanish market. I need to use this and other symbol that don't appear on my keyboard, but it is very - very sensitive touch and I think I must have hit another function key for stopping this work but can find nothing written on the computer and the manual was not in the box. as usual.
Please let know us if possible thank you.
Start > all programs > Accessories > system tools > character map
http://symbolcodes.TLT.PSU.edu/accents/Charmap.html
You can drag the key and drop it in your report or use the code indicated in the bottom right of the application
Key codes Alt Windows
-
Hello
I use jdev 11.1.2.4.
I have 3 VO as
1 OrderVO
2 CustomerDeliveryAddressVO
3 CustomerBillingAddressVO
In the application module, I dragged CustomerDeliveryAddressVO and CustomerBillingAddressVO under OrderVO.
on the page, I'm dragging all the your shape, but when I run the page that I am getting below error
oracle.jbo.DMLException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-26061. at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:1007) at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1147) at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838) at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298) at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329) at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600) ......... ......... ......... ......... Caused by: weblogic.jdbc.extensions.PoolLimitSQLException: weblogic.common.resourcepool.ResourceLimitException: No resources currently available in pool <USERNAME> to allocate to applications, please increase the size of the pool and retry.. at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:252) at weblogic.jdbc.pool.Driver.connect(Driver.java:161) at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:651) at weblogic.jdbc.jts.Driver.connect(Driver.java:127) at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:364) at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:968) ... 143 more
I tried just using OrderVO and CustomerDeliveryAddressVO on the page that has worked, but do not know why he throws this error when I drag 3rd VO.
any ideas?
Thank you
The error was related to the sequence of ps_txn_seq table ps_txn.
Users are allowed to create/insert on the ps_txn table and create / select on ps_txn_seq.
It is resolved by giving permissions on these objects.
-
Hello I have a little problem with pass values pop-up
I want to transmit values when the user click on current line, then see the menu right click popup is displayed.
I need help after the code. Because it does not pass the current row values, it passes all values in the database. I thought that the filter does not work.
First of all, I added Bind Variables named VarEnqID and criteria named GetbyIDCriteria on my view object.
Second, I created picture objects and interfaces of object classes and display code of the method of the object class:
Public Sub setSearch1C (String input)
{
ViewCriteria vc = getViewCriteria ("GetByIDCriteria");
vc.resetCriteria ();
setVarEnqID (input);
setVarEnqId2 (input);
applyViewCriteria (vc);
executeQuery();
}
Thirdly, I drag setSearch1C of data control and make context menu right click Add attribute named Id to links, and then click code value.
My criteria did not work so I decided to him another way. I dragged the data control display object to bring up and created the unalterable form adf. Then everything would be OK.
-
CS5 Win 7
Hi, I'm rtrying to create a wedding album opening to show the inner leaves inside. So, I have a model which is of the outer skin of the album that turns on the y-axis from 0dgrees to 180degrees. Then I have another layer which is the inner sheet that appears at the - 90deg. and pivots to 0deg. Th eproblem is that th inner sheet seems to slip out of its axis (showing the cover of the album) and then self-correct after the last key frame. I thought that maybe the anchor had moved, but apparently not so much.
Can someone help or see what the H?
https://www.dropbox.com/s/m0offl6zvv3dumr/copy%20Of%20wedding%20Album%20animation.AEP
Kind regards
WLM
Nothing wrong. You have active motionblur and it causes displacements of the opacity. To avoid this, you should not use motion blur or use two separate compositions of your stuff, then mix thewm... Or use a plugin which can effectively deal with the rendering of the back. Your project is CS5, you can use the free form includes for this instead of a native 3D layer...
Mylenium
-
Niggling little problem with the elements.
I used elements 3 for centuries now without any problem at all. Suddenly this week when I open it
It opens in the mode "Change" instead of "Organizer", which it has always done before. Of course, I clicked on something, but I don't have
know not what. How can I get that back to the opening "Organizer" mode please.
Gari
You can try the following:
1. start Photoshop elements 4.
2. go in window > welcome (this opens the welcomw)
3. in the lower left corner of the home screen, choose:
Start up in the Organizer.
Press the top X to the right of the screen of welcome to close.
Restart photoshop elements, and you should now start in the Organizer.
MTSTUNER
-
Problems with the objects from the library to a Flash document
Hello
I have a question about a library would be created within a
Flash document. I have a lot of pieces of graphic objects
inside a library for a FLA file.
I then drag those songs on stage to build a complex more
object. I then select all the pieces and group them and
convert a video clip of this new object.
Place it I move in the library of the FLA file.
I noticed there are two a graph for this object and the
video clip for this object. For me, these are 2 separate
objects. So, when I delete the object graph,.
It also deletes the clip that I created of the object.
No one knows why this happens?
Thank you
Jim
This is because the 9 symbol using the symbol 8. IE, when you created the symbol 9, symbol 8 was on stage.
to remedy this, go to the chronology of the coast of 8, copy the graphics, remove symbol 8, go to symbol of 9 timeline and paste.
Maybe you are looking for
-
When do you expect new version 6 driver Toshiba Bluetooth
When do you expect the version 6 of your Bluetooth driver is available.
-
I'm paying the annual membership fee of MSN, time soon. Microsoft billing service does not recognize my computer. The billing notice was sent to my e-mail address on this computer, which it does not recognize (* address email is removed from the priv
-
HP Pavilion 17 t J5R51AV: driver for Qualcomm model Atheros QCWB335 Windows 7 (64)
Hello. I'm looking for a Driver for 7 (64) of Qualcomm Atheros model QCWB335 for Windows. (802.11 b/g/n WLAN and Bluetooth (r) [1 x]) I tried HP support system discovery and recommended pilot report, he reads material and product incorrect. I tried t
-
"Unavailable" or any Bluetooth simply not there (Pavilion DV7-4180ea)
Dear members of the staff and forum, I use a nine Pavilion DV7-4180ea (Windows 7 64-bit) that was given to me as a gift for a little less than a week, but since the beginning have not been able to get bluetooth. I can't find a solution on the interne
-
In recent days, Photoshop CS4 began to send me of dialog boxes "Could not complete your request because of a program error" whenever I try to open a non - PSD file. I can open PSD files very well, but if I try to open a JPG, PNG or GIF file, it gives