Send varible vaue one swf to another(child) swf??
Hi I have made my project in diffrent flash files but now i m stuck to get data from child.swf to index.swf.
In your index file declare variables like
var datafromchild:String="";
and from your child swf write as:
MovieClip(root).datafromchild="your name";
MovieClip(root) depends upon the level sometimes it would be MovieClip(parent.parent).datafromchild="your name" based on the nested movieclips.
This is a simplest method, but if level increases it will be worst to store and retrieve. also have others feedback also may be you will get some simple methods too.
Note: there is no global variable in AS3 like AS2
Similar Messages
-
How can I send stuff from one iPhone to another via Bluetooth?
How can I send stuff from one iPhone to another via Bluetooth?
There are some apps that will let you send photos from one iOS device to another over BT.
-
Can you send iMessages from one iPad to another? If so how can I do this? Thanks
I have just got a new iPad and I'm wondering if you can send iMessages from one iPad to another? We are currently trying this out and can only send iMessages from an iPad to an iPhone is this correct? Thanks
You can use the Messages app to send messages to any iOS device or to a Mac running Mountain Lion. So yes you can send a message to another iPad.
Both iPads have to have Messages set up and you need to contact the other iPad using an email addresses as the "you can be reached at" email address.
Do you have it set up correctly on both iPads?
http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/ -
Send notification from one MBean to another
How do you send notifications from one MBean to another, with both extending NotificationBroadcasterSupport?
I don't mean using the POJO classes themselves, but sending a notification to the managed resource (from the ObjectName) of the other. I figured you'd perhaps add it to the Notification subclass you send, but I don't know how in the NotificationListener you'd send it to another ObjectName.
What I'm trying to do is see perform an operation in one MBean in JConsole and see a message added to another MBean's notifications list. How might I be able to do this?
Thanks.Hi,
If you want MBean A to receive notifications from MBean B, then you only need MBean A to register as a notification listener with MBean B,
Where's the problem?
-- daniel -
I want to send data from One server to another
Hi all,
My requirement to send data from one server's application server path(data in one directory in Al11 of the source server) to another server's application server(TO another directory in Al11 transaction of the destination server).
What are all the ways to achieve this task.
Thanks in Advance.
RajaWhile the FTP option mentioned above is workable, both servers should have some form of FTP service running with reference to this solution.
I suggest two more options, just to give you an idea. I am not getting into details as it is important to get the big picture first before working on details.
1: Through RFC destinations:
You can define two RFc destinations, each pointing to the specific application server. Assuming the server names are SOURCE and TARGET, you can have two RFC destinations where you differentiate the servers by specifying the host name or IP address.
Once the destinations are defined, you need to develop two RFC enabled function module, one will be used to read the file and return it in form of internal table. The other will be get the internal table as input and should save it on server (using abap commands open dataset etc.)
Now you can have an ABAP program where you first call the function which is reading the file. In call function you mention the RFC destination of source server.
Once the file is read, you than call the second function module with destination to target server and save the internal table to a file.
2: Through Background job programming
While scheduling a background job, you can specify target system which forces the background job to run on that target application server. The basic idea here is to have two abap programs, one would be used to read file and export it to database table like INDX (we can call it ZPRG1), the other will import from the table INDX and write it as a file (we can call it ZPRG2).
Now you can define a job through SM36, using ZPRG1 as program, and target system as the first application server. This job you can schedule to run periodically.
Also define a second job through SM36, using ZPRG2 as program and target system as the second application server. For this job, the starting condition you can put as After completion of job1.
Another method one can be by using FMs used in tcode SM49 but for that I think your sysadmin might have to create a batch file/script first. Which you can later call from ABAP.
Cheers. -
TS2755 How can I send messages between one iPod to another iPod?
I need help trying to send a message from one iPod to another using the messaging.
There are some apps that will let you send photos from one iOS device to another over BT.
-
Need help unloading an External .swf within another external .swf
My main project loads an external .swf ("room") depending on which button the user clicks. Once that external .swf ("room") is loaded, the viewer chooses a ("demo") .swf to view. I need the "demo" .swf to unload once it is finished playing so that the viewer sees the 1st external .swfs menu again. All .swfs are loaded into an empty loader component. The "demo" swfs were created in captivate thus I don't have access to a timeline for them.
I imported a .swf into captivate that will call a function at the end ie..._root.unloadCaptivate();
and I have the following code in the originally loaded .swf
function unloadCaptivate() {
mcLoader.unloadClip(accountingLoader_mc);
btnEndPeriod_btn.enabled = true;
btnCashCollect_btn.enabled = true;
btnFinancialMGMT_btn.enabled = true;
_root.btnHome_mc._visible = false;
btnAcct_mc._visible = false;
btnPlay._visible = false;
btnPause._visible = false;
That all works fine, but when I load "room" .swfs into the main .swf, the unloadCaptivate(); no longer works...any ideas? Thanks!you should be able to use a loop (like onEnterFrame) to check when your demo swf's _currentframe==_totalframes.
-
How do I program the preloader in a fluid swf from another fluid swf?
I have built a fluid swf(preloader.swf) which is like an intro-cum-preloader screen to a flash site which is stored in main.swf. How do I program the preloader.swf to show the preload percentage of main.swf ?
All the swf files used here are fluid,so there is an actionscript file which loads the movieclips onto stage dynamically,please give me a solution to this keeping this in mind. Please do ask for clarifications if needed.You want to use the Loader class in Actionscript 3. If you look at the example in the online help, you'll see that there are, among others, a progress event and a complete event. You can use this progress event, to track the progress of the loading of the file. The complete event occurs when the file has completely loaded.
Have a look at this: http://help.adobe.com/en_US/ActionScript/3.0_UsingComponentsAS3/WS5b3ccc516d4fbf351e63e3d1 18a9c65b32-7fa4.html it explains how to use a Progress Bar component to show the loading of a file. -
How to create idoc and send it frm one sap to another sap
hi,
can anyone tell me the complete procedure of creating the idoc and sending it to another sap r/3
how to create rfc destination, partner profiles, port and outbound parameter and inbound parameter
thanksHi Azhar,
Go through the following Links
IDOC
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
Go through the following Steps for Creating IDoc Via ALE
ALE IDOC
Sending System(Outbound ALE Process)
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Create Model View
Tcode BD82 ? Generate partner Profiles & Create Ports
Tcode BD64 ? Distribute the Model view
Message Type MATMAS
Tcode BD10 ? Send Material Data
Tcode WE05 ? Idoc List for watching any Errors
Receiving System(Inbound ALE )
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ? Idoc List for inbound status codes
ALE IDOC Steps
Sending System(Outbound ALE Process)
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Create Model View
Tcode BD82 !V Generate partner Profiles & Create Ports
Tcode BD64 !V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 !V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 !V Send Material Data
Tcode WE05 !V Idoc List for watching any Errors
1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
1) System Name : ERP000
Description : Sending System
2) System Name : ERP800
Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
Client : ERP 000
City :
Logical System
Currency
Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
3)
Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
5) Goto Tcode BD64
seelct the modelview
goto >edit>modelview-->distribute
press ok & Press enter
6)goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
7)goto Tcode : BD11 for Material Receiving
Material : mat_001
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Change Pointers
I know how to change the description of a material using ALE Change Pointers.
I will give the following few steps
1) Tcode BD61---> check the change pointers activated check box
save and goback.
2) Tcode BD50---> check the MATMAS check box save and comeback.
3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
4) Tcode BD52---> give message type : matmas press ok button.
select all what ever you want and delete remaining fields.
save & come back.
5) 5) go to Tcode MM02 select one material and try to change the description and save it
it will effects the target systems material desciption will also changes
6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
give Message type : MATMAS and Executte
ALE/IDOC Status Codes/Messages
01 Error --> Idoc Added
30 Error --> Idoc ready for dispatch(ALE Service)
then goto SE38 --> Execute the Program RBDMIDOC
29 Error --> ALE Service Layer
then goto SE38 --> Execute the Program RSEOUT00
03 Error --> Data Passed to Port ok
then goto SE38 --> Execute the Program RBDMOIND
12 Error --> Dispatch ok
Inbound Status Codes
50 Error --> It will go for ALE Service Layer
56 Error --> Idoc with Errors added
51 Error --> Application Document not posted
65 Error --> Error in ALE Service Layer
for 51 or 56 Errors do the following steps
goto WE19 > give the IDOC Number and Execute>
Press on Inbound function Module
for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error
Regards
Sreeni -
How Can I Send Data From One Pc To Another Using An Ethernet Connection ?
Hi,
I would Like to know how to send data ( For example, any String ) from a Server Pc to a Client Pc, Using the same java program installed on both computers.
[Pc One ( Server ) [ Java Program] ] <----Ethernet--Cable----> [Pc Two( Client ) [ Java Program] ]
Thanks .
Edited by: jaysal2490 on Jul 7, 2008 9:45 PM
Edited by: jaysal2490 on Jul 7, 2008 9:46 PM
Edited by: jaysal2490 on Jul 7, 2008 9:51 PMCheck out this tutorial:
http://java.sun.com/docs/books/tutorial/networking/sockets/index.html
There are code samples included. -
How to send output of one Bapi to another Bapi??
dear all,
I am having two BAPIs. From one Bapi I am getting value(Output) in one dropdown box.
Now my problem is how to give output of first BAPI(in drop down box) as input to second BAPI which should display in second drop down.
Am I clear???
I have two drop down boxes and two BAPIs. I am able to get output of first BAPI into first drop down box. Now i have to use the data in first drop down box as input to second BAPI(second drop down box).
The second BAPI takes first BAPI output as its Input.
As I am new to Web Dynpro please help me in this regard detailly.Hi Pradeep,
Consider you have dropdown1 displays all the countryNames which is output of BAPI1..
Now you want to input this to BAPI2.Am i right ?
If so
1. create model instance of BAPI2 as you did for BAPI1.
2. get the value from outputnode of BAPI1 by
wdCOntext.outputNode().getXXX()
and set this value to the input model instance of BAPI2 and call execute method on the model.
Regards, ANilkumar -
Sending text from one JFrame to another
I've been trying to create a program which creates two JFrame objects obtained as instances of the classes InFrame and OutFrame, each of them containing a textfield and a textarea. I want to accomplish the following:
1) on the textField in JFrame1 I type text. I hit ENTER and because it has an actionListener it comes out on the textarea on the JFrame2
2) on the textField in JFrame2 I type text. I hit ENTER and it comes out on the textarea on the JFrame1, some sort of Chat Simulator.
I already made the first textField to receive input and display it on the textarea of JFrame2, but i haven't been able to do it for the other JFrame. Can anyone tell me how to finish it? Any help would be greatly appreciated.I've been trying to create a program which creates two
JFrame objects obtained as instances of the classes
InFrame and OutFrame, each of them containing a
textfield and a textarea. I want to accomplish the
following:
1) on the textField in JFrame1 I type text. I hit
ENTER and because it has an actionListener it comes
out on the textarea on the JFrame2
2) on the textField in JFrame2 I type text. I hit
ENTER and it comes out on the textarea on the JFrame1,
some sort of Chat Simulator.
I already made the first textField to receive input
and display it on the textarea of JFrame2, but i
haven't been able to do it for the other JFrame. Can
anyone tell me how to finish it? Any help would be
greatly appreciated.Are these running in the same JVM? If so, then you should have a single "parent" (bad word choice) that handles instantiation of the 2 JFrames. It should also have a reference to each of them.
Have each of the JFrames present 3 methods:
1. public void addTextListener(ActionListener l):
This allows you to add an ActionListener to the TextField of one of the frames, which you can then have call the following methods.
2. public void appendText(String s):
Adds text to the TextArea
3. public String getText():
Gets the text in the TextField.
I can't help but think, tho, that both classes should be of the same type if they genuinely do the same thing. -
How send contacts from one group to another
I have 2 groups ; iCloud and contacts from PC in my iPad. How do I copy contact from one group to another
Hi,
what you are being asked to do would be a complex task for an experienced DBA, which, judging by the way you have asked the questions, you are not, no offence intended.
As far as I can see you have three options.
1. Hire a consultant/contractor with the necessary skills to perform the tasks.
2. Gain several years experience as an Oracle DBA, including Apex, backup and recovery and disaster recovery skills.
3. Look for a new job.
Sorry to sound facetious, but it is a ridiculous task you have been given assuming the skill and knowledge level you are coming from. Assuming you have not misrepresented yourself to your employer, this is not your fault and I think you need to seriously push back on your boss if possible.
Regards
Andre -
Send data from one phone to another via IR port
Hi
I am trying to implement a J2ME program over a Nokia 3200 to exchange data with another phone via IR. Is there any API to do it? Any suggestions, pls.So you want to do a online request while navigating to second screen using the employee ID selected? If yes follow this,
Assume we have 2 screens, screen1 and screen2. Create a editbox in screen 2 and map the key of the editbox with key of employee ID.
Drag and drop a a HTMLView from control to screen2. and in the properties>default field provide this : <div id = "HTMLList"></div>
Create a custom action in screen2,ex.GetDetail. The online request of this custom action will do the second call to SAP with employee ID as input. So map the employee ID present in the screen2 as input of this request and give the success screen as screen2 (same screen). A method will be created for this action, call that method inside function customBeforeShowScreen:
if(screenToShow==="Screen2") {
menuItemCallbackScreen2GetDetails();
return true;
4. For the HTML View write code to show the data as mentioned in the blog, Developing HWC app with Customized List
Midhun VP -
How do I send bookmarks from one phone to another?
I have a razr maxx hd with my bookmarks and home page all set up. I do not use firefox on a computer. How can I copy bookmarks from my current phone to my new Note 3 firefox browser?
Try to use [[How do I set up Firefox Sync?]]
Maybe you are looking for
-
Hi im trying to connect to itunes and i cant figure out how to enable it
my ipod is disabled and it says to cunnect to itunes and i cant figure it out how to enable it. HELP ME
-
Acrobat 9 closes abruptly after opening .pdf file
Hi I know this is something that looks common but I cant find the solution. My Adobe Acrobat Pro 9 has started, for no particular reasons, to close without any warning and now I cannot read any files for more than 5-10 seconds. I've read this is some
-
sinse updating my iphone 4 to ios 6.1.2 my kitsound boomdock will not support it or my ipod 4th gen ??
-
I am currently using Adobe Acrobat X Pro, and I am creating a form that allows the user to fill in certain fields. I would like the user to be able to save their own copy, but not actually replace the original form. Is this possible and if so, how d
-
Hi, ive been building a fairly large flash app and have realised that i cant click on my movieclip buttons more than once without first moving the mouse. When i test the swf locally i can repeatedly click on my movieclips and fire the onRelease handl