Problem with the classes and the basics of object oriented programming.
I got a main class called 'controll class:
I'm addChild a btn on stage and create a listener to click the btn.
When you click on the function of animation the curretn clip on the stage and moves out and addChild an another movieclip
Levels_BG called
Levels_BG contains fixed and controlled but his class onwl: Levels_BG
That creates a certain number of 'boxes' on the scene that can be clicked to select a level.
I'm tryin to achieve this goal:
Click on a level area in the Levels_BG and I need to pass this variable to another class.
Any help appriciated. SRY if this is confussing.
Pavel has soon
SWF here:
http://www.2shared.com/document/pO8IIf4x/NumberGame.html
Able to operate found this great guide:
http://StackOverflow.com/questions/11083843/AS3-call-function-from-one-class-to-another
I changed my function in control_Class:
public static function startlevel (): void
{
trace ("from this class to it")
}
control_Class.startlevel ();
thx for the help.
Pav
Tags: Adobe Animate
Similar Questions
-
What is the problem with the conversion of objects with gradients to the gradient mesh?
What is the problem with the conversion of objects with gradients to the gradient mesh?
Radial gradients are special, and it could become difficult edit the gradient mesh resulting.
Take the layer apnel and inspect your objects. You will find a clipping mask the cracks inside.
-
I tried to install the latest version of itunes with windows 10 but he said "there is a problem with the installation package. A program to complete the installation could not be executed. Please contact the support staff. No matter what guys?
(1) temporarily disable your security/antivirus software
(2) download iTunes from the official source: http://www.apple.com/itunes/download/
(3) try to reinstall
(4) turn on your anti-virus
-
(help) how to extend textbox of scene to the method of object-oriented programming
Hi guys, just a simple question. I have a box of text inside the scene. I just want to know how will access using the methodology of object-oriented programming. Thank you for your help guys.
Select the textfield and then assign it and the name of the instance in the properties panel. If you do not see an option for this in the properties panel, you must change this setting to be a dynamic textfield. Once you have an instance name are entrusted to him, you use this name to target for what you want to do with it. For example, if you call it 'tField', then to give him a text you would use...
tField.text = "of the text."
-
Problem with the Microsoft Office 2000 installation program &; 2007 &; 2010
Recently used your windows
Windows XP Professional SP3 integrated October 2012 (32 bit)
I have a problem with the installation
Microsoft Office 2000 Premium EN &
Microsoft Office 2010 Professional FR more
But MS Office 2003 no problem with him
and when iam using win 7 32 any desk of installation nprmally
MS Office 2000 & 2003 & 2007 & 2010 used and installation normally with no prpblems
Please give me answer or solution
Thank you
Just a troubled lifeHave you tried to check and making sure that all the Windows updates were executed? Also you install this on an account with administrator privileges?
-
Error 0x800700c1 problem with the basics of Microsoft Security
Sorry about that. It is quite difficult to read & interpret your messages.
More Questions:
1 if Windows Internet Explorer 9, KB2588516, KB2620704; KB2586448, KB2567053, KB2570947, KB2616676; KB2567680 & KB971029 are all listed in the display of the installed updates , but KB2641690 is not, is that correct? [YES/NO]
2 and chances are the free trial period of Norton had already expired at the time where you installed the application and McAfee have not uninstall Norton AND THEN download/run the Norton Removal Tool & reboot (c) BEFORE you installed the McAfee application, is also correct? [YES/NO]
3. what KB2641690 listed in the update history? [YES/NO]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments:
=> Should have replaced the free trial Norton before expiry of the free trial period & should have uninstalled the Norton application before installing the McAfee application.
-Online, (Norton and McAfee) applications are notorious for not to uninstall (or upgrading) properly, then you must also run the Norton removal tool before you installed the McAfee application.
=> You can see the effects of ongoing hijackware infection.
http://the problem with these applications, it is that they don't tell you on the 'uninstall' when using them. It is now only by experience I know now. Oblivion was a mistake on my part that I didn't know I had done. In any case the lesson learned. Is it then a way that this could have hide for more recent antivirus scans? http://not a problem, like I said it's only tge way I can get a sweet spot on my phone. I will try to get access to a desktop computer later. I appreciate your help. In response to questions 1. Yes 2. Yes 3. No (I looked after that I have the last answer just in case.
-
Grid Control 11g of the problems with the basic policy of RAC database
We have a group of three nodes 11 GR 2 (rac1, rac2, rac3) and a policy based RAC database 11 GR 2 (ORCL) with cardinality 2 (ORCL_1 and ORCL_2) on this group. Used to monitor the Control 11g Grid infrastructure. Founded political RAC databases are linked to the pools of the server and not to the cluster nodes, therefore, restart the cluster database instances can run on both on 3 nodes in the cluster. For example, if ORCL_1 is running ORCL_2 and rac1 rac2 Sir after a full reboot ORCL_1 and ORCL_2 can be run on rac2 and rac3 respectively. Binding of the pool with two special nodes will be as if we use database RAC database administrator and not the policy based.
Now the problem is that Grid Control registers the services in database with the node that is running the instance due to which, once the instances are started on a different node, she complained authorities are declining. We don't have to then reconfigure database instances and say Grid Control that they are now on another node. However, this removes the history of AWR for these instances.
Is there a solution to this problem?
Kind regards
Kashif.Hi koko,.
to work around this problem (I think that there is no "automatic" support in the current version of EM for switching hosts databases), you can create an ACTION_SCRIPT for your database cluster resource that is running the relocate_targets command emcli (so an emcli should be placed on all nodes of your and recorded with Super Administrator privileges). So every time you start your database resource, this script command / move the target to the current host without losing any historical information.
Best regards
RobertEdit: You can find an example of the command emcli in this document written by Rob Zoeteweij: http://oemgc.files.wordpress.com/2011/02/manage-node-failover-in-an-active-passive-setup-using-oracle-enterprise-manager-grid-control1.pdf
In this scenario is an active/passive environment, but the command itself appies to your situation, too.Published by: Robert Hanuschke on August 1, 2011 13:11
-
Problem with the persistent store &; object
Hello
I store 2 types of persistentObject in PersistentStore. I find the problem when retrieving the Typeobjet2. The code is:
private void GetPersonFromPhone() { synchronized(store) { data = (Vector) store.getContents(); } System.out.println("\\\\\\\\\\\\\\\\\\ Into GetPersonFromPhone Data = " + data.size()); PersonInfo pi = null; Person p = null; for ( int i = 0; i < data.size(); i++) { System.out.println("Object Got i = " + i + " - " + data.elementAt(i).getClass().getName()); if (data.elementAt(i).getClass().getName().endsWith("PersonInfo")) {
..... data.removeElementAt(i); } } p = null; pi = null; return; } private void SavePersonsToPhone() { PersonInfo info; System.out.println(" To SAVE Persons = " + personVec.size() + " To Store Data Size = " + data.size()); for (int i=0; i < personVec.size(); i++) { info = new PersonInfo(); data.addElement(info); p = null; info = null; } System.out.println("Now DATA size = " + data.size()); synchronized(store) { store.setContents(data); store.commit(); } // Dialog.inform("Success Stored"); info = null; return; } Results
Nobody GOT = name = Mr John Micheal, Email =, URL = store/samples/pictures/Quiver_Tree.png, Send = true
Size PersonVector = 1
Object obtained I = 3 - src.se.PersonInfo
Nobody GOT = name = Peter Simon, email = [email protected], URL = store/home/user/iBeloved/photo1, Send = true
Size PersonVector = 2
GOT people = 2 size = 3 data storeAdd new record
Person - McMillan Desilva, [email protected] , SentEmail = false
To SAVE the people = 3 to the data store size = 3
Save I have 0 - name = Mr. Micheal John = Email, URL = store/samples/pictures/Quiver_Tree.png, Send = true
Added Mr. John Micheal, Email = true to vector to the store
I save 1 - name = Peter Simon, email = [email protected], URL = store/home/user/iBeloved/photo1, Send = true
Peter [email protected], Email added = true to vector to the store
Save I have 2 - name = McMillan Desilva, Email = [email protected], URL =, Send = false
Added McMillan detailed [email protected], email = false to Vector to the storeThe NEXT TIME that I RAN the APPLICATION
Nobody GOT = name = Peter Simon, email = [email protected], URL = store/samples/pictures/Cascade.png, Send = true
Size PersonVector = 1
Object obtained I = 3 - src.se.PersonInfo
Nobody GOT = name = Peter Simon, email = [email protected], URL = store/home/user/iBeloved/photo1, Send = true
Size PersonVector = 2
GOT people = 2 size = 4 data storeTo SAVE the people = 2 to the size of the data store = 4
Save I 0 - name = Peter Simon, email = [email protected], URL = store/samples/pictures/Cascade.png, Send = true
Peter [email protected], Email added = true to vector to the store
I save 1 - name = Peter Simon, email = [email protected], URL = store/home/user/iBeloved/photo1, Send = true
Peter [email protected], Email added = true to vector to the store
DATA size now = 6You CAN SEE FROM THE results, how the data changes and incompatibilities. Sometimes he gives good resutls sometimes incompatibilities. Someone can say, where I'm going wrong or what makes the results of the get code.
Thank you
Not looked at seriously, but there seems to be a coding bug in this piece of code:
for (int i = 0; i)< data.size();="" i++)="">
System.out.println ("object got I I =" + i + "-" + data.elementAt (i) .getClass () .getName ());
If (data.elementAt (i) .getClass () .getName () .endsWith ("PersonInfo")) {}
....
data.removeElementAt (i);
}
}Say that the vector has 3 elements inside. You spend the first at the beginning of the second loop, I = 1, and the for loop see data.size () 3. Then you deal with the second and delete. Then when you go back to the loop for I = 2, and data.size () = 2, so you never treat a third.
Of course, logic could just as easily result in code by jumping the elements of the vector.
Maybe that's your problem?
-
Problem with the installation of Playbook Simulator program
I get the following error message in the VMware Player when trying to install the Playbook Simulator on my Windows XP computer.
What is the reference for this? I have to re-download the BlackBerryPlayBookSimulator-Installer - 0.9.2 - Win.exe file and start from scratch?
ERROR MESSAGE:
Loading of the neutrinos...
WARNING: The contents of/dev/hd0 is permanently deleted!
You want to continue with the installation?
[UI Y] or [N]? --> Y
Partitioning/dev/hd0...
Install images... This may take a few minutes
[33% 1 M/s ETA:04:55 s: #]
bzcat: error during decompression data integrity.
Input file = / cd/hd0t179, output file = (stdout)
It is possible that the compressed file has been corrupted.
You can use the option - tvv to test the integrity of these files.
You can use the program "bzip2recover" to try to recover
data from the sections not damaged damaged files.
mkqnx6fs: not a fs-qnx6 filesystem ' / dev/hd0t179 ".
Operation finished, file synchronization and shutdown system
Please remove the installation media
Press
to restart. Hey tony,.
your best bet will probably be to re - download, extract and install again. How much space you set the virtual disk have? Try the 8 GB configuration and see if that helps the next installation. Good luck!
-
problem with the window "work stoppage by program and click here for an online solution.
When to start any program and then a msg of error that set the work stop
Clik for the solution online
Hi Sandeep.
Kindly access the URL below and follow the same steps. Hope that maybe it's work
http://www.howtogeek.com/HOWTO/7863/disable-error-reporting-in-XP-Vista-and-Windows-7/
-
Having problems with the help of web camera program does not work when I click it. don't know what to do. Please help thanks.
Hello
Right click on the shortcut tab icon - properties - look on the target line to see where and what type of program
is supposed to work.You will probably need to reload the drivers of the device and any camera control software.
Login as an administrator.
Double-click Control Panel / Device Manager - Imaging - writing down of the brand and model of camera.
on this subject and on the tab of the driver is version. Now, click on update drivers (who are unable to do anything as MS
is far behind the pilots of certification). RIGHT click on the camera - UNINSTALL - REBOOT - it
will update the driver stack.Now, go to the system manufacturer's website and download the latest driver for the camera and the other related camera
software (if not more recent get the same).Download - SAVE - go to them and RIGHT CLICK - RUN AS ADMIN - reboot after each driver.
Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htmHow to install a device driver in Vista Device Manager
http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.htmlThen let windows updates on however prevent loading of drivers who are often older than the
those that you have installed. If updates suggests a pilot and then HIDE it and watch manually to see if their
really is a more recent version (at the time system manufacturer and the sites of the manufacturer of the device).How to disable automatic driver Installation in Windows Vista - drivers
http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspxI hope this helps.
Rob - bicycle - Mark Twain said it is good. -
Problems with the style of the Web page in dreamweaver
Hello
I have problems with the basic design of my page, where my upper bar isn't at the height, it should be.
Here's my code for css stylesheet (if you're wondering what's happening with the colors, I tried to add different colors and so it would be easier to see where the different divs):
@charset "utf-8"; /* CSS Document */ #page{ background:#600; position:absolute; top:0px; left:0px; width:1024px; height:768; } #top{ background:#90F; position:absolute; top:0px; left:0px; width:1024px; heigth:142px; } #header{ background:#0F0; position:absolute; top:142px; left:0px; width:1024px; height:158px; } #bottom{ background:#C90; position:absolute; top:300px; left:0px; width:1024px; height:468px; } #venstre{ background-color:#FFF; position:absolute; top:28px; left:33px; width:608px; height:357px; } #hoyre{ background-color:#FFF; position:absolute; top:28px; left:667px; width:323px; height:430px; }
and here is my html code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link href="Stilark.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="page"> <div id="top"> </div> <div id="header"> </div> <div id="bottom"> <div id="venstre"> </div> <div id="hoyre"> </div> </div> </div> </body> </html>
Hello
Look here, it's just a spelling mistake in your tips to #top. You should not write "gth" is better "ght":
heigth:142px;
height: 142px;
Hans G.
-
'Normal' code and OBJECT-oriented programming code in the same project
Hi guys,.
Have large existing application written in ordinary data workflow code.
Thought to add a new module, but he wrote in OOP - to learn.
Is it possible to add OBJECT-oriented programming code to an existing project? If so, it's a good idea or not? What kinds of things should I be conscious re. mix of types of codes?
Thank you.
LVOOP is a natural extension of type-def clusters in libraries, so he has no problem mixing with 'normal' LabVIEW code The only precaution that I recommend is the following:
Class libraries always loading all their confined subVIs (called "methods" in the jargon of OBJECT-oriented programming), and the standard libraries of LVLIB always loading libraries contained everything (including class libraries). This behavior "one thing costs so everthing charge" may be a domino effect through your project with all sorts of unnecessary things from loading. To avoid this, be careful putting classes inside libraries and don't always put subVIs in classes if they do not need to be (I often have a regular library to hold 'to support' subVIs to a set of classes.)
-James
-
Problems with the layouts and headers
Hi I'm a newbie, trying to page layouts, I have 2 questions. I would be grateful for any help or pointers to tutorials.
(1) I have problems with the links at the top of my page. They are text based and in a table of 2 rank. They have a huge ditch around them and no matter what I do I cannot resize the table or change the text to be less than a gap below it. Basically I have a huge gap between my links at the top of the page and the main logo and the main logo below. (and I think they are related as the h1 which I don't want that they're not really the header only links). Here's the code for that.
<table width="740" border="0" align="center" cellpadding="0" cellspacing="0" class="HeaderLogoButton"> <tr align="center" valign="top"> <td width="288" height="48"><h1><br /><br /> </h1></td> <td width="452" height="25"><!-- TemplateBeginEditable name="HeaderLinks" --><span class="TextButtons"><a href="../index.html" class="TextButtons">Home</a> <a href="../featured.html" class="TextButtons">Featured Company</a> <a href="../youngpeople.html" class="TextButtons">Young People</a> <a href="../andmore.html" class="TextButtons">And More</a> </span><span class="TextButtons"> <a href="../blog.html" class="TextButtons">Blog </a></span><!-- TemplateEndEditable --> </td> </tr> <tr> <th height="48" align="left"><a href="index.html" title="My Site Title"><img src="../images/My Site_logo.png" alt="My Site Logo" width="245" height="46" border="0" align="left" /></a></th> <td align="right" valign="top"><!-- TemplateBeginEditable name="HeaderButtons" --><img src="../images/facebook.png" alt="FaceBook Button" width="36" height="36" align="top" /> <img src="../images/twitter.png" alt="Twitter Button" width="36" height="36" align="top" /><img src="../images/blogbutton.png" alt="Blog Button" width="49" height="47" align="top" /> <!-- TemplateEndEditable --></td> </tr> </table>
(2) my second question with headers in general. As you can see in the code I have a "My Site_logo.png', as the main logo for the site, what concerns me is pointing to it as the main h1 header so that when the spiders come to visit, either by the additional logo or html, they read that the site is called"My Site"the main header. How can I make the logo/title of the h1 of the code section? I'm afraid of making a mess of the code at this point, so any help is very appreciated!
Thanks in advance
evilJim wrote:
Hi I'm a newbie, trying to page layouts, I have 2 questions. I would be grateful for any help or pointers to tutorials.
(1) I have problems with the links at the top of my page. They are text based and in a table of 2 rank. They have a huge ditch around them and no matter what I do I cannot resize the table or change the text to be less than a gap below it. Basically I have a huge gap between my links at the top of the page and the main logo and the main logo below. (and I think they are related as the h1 which I don't want that they're not really the header only links). Here's the code for that.
In the first cell of the table, you have a tag h1 (header tag) (see below), in this tag you inserted two break tags
by pressing return on your keyboard twice. These breaks are reduced the height of the first row of the table, that's why you have all the space under your links.
evilJim wrote:
(2) my second question with headers in general. As you can see in the code I have a "My Site_logo.png', as the main logo for the site, what concerns me is pointing to it as the main h1 header so that when the spiders come to visit, either by the additional logo or html, they read that the site is called"My Site"the main header. How can I make the logo/title of the h1 of the code section? I'm afraid of making a mess of the code at this point, so any help is very appreciated!
Thanks in advance
At the moment you have nothing apart from 2
tags in your h1 tag (see above answer to your first quetsion.Purposes of search engine, you can encapsulate your image in an h1 tag and provide an overview of more descriptive than "My Site Logo" for the images 'alt' tag
-
Having a problem with the Gallery of filters, specifically the texture and the other 5 filter filter do not meet the 'OK '.
Go to the Photoshop preferences, then on the performance tab.
From there please click on advanced settings, change the drawing on 'Basic' mode and uncheck the option for "Open CL" once, then try with a Jpeg file.
Maybe you are looking for
-
Beta-Tester required for Sierra?
What should I be a beta tester for download Sierra? I tried several times to download and still get a message that it failed. Second, how to register for the beta test? Thanks Barry
-
. Video streaming I can stream movies on my PC using the desktop PC monitor. But when I unplug the monitor and use a PC to TV HDMI cable I get the video but the audio now... Suggestions?
-
It worked so I got a new internet provider he gave me the error message but I reconnected it and it worked. Now, it will not? Same message printer does not but it looks like the loan?
-
Problem in using wifi after update to 8.1 win
I have a hp envj 15 j048tx containing the model of 3290 Ra link wifi... even afetr updated of the latest album i.e. 5.0.37 I'm unable to use the wifi... I mean I can't connect to wifi properly access points... Sometimes, the connection does not appea
-
Hi all where can I get a Trial Version of GBA? I'm in information security project and I'm ACS offer to deploy 802. 1 x on Ldap Samba Thank you