4.7 actionscript project with two .as files

hi,
Using FB 4.7 to make actionscript project with two .as file: Main.as and GFX.as. There are variable in GFX that Main cannot access. WHat do I need to do to the GFX.as file to make the variables it declares readable by Main.as?
Thanks
GReg

Reason 1:
put public before var . Example: public var foo:Number
Reason 2:
the variable that you can't load in Main.as should be inside function GFX() body. Example:
package {
     import flash.display.MovieClip
     public class GFX
          public function GFX()
               public var foo:Number  // Put your variables here that can be load by another class
          function anotherFunction(parameters:Number) // Another function starts here
               foo = parameters
Reason 3:
In Main.as, put import GFX after package {

Similar Messages

  • Hi, attempting to export h.264 for an mp4 but premiere cc automatically making m4v with two sep files

    hi, attempting to export h.264 for an mp4 file, but premiere cc automatically making m4v with two sep. files. This never happened before. The project had an issue with the GPu and I had to hack the cusa text file. I'm wondering if I messed something up and what should I do to retify. Thanks

    Correct except that at the end of encode it stays as two sep files..with
    this proj. I narrowed it down vrb1 vs vbr2.. its a two hour project. I just
    attempted a second attempt at vbr1..it should work. I will keep everyone
    posted..thank you all for the responses. I will be sure to be in contact
    with youu all.
    Rob

  • Working With Two External Files With T-SQL Commands

    Hi friends,
    In a VSTO Excel AddIn of mine I have come across a need to use T-SQL commands before bringing the dataset on the activesheet, derived from two tables in the shape of external CSV files. However,
    since using SQL Express in this regard requires connection to a server. With Visual Studio as well as SSMS installed on my laptop I'm able to use the said facility but I am unable to distribute such an addin to other team members not having any of the studios
    installed nor access to any server.
    Is there any way to use the similar features on the users' side?
    In other words, how to develop a macro, for example, in which I could consider two CSV files as two different tables as in a database, and carryout some T-SQL functions/commands on the same like:
    UNION of first three columns from both the tables;
    Creating a temporary table with the DISTINCT sets of the said three columns; and
    Then carryout LEFT JOINS between the new table and the earlier two tables;
    to derive a simple comparative dataset?
    Looking forward for you experts' valuable advices in this regard.
    Thanx in advance.
    Thanx in advance, Best Regards, Faraz A Qureshi

    Hi FARAZ,
    As with Excel files, you can also use Odbc driver to connect to CSV files. As long as the user's machine installs the ODBC driver, you can OdbcConnection to connect to the CSV files.
    The sample code to manimulate CSV files with ODBC driver(C#):
    string connectionString = @"Driver={Microsoft Text Driver (*.txt; *.csv)}; Dbq=C:\; Extensions=asc,csv,tab,txt;";
    using (OdbcConnection conn = new OdbcConnection(connectionString))
    conn.Open();
    string sql = "SELECT u.UserName,u.Age,c.Phone,c.Address FROM user.csv u left join contact.csv c on u.Id=c.UserId";
    using (OdbcCommand cmd = new OdbcCommand(sql, conn))
    But if you want to publish the Add-in to the user's machine, you still need to install the .Net Framework and the VSTO runtime to support the Add-in.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Create one project with two images- DUHHH

    Sorry I am struggling with the learning curve.
    I want to simply create a high quality print with two photos arranged using the Book's cool sample templates.
    I have arranged the images within a Book template.
    It only takes one page and Book must be an even number of pages. How can I export the one page- or what other element of Aperture should I be using?

    Hi,
    yes, I think to remember that there is support for a single style only. If you need another one too then you create a new project.
    Frank

  • Deployable Proxy with two wsdl files

    Hello,
    I have a problem with deployable proxies and two wsdl files.
    In wsdl A returns a method an object of type Foo.
    In wsdl B a method expects a parameter of type Foo.
    Foo is a class of the Web service provider.
    I created a new deployable proxy called p.
    For both wsdl files I chose Create -> new client proxy definiton and for both of them I had to create a new package (a and b).
    Now I have two Foo classes:
    p.a.types.Foo and p.b.types.Foo
    But I would like to have only one Foo class and use it for both proxy definitions.
    Is this possible?
    Thanks and regards
    Patrick

    Hi,
    no I haven't found a solution.
    > I was looking for options to create single proxy with multiple wsdl files
    I was thinking the same because the folder is called WSDL Files.
    Hope somebody could help.
    Regards
    Patrick

  • Firewall - Java Card project with two packages.

    My Java Card project has got two Java Card packages. One of them contains only the Java Card applet. The other package contains all other classes. We did the splitting because our application is large and if all the code is left inside the one package if debug mode was checked, the size of the cap file was more than 64 bytes and the CAP file with that size cannot be installed inside the simulator. That situation made the programming difficult. Therefore the splitting took place. What is my question? If we have two packages, is there a firewall between them or the packages are in the same group context.

    A library package has different restrictions to an applet package. As for the firewall, the data created in your library package is owned by the applet instance that created it. That means any data or objects created by calling your library from your applet will be in the same context as your applet. Any other applet accessing this library will not be able to access instances from the original context. This is only a problem with static fields and methods etc that are shared between both applets.
    Cheers,
    Shane

  • Update Portal Web Project with ALBPM WAR file

    I'm trying to follow the procedures for merging ALBPM WAR file and WebLogic Portal WAR file. See link below:
    http://edocs.bea.com/albsi/docs60/config_wls/index.html?t=enterprise/wlp/c_HEAD_WLP_Config.html#c_HEAD_WLP_Config
    I brought 08-workspace-wlp-FDIDS.war into WebLogic Platform. When I expanded it, I can't find WEB-INF/classes in the source WAR file as mentioned in step 4. I'm getting a whole bunch of "cannot resolved" errors. What exactly do I need to bring into WEB-INF/classes folder in the destination? Thanks.

    hi
    well if you can merge the two wars (using any of the techniques mentioned in the other post) then thats probably good. If you cant then
    a) you either have to use WSRP (it uses SOAP behind the scenes but all that is transparent to you)
    OR
    b) use something like a web clipping / screen scraping portlet (http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portlets/seltype.html#wp1011062)
    I'd see if the war's can be merged first , if not then I'd go with option a) ..
    regards
    deepak

  • Session Synchronization with two EAR files

    Hi,
    We have 2 web applications (Portal , BI reports) packaged into two separate EAR file and deployed it on the same server. User login to portal and click a link to see a report. Reports open in a new window.
    Now we have 2 active httpsessions. One for portal and another one for reports. The problem we are facing is when the user logs out of portal we wanted to clear out the reports session also ? What is the best way to achieve this?
    The approach i tried was to use HttpClient utility to pass a GET request to reports servlet to kill the session. But this didnt work because portal is unaware of reports session id.
    Any help is highly appreciated.

    Maybe you shouldn't use HttpSessions but should use a different mechanism to track sessions. The OReilly site has an article on pseudo-sessions that might help.

  • One project with two different web services styles (JAX-RPC and JAX-WS)

    Hi theres,
    how come the same project doesn't support two different web services styles?
    First time I create a web service proxy using the wizard, the second step is to choose between JAX-RPC and JAX-WS. After that, this step is removed from the wizard and all subsquent web services are assumed to be the same style as the first one.
    Can someone explain me why?
    thanks in advance,
    Manuel Leiria

    Hi,
    yes, I think to remember that there is support for a single style only. If you need another one too then you create a new project.
    Frank

  • Permissions with two jar files

    Hello,
    I've run across a interesting problem. I'm using Java 1.3.1 with JAAS 1.0. I've written a LoginModule, Principal, and CallbackHandler that reside in one jar, authentication.jar. The class that use the authentication.jar is in another jar file, client.jar. When ever I run client.jar, I always get:
    Exception in thread "main" java.security.AccessControlException: access denied (
    javax.security.auth.AuthPermission createLoginContext)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at javax.security.auth.login.LoginContext.init(LoginContext.java:154)
    at javax.security.auth.login.LoginContext.<init>(LoginContext.java:319)
    at test.authenticate.Authenticator
    .<init>(Authenticator.java:38)
    at test.authenticate.Authenticator
    .getInstance(Authenticator.java:58)
    at JaasAuthTest.main(JaasAuthTest.java:14)
    If I move the JaasAuthTest class from client.jar to the Authentication.jar, everything works fine. I've been messing with permissions and I can't seem to find configuration that works. I've tried granting AllPermission and .AuthPermission "createLoginContext" to each of may jar files with no success. Is there any reason I can't have my JAAS code in one jar and my client code in another? Has anyone else seen this before?
    Thanks,
    -Jon

    The JAVA class loader puts all code in a so called Protection Domain depending on its origin and class loader.
    Class files from different jars are typically put in different domains as they have a different origin and propably class loader.
    If you set up an appropriate policy file with permissions for the second jar file as the code base, it should be working fine, I believe.
    Oliver

  • How to create a vi project with two ao channel and multi ai channel by customer/producer mode

    I'm a ni elvis ii user.
    i want to create one vi which include 2 AO channel output FGEN and multi AI channel acquisition signal,
    and i wish use cunstomer/producer mode to realize this vi。
    here is the vi,run this vi seveal secends,then pop-up with “完成该操作内存不足”
    anyone can help me?
    thx
    Attachments:
    demo.vi ‏191 KB

    Hi steve ,
    Sorry to say that you cannot configure and acquire from AI channels on a   Device simultaineously from 2 seperate VI's.
    regards
    Dev

  • Multiple files with the same file name within the same folder

    It looks like a finder bug. To replicate, I surf to any website, I right-click on a jpg image, select "Save Image As" and in the window that pops up I type in the filename "000.jpg", I select the folder Pictures, and click on Save.
    BTW, I don't know why, but the file was saved only as "000" without the file extension ".jpg". Does anybody know why?
    Then I surf to another image, and again I save it as "000.jpg" and now it asks me if I want to replace the existing filename, although the existing one is "000" and I try to save as "000.jpg", so I say yes, and then magically the file is saved with the full filename including the extension "000.jpg"
    When I did it a couple of times, always saving image as "000.jpg" from various sources, I ended up with two distinct files named "000" and both in the same folder Pictures.
    Please advise.

    Misio wrote:
    It looks like a finder bug. To replicate, I surf to any website, I right-click on a jpg image, select "Save Image As" and in the window that pops up I type in the filename "000.jpg", I select the folder Pictures, and click on Save.
    BTW, I don't know why, but the file was saved only as "000" without the file extension ".jpg". Does anybody know why?
    the extension is simply hidden. go to the get info panel for the file and uncheck the option to hide the extension.
    Then I surf to another image, and again I save it as "000.jpg" and now it asks me if I want to replace the existing filename, although the existing one is "000" and I try to save as "000.jpg", so I say yes, and then magically the file is saved with the full filename including the extension "000.jpg"
    When I did it a couple of times, always saving image as "000.jpg" from various sources, I ended up with two distinct files named "000" and both in the same folder Pictures.
    Please advise.
    it sounds to me like you saved one file as 000.jpg and the other and 000.jpg.jpg.
    check the info panels for the files for full names to verify if this is the case.

  • When saving a File OS Is Creating Multiple Folders With The Same File Name

    Not sure what I changed but, now when I save a any file (ppt. word, Keynote,Pages e.g.,) to the desktop or any other location the OS will also create multiple file folders with the same file name as the file I'm saving. Inside the folders are what appears to be files locating the saved files. What can I do to fix this problem?
    I'm using the 10.7.2 version
    MacBook Pro

    Misio wrote:
    It looks like a finder bug. To replicate, I surf to any website, I right-click on a jpg image, select "Save Image As" and in the window that pops up I type in the filename "000.jpg", I select the folder Pictures, and click on Save.
    BTW, I don't know why, but the file was saved only as "000" without the file extension ".jpg". Does anybody know why?
    the extension is simply hidden. go to the get info panel for the file and uncheck the option to hide the extension.
    Then I surf to another image, and again I save it as "000.jpg" and now it asks me if I want to replace the existing filename, although the existing one is "000" and I try to save as "000.jpg", so I say yes, and then magically the file is saved with the full filename including the extension "000.jpg"
    When I did it a couple of times, always saving image as "000.jpg" from various sources, I ended up with two distinct files named "000" and both in the same folder Pictures.
    Please advise.
    it sounds to me like you saved one file as 000.jpg and the other and 000.jpg.jpg.
    check the info panels for the files for full names to verify if this is the case.

  • Two flat files  to table

    I have an problem with two plat file to table.
    here i am sending two flat file inthe sence just some spcified filedslike
    MY first file is Like
    Name     City     
    Jerry     Delhi     
    Second file is like
    CIty Country
    Vincent USA
    So these two are club and populate on Oracle table(Target Table)
    I taken the two datastores and put it into source when i trying to maping showing
    error like "Technology cannot be an expression."
    So please can any can give sugession for these.
    Thanks advance.

    for this problem,
    follow the steps:-
    1.)drag the two data stores(ur two files) onto source area
    2.)join the common column between them just by clicking
    and make it sure that in properties of this join execute on option is set to
    staging area
    3.)now drag the target colum to target
    4.)map the coresponding fields from two source data stores to target data store
    (again make it sure that in properties of each column of target data storeexecute on option is set to
    staging area)
    now simply excute...
    and it will work

  • How can i compare two excel files with different no. of records.

    Hi
    I am on to a small project that involves us to compare two excel files. i am able to do it but am struck up at a point. When i compare 2 different .csv files with different no. of lines i am only able to compare upto a point till when the number of lines is same in both the files.
    Eg. if source file has 8 lines and target file has 12 lines. The difference is displayed only till 8 lines and the remaining 4 lines in source lines are not shown.
    Can you help me in displaying those extra 4 lines in source file. I am attaching my code snippet below..
    while (((strLine = br.readLine()) != null) && ((strLine1 = br1.readLine())) != null)
                     String delims = "[;,\t,,,|]";
                    String[] tokens = strLine.split(delims);
                    String[] tokens1 = strLine1.split(delims);
                   if (tokens.length > tokens1.length)
                    for (int i = 0; i < tokens.length; i++) {
                        try {
                            if (!tokens.equals(tokens1[i])) {
    System.out.println(tokens[i] + "<----->" + tokens1[i]);
    out.write(sno + " \t" + lineNo1 + " \t\t" + tokens[i] + "\t\t\t\t" + tokens1[i]);
    out.println();
    sno++;
    } catch (Exception exception)
    out.write(sno + " \t" + lineNo1 + " \t\t" + tokens[i] + "\t\t\t\t" + "");
    out.println();
    Thanks & Regards                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    A CSV file is not an Excel file.
    But apart from that your logic makes no sense.
    If the 2 files are of different sizes the files are different by definition, so further comparison isn't needed, you're done.
    If you want to compare individual records, you need to compare all records from one file with all records from the other, unless the order of records is important in which case your current system might work.
    That system however is overly complicated for comparing CSV files.
    As you assume a single record per line, and if one can assume those records to have identical layout (so no leading or trailing whitespace in or between columns in one file that's not in the other) comparing records is simply a matter of comparing the entire lines.

Maybe you are looking for

  • How to setup the RV120W for quickvpn

    Hello, The PPTP client from Windows 7 is not working with this router; therefore I would like to try the quickvpn. Is there any paper from Cisco explaining how to setup the RV120W for quickvpn ? Thanks for any help

  • Service Contract Usage line Invoice Amount

    Hello All, I have created Service contract with a Usagline and Service line. When entered the Counter reading, and run the 'Service Contract Main billing program', i am getting the invoice amont of 0 only. Could you please tell me how can i proceed.

  • Returning Clause out parameter not working

    I have Oracle 11g (I think?) and VS2010. I am using an insert statement with the returning clause to return an identity value that is created by a Sequence/Trigger. The problem I am having is that it is not updating the out parameter in C#. Here's so

  • Import GP transport package

    Hi, I am trying to import the GP .sda file which was successfully imported during the first import. Somehow the files got corrupted. so i deleted the GP folder from design time .. undeployed and deployed again via SDM but when i try to release the GP

  • HT1933 App store purchase for a return

    I have purchased something in App store by mistake. Can I return it for a refund?