Multiple use of UI Loader
I am making a fla file for photos. I entered the actionscript for the first set of photos (within a UI loader) on 1 under my actions folder. All worked well. I made the next timeline event for the next movieclip/page at layer ten... Entered my actionscript code there... Changed the instance name for the UI, changed the Componets Inspector to reflect the new folder... Changed the actionscript to reflect this.
I now get the messages in my output:
Scene 1, Layer 'actions', Frame 10, Line 4 1151: A conflict exists with definition imageNumber in namespace internal.
THat is indicating that you have declared the imageNumber variable more than once (ex: var imageNumber =....). Either only declare it once, or use a different variable when you get to frame 10.
Similar Messages
-
How can I make server use single class loader for several applications
I have several web/ejb applications. These applications use some common libraries and should share instances of classes from those libraries.
But applications are being deployed independently thus packaging all them to EAR is not acceptable.
I suppose the problem is that each application uses separate class loader.
How can I make AS use single class loader for a set of applications?
Different applications depend on different libraries so I need a way that will not share library for all applications on the domain but only for some exact applications.
When I placed common jar to *%domain%/lib* - all works. But that jar is shared between all applications on the domain.
When I tried to place common jar to *%domain%/lib/applibs* and specified --libraries* attribute on deploying I got exception
java.lang.ClassCastException: a.FirstDao cannot be cast to a.FirstDaoHere http://download.oracle.com/docs/cd/E19879-01/820-4336/6nfqd2b1t/index.html I read:
If multiple applications or modules refer to the same libraries, classes in those libraries are automatically shared.
This can reduce the memory footprint and allow sharing of static information.Does it mean that classes should be able to be casted ?You didn't specify which version of the application server you are using, but the config is similar as long as you know what to look for. Basically, you need to change the classloader delegation. Here's how it is done in 8.2
http://download.oracle.com/docs/cd/E19830-01/819-4721/beagb/index.html -
I am trying to load and display multiples images with a Loader, one after another. The program only displays the last image to be loaded and added to the stage. What is wrong? Here is my code..
---START OF CODE---------------------------------------
import flash.events.MouseEvent; //Package needed for mouse events
btnGenerate.addEventListener(MouseEvent.MOUSE_DOWN, buttonPressed); //Button click listener
chkSeal.addEventListener(MouseEvent.MOUSE_DOWN, chkTriggered); //Check box click listener
//If the check box is toggled, switch to 8 or 9 max characters
function chkTriggered(event:MouseEvent):void
if (chkSeal.selected == false)
txtInput.maxChars = 8;
else
txtInput.maxChars = 9;
function buttonPressed(event:MouseEvent):void
var pictureLoader:Loader = new Loader(); //Picture loading variable
var plateText:String = txtInput.text; //Plate text string
var filename:String; //Filename for each character's associated picture
var currentX:int = 10; //Current x position
var i:int; //Counter to use in for loop
plateText = plateText.toUpperCase(); //Convert plate text to upper case
//For every character in the sequence
for(i = 0 ; i < txtInput.length ; i++)
filename = "/Numbers and Letters/" + plateText.charAt(i) + ".png"; //Generate filename
pictureLoader.load(new URLRequest(filename)); //Load the picture
addChild(pictureLoader); //Add picture to the stage
pictureLoader.x = currentX; //Move picture into position
pictureLoader.y = 366; //Constant y position for all images
currentX = currentX + 52; //Increase the current x (by the size of the images)
txtInput.text = "Done!"; //Display done in the text box
-------------END OF CODE----------------------------You appear to only have one Loader instance working for you. A Loader can only hold one load at a time. Try creating new Loaders within the loop.
-
How many implmentation allowed of BAdi with multiple use option???
Dear all ,
I have doubt in BAdi implementation -
Case 1 - I have create a z badi with multiple use option enabled . than i create two implementation of that BAdi . when i call it from my z program than it will call only one which was created 1st so what is use of 2nd implementation and when it will call ???
Case 2 - Same case for tcode VD02 their is badi CUSTOMER_ADD_DATA which is also multiple option enable Badi
for this also i have created 2 implementation but in this case when i create 2nd implementation it asked for migration of implementation why ???
ThanksDear deepak ,
i have check it both implementation showing yellow color please check my z program and tell me what is wrong in this .
REPORT Y_BADI_EXP1.
CLASS cl_exithandler DEFINITION LOAD.
DATA : l_badi TYPE REF TO ZIF_EX_MYBADI,
email TYPE AD_SMTPADR,
email1 TYPE AD_SMTPADR..
PARAMETERS : p_user TYPE sy-uname.
START-OF-SELECTION.
CALL METHOD CL_EXITHANDLER=>GET_INSTANCE
EXPORTING
EXIT_NAME = 'ZMYBADI'
NULL_INSTANCE_ACCEPTED = 'X'
CHANGING
INSTANCE = l_badi " here it will return 2 implementation ZMYBADI_IM1 , ZMYBADI_IM2
EXCEPTIONS
NO_REFERENCE = 1
NO_INTERFACE_REFERENCE = 2
NO_EXIT_INTERFACE = 3
CLASS_NOT_IMPLEMENT_INTERFACE = 4
SINGLE_EXIT_MULTIPLY_ACTIVE = 5
CAST_ERROR = 6
EXIT_NOT_EXISTING = 7
DATA_INCONS_IN_EXIT_MANAGEM = 8
OTHERS = 9
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL METHOD l_badi->GET_USER_EMAILID
EXPORTING
uname = p_user
CHANGING
emaill = email.
WRITE : /5 email. " when o/p comes it shows only 1st implementation .
i placed break point in methods of both implementation but as usual it stop only at first method ??? -
Hi,
I'm in Nova Scotia, Canada and when I try to use Siri it loads and loads and then says, "I'm really sorry about this, but I can't take any requests right now. Please try again in a little while."
I rebooted and it didn't fix the problem. I just got my iPhone 4s (unlocked right from Apple) several weeks ago.Siri has been a bit more erratic than usual in the last week or so. Apple has announced a major announcement for 9/12. Conclusions are left to the reader.
Best of luck.
(Occasionally from Lower Economy, Colchester County). -
How to use the property-loader?
Hello,
i´m using TS 3.5 and LV 8.0. Now i also want to use the built-in property-loader from Teststand.
Is there somewhere a documentation for "beginners" how to use this property-loader? At the end i want to read parameters from an ascii-file which updates my input-parameters of the steps in the current-sequence.
I know how to read and change parameters from teststand in labview via active-x, but i have no idea how to use this propertyloader-thing.
Is there an easy help file somewhere in the net ( I havent found one yet)?
Thanks for your help.Meanwhile i can use the propertyloader for Limits and Variables which are in a container of the teststep. What not worked was:
1.) setting the properties of a "Messagebox". For example the property "Button1Label". Why is this not working?
2.) The second thing what is not clear: Do i need for each sequence an own property-loader? I tested it with a sequence with one subsequence. Does the subsequence needs its own property-loader?
Currently the import-csv-file looks like this:
Start Marker,,,
<Step Name>,Limits.Low,Limits.High,Cont.Voltage
TestStep_1,1,2,4
TestStep_2,8,16,32
End Marker,,,
When Teststep_1 and Teststep_2 are both in mainsequence then it works. When i copy Teststep_2 in a subsequence then i get an error (-18).
Any ideas about my two questions?
Thanks -
iCal reports that it can't find server, and lots of data from several years ago is trying to get attention. Cannot bring up calendar in any view to use. also keeps loading unused calendar websites from long ago. I can' remove them. what to do?
UPDATE: I had 36 Safari windows open and minimized on the dock from my last session; 20 of those windows failed to open b/c Safari "couldn't find the server"; I just went to the URL bar of all 20 pages and clicked return, and all 20 pages loaded perfectly, without dropping any images or losing formatting. This is a puzzle!!!
-
Loading the data from a packed decimal format file using a sql*loader.
Hi ,
In one of the project i'm working here i have to load the data into oracle table from a file using a Sql*loader but the problem is the data file is in the packed decimal format so please let me know if there is any way to do this....I search a lot regarding this ..If anybody faced such type of problem ,then let me the steps to solve this.
Thanks in advance ,
Narasingarao.declare
f utl_file.file_type;
s1 varchar2(200);
s2 varchar2(200);
s3 varchar2(200);
c number := 0;
begin
f := utl_file.fopen('TRY','sample1.txt','R');
utl_file.get_line(f,s1);
utl_file.get_line(f,s2);
utl_file.get_line(f,s3);
insert into sampletable (a,b,c) values (s1,s2,s3);
c := c + 1;
utl_file.fclose(f);
exception
when NO_DATA_FOUND then
if utl_file.is_open(f) then utl_file.fclose(f); ens if;
dbms_output.put_line('No. of rows inserted : ' || c);
end;SY. -
Hey guys i was wondering if i could downgrade my iphone 5 from ios 7.1.1 to 7.0.6 or .0.4 i have 7.0.6 and .0.4 shsh blobs but when i try to build a custom ipsw using ifaith it loads and never stop loading is there any way to downgrade to older ios 7 ?
No, you cannot downgrade your iOS device. That's not supported by Apple.
-
Creation of "New Badi" with Multiple Use
Hi,
I am trying to create New badi within enhancement spot which is multiple use, problem here is the badi interface method has got some exporting parameters.
when i try to activate badi definition it is showing the error this type of interface which is having exporting or returning parameters cannot be used, however if i remove export parameters in the interface method, then i am able to activate the BADI definition.
Please suggest me, is it not possible to have badi interface method with exporting or returning parameters if it is Multiple Use Badi???
Thanks,
Kranthi.Answered my self.
it is the restriction. below is SAP documentations that explains the same
http://help.sap.com/saphelp_nw70/helpdata/en/e4/5c3642eca5033be10000000a1550b0/frameset.htm -
Business partner migration using lsmw direct load .
Hi,
We need to do business partner migration using the direct load method.
We are thinking of using direct input method of lsmw for the data transfer.
Could someone suggest a proper object/ subobject for the same.
Alternatively has anyone done the same using LSMWbapi or LSMWidocs.
Inputs will be highly appreciated <<text removed>>
Dirk.
Edited by: Matt on Dec 19, 2008 1:33 PM - Do not offer rewards. Please read the rules of engagement.Hi ,
Does this solution give any way to update the customer fields too ?
We have few customer fields added to BUT tables ... How can we update these fields using LSMW and IDOC ?
Could you please give your opinion on thesame. -
Using sqlldr to load XML files and the file name ? or access the file name
I can use sqlldr to load the XML files when I declare the target table of XMLTYPE, but I need to load the filename and a sequence also with the XML in a table so we can mark wether the file passed validation or not.
something like ....
Create table test1
lobfn varchar(200),
load_number number,
XML_COL XMLTYPE
--------------- here is my sqlldr command
sqlldr xml_user/xml_user load_test1.ctl
LOAD DATA
INFILE *
INTO TABLE test1
append
xmltype(XML_COL)
lobfn FILLER char TERMINATED by ',',
XML_COL LOBFILE(lobfn) TERMINATED BY EOF
BEGINDATA
filename1.xml
filename2.xml
filename64.xml
sqlldr comes back and says "commit point reached - logical record count 64
but when I select count(*) from test1; it returns 0 rows.
and when I
SELECT X.* FROM tst1 P2,
XMLTable ( '//XMLRoot//APPLICATION'
PASSING P2.XML_COL
COLUMNS
"LASTNAME" CHAR(31) PATH 'LASTNAME',
"FIRSTNAME" CHAR(31) PATH 'FIRSTNAME'
) AS X;
It tells me invalid identifier ,
Do I need to use a function to get the XML_COL as a object_value ???
But when I create the table like
create table test1 of XMLTYPE;
and use sqlldr it works, but I dont have the file name, or dont know how to access it ??
and I can use
SELECT X.* FROM tst1 P2,
XMLTable ( '//XMLRoot//APPLICATION'
PASSING P2.object_value
COLUMNS
"LASTNAME" CHAR(31) PATH 'LASTNAME',
"FIRSTNAME" CHAR(31) PATH 'FIRSTNAME'
) AS X;BTW
Here's a trivial example of what you appear to be trying to do..
C:\xdb\otn\sqlLoader>sqlplus scott/tiger @createTable
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Aug 2 22:08:10 2006
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> DROP TABLE TEST_TABLE
2 /
Table dropped.
SQL> CREATE TABLE TEST_TABLE
2 (
3 filename VARCHAR2(32),
4 file_content xmltype
5 )
6 /
Table created.
SQL> quit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
C:\xdb\otn\sqlLoader>type sqlldr.ctl
LOAD DATA
INFILE 'filelist.txt'
INTO TABLE TEST_TABLE
FIELDS TERMINATED BY ','
FILENAME CHAR(32),
FILE_CONTENT LOBFILE(FILENAME) TERMINATED BY EOF
C:\xdb\otn\sqlLoader>type filelist.txt
testcase1.xml
testcase2.xml
C:\xdb\otn\sqlLoader>type testcase1.xml
<foo/>
C:\xdb\otn\sqlLoader>type testcase1.xml
<foo/>
C:\xdb\otn\sqlLoader>sqlldr userid=SCOTT/TIGER control=sqlldr.ctl log=sqlldr.log -direct
SQL*Loader: Release 10.2.0.2.0 - Production on Wed Aug 2 22:08:11 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Load completed - logical record count 2.
C:\xdb\otn\sqlLoader>sqlplus scott/tiger
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Aug 2 22:08:18 2006
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> select * from TEST_TABLE
2 /
FILENAME
FILE_CONTENT
testcase1.xml
<foo/>
testcase2.xml
<baa/>
SQL>
If you are interested in the 11g beta program please contact me directory at
markDOTdrakeAToracleDOTcom -
Issues using the outline load command on Planning Version 11.1.2
Hi All
I am trying to add members into the Account dimension using the outline load utility within Planning version 11.1.2 and I am getting the following error message:
Unable to obtain dimension information and/or perform a data load: Unable to create print writer for log file. “D:Oracle\Middleware\user_projects\epmsystem1\Planning\planning1\Data\Log” is a directory. Exception in thread “main” java.lang.NullPointerException at com.hyperion.planning.utils.HspOutlineload.loadAndPrintStatus<Unknown Source> at com.hyperion.planning.utils.HSPOutlineLoad.main<Unknown Source>
The command synatx I am using is:
Outlineload /A:Plan01 /u:admin /I:D:\Oracle\Middleware\user_projects\epmsystem1\Planning\Planning1\Data\account.csv /D:Account /T
Where the headers of the csv import file I have used are:
Parent,Account
and
Account,Parent
I am e studio enviroment so not sure if this will cause issues.
Any help would be greatly appreciated
RegardsHi All
I am trying to add members into the Account dimension using the outline load utility within Planning version 11.1.2 and I am getting the following error message:
Unable to obtain dimension information and/or perform a data load: Unable to create print writer for log file. “D:Oracle\Middleware\user_projects\epmsystem1\Planning\planning1\Data\Log” is a directory. Exception in thread “main” java.lang.NullPointerException at com.hyperion.planning.utils.HspOutlineload.loadAndPrintStatus<Unknown Source> at com.hyperion.planning.utils.HSPOutlineLoad.main<Unknown Source>
The command synatx I am using is:
Outlineload /A:Plan01 /u:admin /I:D:\Oracle\Middleware\user_projects\epmsystem1\Planning\Planning1\Data\account.csv /D:Account /T
Where the headers of the csv import file I have used are:
Parent,Account
and
Account,Parent
I am e studio enviroment so not sure if this will cause issues.
Any help would be greatly appreciated
Regards -
I guess this is kind of a newbie question, so sorry in advance, but I can't figure this out from the documentation.
I would like to use SQLLDR to load a series of files (a.txt, b.txt, c.txt, for example) to a CLOB. I want one file per row as each one is a separate document. I want everything in the file loaded up until EOF, then I want to move on to the next file.
It sounds fairly simple, but so far I haven't been very successful. Could anyone post an example control file.
Thanks.Use DBMS_LOB.LoadFromFile to do this (files must be accesible from the Oracle server to do this).
Message was edited by:
Kamal Kishore -
Using loadMovie to load SWF linked to FLV
I am having problems getting a movie (SWF) with an linked FLV
file to play when I use loadMovie to load it in.
I have an .FLV file named vid_9.flv. I have embedded it into
a Flash movie named vid_9.swf using Flash 8 Professional. I am
using "Progressive Download from a Web Server" and no controls.
When I play the SWF on the stand-alone player (the FLV is in the
same folder) it works great. Now when I call that SWF into another
movie using
swfHolder.loadMovie("SWFs/vid_9.swf");
it shows it being completely loaded, but then never plays,
all I get is a white screen. This is my second project in a row
where this did not work. Any ideas as to why? Thanks for any
help.onLoadComplete executes before the loaded swf's assets are initialized: use onLoadInit.
those function definitions in your loaded swf should NOT be in an onLoad method. if they are defined on the main timeline of the loaded swf, use:
var url:String = "scene05.swf";
var movieClip:MovieClip = createEmptyMovieClip("movieClip", 0);
var listenerObj:Object = new Object();
listenerObj.onLoadInit = function (target_mc:MovieClip):Void {
//It should execute these functions that are located in the onLoad event in the loaded swf.
target_mc.initBackground();
target_mc.initBackgroundWeg();
target_mc.initVehicles();
target_mc.initForeground();
target_mc.initKnoppen();
var movieClipLoader:MovieClipLoader = new MovieClipLoader();
movieClipLoader.addListener(listenerObj);
movieClipLoader.loadClip(url, movieClip);
Maybe you are looking for
-
create a new account, it tells me that I already have an account and it won't let me create a new account, how do i cancel that old itunes account and create a new one with my new apple e-mail address? Also when I select on my ipad free apps, it pops
-
Hi All, Can any body explain me how to create and transfer custom Idoc(Purchase order type) for Sap Business connector server. thanks®ds, srinivas.
-
Hello, I am using oracle 10g I have a tableA i.e. it takes the user hierarchy. which has the table columns like group1,group2,group3 group1 is the manager1,group2 is under group1,group3 is under group2 i mean the data. and the username Now what i wan
-
Any known issues with using JAI-CVM10, Rev. D in Random Trigger Mode w/ PCI-1409
I am using a JAI-CVM10, Rev. D camera with a PCI-1409 framegrabber. I am having trouble getting it to work in random trigger mode. I used the example vi for JAI-CVM10, Rev. F and am able to get a picture using the internal trigger. However, I lose th
-
ITunes ios 5 quits out - iPad 1
ITunes app on iPad 1 keeps quitting out when I try to select an episode to view or download. What can I do to stop this from happening? Is there a way to uninstall and reinstall it? Thanks in advance.