AS2 problem
Hello I´m having problems with a simple as2 piece of
code...
//Hide Close Button
cerrar_mc._visible = false;
//Show Close Button
text_bg.onRollOver = function():Void{
cerrar_mc._visible = true;
text_bg.onRollOut = function():Void{
cerrar_mc._visible = false;
//Drag Text
text_bg.onPress = function():Void{
this._parent.startDrag(false, -325, -140, 420, 280);
text_bg.onRelease = function():Void{
this._parent.stopDrag();
text_bg.onReleaseOutside = function():Void{
this._parent.stopDrag();
What I need the code to do is to make text_bg drag, and show
cerrar_mc on rollover.
cerrar_mc is a close button which unloads the movie on that
level.
The problem is that when i rollover text_bg, cerrar_mc is
visible but when i rollover it, it disappears.
Is there anything wrong with the code?
thanks.
text_bg.onRollOver = cerrar_mc.onRollOver = function()
and
text_bg.onRollout = cerrar_mc.onRollOut = function()
That should fix your problem.
What was happening is that, when you rolled onto the
cerrar_mc, you subsequently would rollOut of the text_bg, and the
rollOut event would fire.
Similar Messages
-
Cs4, publishing to fp9 as2, problem with mask
hello;
I have a tf on the stage, with character embedding;
the tf is masked;
I have publish setting on flash player 9, AS2;
when I play swf in flash player, the tf is not visible;
if I publish to fp7, as2, no problem;
any thoughts?
thanks,
ShannonHi,
Try exporting your file with the following settings to get a high quality GIF
Dimensions : Match movie
Playback : Animated
: Loop continuously
Options : Optimize colors
: Smooth
Transparent : Opaque
Dither : None
Palette Type : Adaptive
Max colors : 99999
Thanks!
ps: please mark this post as Answered if this of any help to you -
Embedding youtube video in flash with as2 - problem with black bars
I have successfully embedded the youtube video in my flash code with:
//create area to put youtube video on screen
this.createEmptyMovieClip("reason1_video", 10000);
reason1_video._xscale = 60;
reason1_video._yscale = 60;
this.reason1_video.loadMovie("http://www.youtube.com/v/PUt7Kw9Q_Qc?hd=1");
However, the video plays with black bars on top and bottom even though it plays without those directly from youtube:
http://www.youtube.com/parallelic#p/c/258EA3637F3467BD/7/PUt7Kw9Q_Qc
Even if I take off the scaling, it still has the black bars. How do I get rid of them?So basicly your putting a video in to your flash project
-
Problem with Preloader in my Flash AS2 Game
I have been using this tutorial to make a preloader:
http://www.republicofcode.com/tutori.../preloader_bc/
I have run into one problem though.
When I simulate the download, it just shows the background color of the game while it loads, and when it finished loading, it shows the loading screen fully loaded. I have followed the tutorial exactly, except added my file names into the AS2 code.
Here is the ActionScript in Frame 1 I have for the preloader:
if (_root.getBytesTotal() != _root.getBytesLoaded()){
stopAndGoto(1);
preloaderBar._xscale=(_root.getBytesLoaded()/_root.getBytesTotal())*100;
loaderTxt.text=Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100)+"%";
Any hints or answers to what i'm doing wrong?
Thanks, MrA615.Your description of what you've done and the code you show does not match what the tutorial says to do and what code to use... (there is no stopAndGoTo() function in Flash).
Right-click the second frame on the upper layer labeled Actions and select Actions. Copy and paste the code below to make our preloader functional.
if (_root.getBytesTotal() != _root.getBytesLoaded()){
gotoAndPlay(1);
bar_mc._xscale=(_root.getBytesLoaded()/_root.getBytesTotal())*100;
loader_txt.text=Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100)+"%"; -
Problem with CC Receiver with AS2 Adapter Seeburger
Hi,
I try to test the AS2 Adapter with Receiver channel y one server and Sender channel in second server, but in the Receiver channel, I have the error :
"MP: Exception caught with cause com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of as2."
I find the error and I found the URL Error in AS2 adapter. Object not found in lookup of as2.. Its urgent..!! with the same problem, but I have the same configuration in the Party of the receiver and the Sender, the same AS2ID name, and try with the solution in the forum respect the Party name in the scenario of the Receiver, but don't work.
My scenario is send an IDOC from R/3 to a partner with the AS2 receiver channel.
Is my fisrt scenario with AS2 adapter. Somebody help me please with any example or with any idea about the solution to my problem?
Greetings,
HerveyI have resolved this problem, thanks.
-
Seeburger AS2 comm channel problem (B2B) - "perhaps AS2ID missing"
Hi guys!
We try to configure B2B scenario using Seeburger AS2, but communication channel monitor returns error:
Error type: COMPONENT_ERROR,NOT_TRANSMITTED >> Error date: 9/25/07 10:05 AM >> Description: AS2 Adapter failure Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing.. com.seeburger.as2.AS2Plugin.execute(AS2Plugin.java:321) [9/25/07 10:05 AM]
We're not sure about the scenario configuration and using identifiers (cos' this is probably the problem).
Did someone of u already configured Seeburger AS2?
We have configured in receiver party alternative identifier Seeburger - AS2ID, however, the message sent to target has always agency XI and scheme XIParty. It should be probably Seeburger and AS2ID (the alternative one).
<SAP:Receiver>
<SAP:Party agency="http://sap.com/xi/XI" scheme="XIParty">XXXX</SAP:Party>
<SAP:Service>BS_3RD_XXXXX</SAP:Service>
<SAP:Interface
How to achieve it?
Thanx a lot!
PeterHi Anoop!
Yes, we use it on receiver side.
ModuleProcessorExitbean exists, so it should be ok.
What I'm not sure about is the thing with identifiers..
In Party (let's call it X) - Identifiers, we have default agency http://sap.com/xi/XI, scheme XIParty and name X.
What values should be there for Seeburger?
We have Agency: Seeburger, Scheme: AS2ID; Name: X.
Is it correct?
We also received some 9 char long number - probably some ID to adapter(?). Any idea, if it is necessary and where to use it?
Is it necessary to configure identifier seeburger also in Identifiers tab of Receiver communication channel? Or we can leave it empty (both- sender, receiver)?
We use this in B2B scenario, of course: Target system is party, but we use our R/3 as Business System w/o party. Is it ok, or do we laso have to "be" as Party in our configuration scenario?
A lot of questions, but points will be awarded 4 sure
Thanx!
Peter -
Load AS2 swf into AS3 swf problem
I have a flash with AS3 and inside this swf i load in a AS2 swf.
to load swf works just fine, but the problem is when i load this i want to go to
a specific part of it, for example i want to go to frame 3 in the loaded swf.
i must control this from the AS3 swf, does someone know if this is possible?
thanks in advanceso can i do like this then to go to frame 3 in my loaded swf?
MovieClip(ldr.content).gotoAndStop(3); ?
sorry for being such an airhead
thanks for helping me out =)
Date: Sun, 7 Jun 2009 10:25:09 -0600
From: [email protected]
To: [email protected]
Subject: load AS2 swf into AS3 swf problem
no.
if, in your loaded swf, you have a function f1() on the loaded swf's main timeline and you load that swf using a loader (say ldr), use:
MovieClip(ldr.content).f1(); // to call f1() in the loaded swf
> -
Is loading a as2 swf into my as3 flash site the problem here?
My question is listed on another board here, but I am too inexperienced to understand how to fix my issue:
http://forums.adobe.com/message/5045059#5045059
I went on flashkit.com and a member there immediately said that it "sounds like the problem is using the AS2 swf loaded into the AS3 swf."
If it is... this mean I will have to convert everything in the AS2 .swf (including the XML retrieval script) to AS3. I may need some help with that if that is the problem.
So will AS2 swfs cause XML communication and retrieval issues if loaded with a loader script into an AS3 file?
Everything works (the buttons are clickable and when you click on a square in the "thumbnails" scroller it displays the correct photo title and captions), except I just cannot see the actual photos in my XML gallery. I am truly clueless as to why this happens and I've searched for days straight and tried many things...
You'll find all the details of my problem in the above link.
Thanks!Its really not worth the trouble to get as2 working with as3 if your goal is to make an xml driven gallery. There are literally thousands of free examples/tutorials how to achieve that feature with 50+ LOC. Like this one.
-
AS2 swf problem under AS3 swf (probably Tweener problem)
Hello. I have this problem for a days and it hasn't been soluted yet although I put it on couple of forums. I have 3 files: test.fla, file_as2, file_as3.
The test.fla file is a typical Loader, which loads external swf files and shows them on the screen. After any key is pressed, the swf is deleted from the screen and loaded again.
The file_as2 and file_as3 are the AS2 and AS3 compiled having a simple square animation (6 squares fading in from alpha 0 one by one) animated by caurina Tweener. If the file_as3 is compilated and loaded externally there is no problem (six sqares are fading in, after pressing any key the vanish and appear (loaded) again and again...). But if the swf as2 file is loaded, it shows the squares only once and after pressing any key and loading it again, it doesn't shows it at all.
I guess it's Tweener problem, because when i trace it in AS2 file (onUpdate) it traces only at the beginning.
How it's possible, that AS3 somehow stops all Tweeners in 2nd time loaded AS2 file?? How to fix it?? Sorry for my english, i left a link for these 3 files to find solution. Try it (test.swf) and then change path inside fla to load AS2 file... Thanks for any ideas.
Link to download: http://www.filolozka.pl/zip/file.ZIPInstead of reusing the same Loader, try loading the AS2 movie multiple times using different Loader instances. Instead of using event listeners like normal, this should be easy to do because you can addChild each Loader instance, and when it is loaded it will automatically play. If you are able to load the AS2 movie multiple times at once and have it work for you, then the problem must be in the way that you removing the old movie, and reusing code to load the movie again.
-
Hi..
I'm Ajanthan.. I work for a e-learning concern. Now i had a problem. I have developed the entire module with 800x600 Resolution.
But Now I got an issue that i need to reduce the content area (Shrink the contents instead of changing the resolution). Because some one had developed the custom player that will affect some of the margins of the content.
Is there any AS2 script is avail for scaling the entire stage to 80 % of its original size for the entire module... If so Please help me in this...
Thank you..
Ajanthan Mor take the as2 v-cam from the internet and put it in your flash on a new layer, and scale the vcam +20% of the stage size.
-
I experiencing a problem with the AS2 (V2) components named
Datagrid and List. Is there a way to resize the using actionscript
just to display more datas instead of scaling or stretching to the
new size but still displaying the same amount of visible data.
See? when change their size in action script, they scale or
stretch, but I want to them to keep their aspect and offer to view
more items at once.
Any help will be appreciatedDon't use _width or _height to change the size if that's what
you're doing.
myGrid.setSize(width, height);
as an example if your Datagrid is called myGrid. -
Outbound Seeburger AS2 setup problem
Hello,
I am trying to setup Seeburger AS2 adapter in the way that I can post documents from our SAP system to the external server that is sitting in the internet. I was following the SAPXI30_AS2Adapter.pdf guide but it is still not working. When I initiate the posting in SAP it goes correctly to XI, XI correctly process the IDOC and maps it to XML document and pass it to AS2 adapter. But here it fails. In adapter monitoring I can see this error message:
Description: AS2 Adapter failure
Details: Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing..[8/31/06 9:23 AM]
ConnectionId: null-allianceTestingServer_Party >> PartnerAddressId: allianceTestingServer_Party >> Transferred: 0/0 >> Error type: pre plugin call failed >> Error date: 1157030604769 >> Description: [8/31/06 9:23 AM]
2006/08/31 - 09:28:28:40
Retryable fault in 'Channel:allianceTestingServer_AS2_outbound'.
I think I've setup everything correctly so no idea where can be the problem. It is saying that I probably do not have AS2ID setup but it is either not true or I do not know how to do it.
Any help would be very much appreciated.
Thank you.
Martin
Solved on my own:
I really didn't have sender configuration completed. I've created new Party, configured it as AS2, created AS2ID for it etc. and then forced it as a sender in the Receiver Agreement.Hi Anoop!
Yes, we use it on receiver side.
ModuleProcessorExitbean exists, so it should be ok.
What I'm not sure about is the thing with identifiers..
In Party (let's call it X) - Identifiers, we have default agency http://sap.com/xi/XI, scheme XIParty and name X.
What values should be there for Seeburger?
We have Agency: Seeburger, Scheme: AS2ID; Name: X.
Is it correct?
We also received some 9 char long number - probably some ID to adapter(?). Any idea, if it is necessary and where to use it?
Is it necessary to configure identifier seeburger also in Identifiers tab of Receiver communication channel? Or we can leave it empty (both- sender, receiver)?
We use this in B2B scenario, of course: Target system is party, but we use our R/3 as Business System w/o party. Is it ok, or do we laso have to "be" as Party in our configuration scenario?
A lot of questions, but points will be awarded 4 sure
Thanx!
Peter -
Hello, I have a question about the ActionScript 2.0 SendAndLoad
This is my AS2 code:
var send_lv: LoadVars = new LoadVars ();
var load_lv: LoadVars = new LoadVars ();
send_lv.mydata = '{"name": "guest"}'; // ( JSON data)
send_lv.sendAndLoad ("anyURL", load_lv);
However, when I send, "mydata" would be encoded as: "mydata =%7B%22name%22%3A%22guest%22%7D"
How can I keep "mydata" remain {"name": "guest"}?
Note: This problem doesn't happen in ActionScript 3.0
Thank you very muchThank you very much
But this doesn't work
send_lv.mydata={name:"guest"} → [object Object](mydata=%5Bobject%20Object%5D) -
Hi Experts,
We have Seeburger scenrio while testing with My partner received HTTP Error 403 forbidden.
For configuration we are using AS2 adapter.
what does this mean is it we are having cofiguration problem or is it partner setup.
Regards,
JI can think of few checks, may be this can help
1. A valid sender agreement is missing.
2. Check AS2 ID.
3. There are more then one AS2 sender agreements with the same sender AND receiver party. -
BizTalk AS2 Certificate configuration problem
Hi,
I'm having a problem with signing a certificate to send port. I have imported 2 diferent certificates in mmc to "Local Computer\Other People" and "Local Computer\Trusted Root Certification Authorities". Then I went to BTAdmin and select
some Send Port then Certificate then Browse. One of certificates was there and other was not.
Then I went on this page
http://msdn.microsoft.com/en-us/library/bb728096.aspx and found this:
"Certificates used for AS2 transport must have the attributes required for their
intended use. For signing and signature verification, the Key Usage attribute
of the certificate must be Digital Signature.
For encryption and decryption, the Key Usage attribute
of the certificate must be Data Encipherment or Key
Encipherment. You can verify the Key
Usage attribute by double-clicking the certificate, clicking the Details tab
in the Certificate dialog
box, and checking the Key Usage field."
I have noticed that the certificate that is not showing in BTAdmin, does not have field "Key Uasge", but other one does have and its value is "Digital Signature, Key Encipherment (a0)". Is there any way to configure that
"not working" certificate, so that I can select it in BTAdmin or this is dead end?
Thanks in advance,
TGIn AS2 BizTalk a certificate on a Send Port would be is for signing and/or for encryption. So there is not any way to configure the existing/in present certificate. So one should have
to request a new one with there right key usage.
http://www.athenainfotech.co.uk/managed-b2b-services
Maybe you are looking for
-
How to disable IE Security Warning on opening a "local" visio file with Visio Viewer ActiveX?
Hello all, Everyone knows that Microsoft released ActiveX based Visio Viewer for free and allow the users to open Visio drawing and view/print via IE browser. The problem that I am facing is that some users are complaining about IE browser's security
-
Calculation of tax with two conditions
hi all, i have an issue regarding tax in condition in po. i want the calculation of tax should be on two condition basis, while i am giving value in tax code field in invoice tab. 1. when i am entering tax code, the value like- L1- 4%, L2- 12%, that
-
Webservice Response Attachement Deserialize XOP Include Error
Hello experts, I am consuming a non SAP Webservice. The response contains a HTML attachment and the XOP Include element can not be interpreted. The Response: <ns2:html_content><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:[
-
Host & Java monitoring returns grey entries solman 7.1 SP10
Hello SAP, We have configured system monitoring in Solution Manager 7.1 SP10 system. Monitoring data for database and ABAP technical instance is getting captured and available in system/database monitoring in technical monitoring work center. But hos
-
can u tell me how can i make a continuas thermistor measured? i need to take a real time temperature on a motor. thanks