Action Script execution
Hi All,
I have come across situation, here are the details
User creates an action script but he/she is not aware of signature of the properties like "Derived overridable", Inherited and Default values, user creates an action script based on input file.
but here bottle neck moment is while executing action script, it has to skip rows in action script which has value equal to Derived value, Inherited value or default value.
Your advice is highly appreciable
Regards,
Phani.
Sainath,
Referring admin guide as mentioned by Craig is good option.
Let me give you few steps that I did in one of my projects.
Open command prompt and navigate to the path "C:\Oracle\Middleware\EPMSystem11R1\products\DataRelationshipManagement\client\batch-client".. here you can see many see other utilities as well.
drm-batch-client-credentials.exe is the one used to encrypt the userid and password.
open this in command prompt and then choose the application to which you want to encrypt the password.
then remove userid and password from batch script then run it... it does what you want
Similar Messages
-
Show the user action script function is in progress
Hi friends,
iam using action script code to store bitmap images and
display in the required format.
This code takes noticable time to complete.How can i show the
user that the operation is in progress .
regards,
KrishnaThe bar won't animate unless you give it a source.
Also, it won't animate if a loop clogs up the CPU.
Consider using callLater() for step by step execution of the
function in sync with the application framerate. -
How do I use the button states in an action script?
In my Captivate 8 project I use smart shape as buttons. The buttons have different images presented dependent on the state of the button. I have also created a simple action script that shows what happens when the button is pressed. When the button has been pressed the normal state of the button appear. I, however, want the down state of the button to remain visible util the user presses another button. How do I accomplish this? Is there variables for the buttons different state or how can I create that?
BR,
MadeleineWhen you talk about 'actionscript' do you mean advanced or shared actions? You cannot write actionscript within Captivate, only Javascript. If you use advanced/shared actions they'll be converted on runtime to either Actionscript (for SWF output) or Javascript (for HTML5 output).
The states in shape buttons are the normal way buttons behave (not only in Flash). If you are indeed using shared/advanced actions, and you want the down state to remain until the next shape button is clicked, you'll have to go the way described by iFlashAppsToo. Create shapes that have the look of the down state, make them initially invisible and group all those shapes on one slide. Add two statements to the shared/advanced action (please do use shared actions, you'll save time):
Hide Group so that eventual down mimicked states on previously clicked buttons disappear
Show Im_Downx to show the down image for that button -
Adding data to cfgrid using action script
how can i add data to a grid row called name in action
script. i have a cfselect control containing name of students and i
want to add the values of the selected student from the list to
grid.Did you add your instance of SpectrumCanvas to the stage with addChild()?
If so, you should boil your posted code to a more simple example.
If this post answered your question or helped, please mark it as such. -
Error message with Action Script 2.0 file
Hi,
I am trying to edit an old flash file that uses Action Script 2.0. I am using CS6 and keep getting the following error message after publishing:
Scene 1, Layer 'AS', Frame 1, Line 5, Column 29
1067: Implicit coercion of a value of type int to an unrelated type String.
Can you suggest any fixes or workarounds? I also have Flash 4.0. Can i downsave the file? If so, how?
Thanks!Thank you. I think that did fix the original two errors. But now upon test of the file, I get some new errors:
Symbol 'MoneySlider', Layer 'AS', Frame 1, Line 7, Column 3
1120: Access of undefined property ratio.
Symbol 'MoneySlider', Layer 'AS', Frame 1, Line 7, Column 20
1180: Call to a possibly undefined method number.
Symbol 'MoneySlider', Layer 'AS', Frame 1, Line 7, Column 27
1120: Access of undefined property _root.
Symbol 'MoneySlider', Layer 'AS', Frame 1, Line 9, Column 27
1120: Access of undefined property ratio.
And on the MoneySlide layer in Actions:
this.ratio = 0;
this.loadBar._width = 0;
this.dragger.ratio.text= "$0";
dragger.onPress=function(){
this.startDrag(true,0,0,line._width,0);
this.onEnterFrame=function(){
ratio=Math.round(number(_root.transitBenefitLimit/100)*(this._x/(line._width/10 0)));
loadBar._width = Math.round(this._x);
dragger.ratio.text= "$"+ratio;
dragger.onRelease=dragger.onReleaseOutside=stopDrag; -
using action script 2 how can i send a variable value to a dynamic textbox on a different keyframe?
Thanks for your swift response.
That sounds like a good solution, but the code I have on frame 2 is this
timer = 0;
countup = function(){
timer++;
countupInterval = setInterval(countup,100);
If I added the same actionscript to frame 3 which has a dynamic textbox with a variable timer attached wouldn't it just put the timer back to 0? What I want is the last known value that was given when it was in frame 2.
I am thinking of temple run here, I am trying to caculate the total distance(set in the timer variable) from the previous try.
Hope this makes sense.
Chazwick -
Error with dbms_scheduler and shell script execution
Hi,guys.
I have an issue with a dbms_scheduler and a shell script execution. So, the shell script as it self works fine, when i'm executing ./test.sh all process is running, but when i'm executing the script from dbms_scheduler it just simply doesn't work. Actually it works, but some of executable information in sh doesn't work, seems it just jump over of the part of the script. Sendmail part is running, maybe there is problem with rman script as it self?
DB version: 10g
And my scripts:
Shell scripts (permisons 755):
#!/bin/ksh
export PATH=/home/oracle/product/asm_home/bin:/home/oracle/product/db_home/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/oracle/bin:/usr/bin/X11:/sbin:.
export ORACLE_BASE=/home/oracle/product
export ORACLE_SID=zabbix
export ORACLE_HOME=/home/oracle/product/db_home
${ORACLE_HOME}/bin/rman<<EOF
connect target /
run {backup recovery area delete all input;}
EOF
{ echo "From:[email protected]"
echo "To: [email protected]"
echo "Subject: Recovery area"
echo 'Content-Type: text/html'
echo
echo '<html><body><table border="1" cellspacing="1">'
echo '<tr><td><b>Process</b></td><td><b>Statuss</b></td></tr>'
echo "<tr><td>RMAN</td><td><b>Works</b></td></tr>"
echo "</table></body></html>"
} | sendmail -tIn the first part i'm exporting all of the important stuff for oracle, then I call RMAN with specific atributes. And then there is just simply sendmail functionality inside script to represent if script works (for now).
And below pl/sql script:
begin
DBMS_SCHEDULER.CREATE_JOB
job_name => 'FLASH_RECOVERY',
job_type => 'EXECUTABLE',
job_action => '/home/oracle/backup/test.sh',
start_date => sysdate,
job_class => 'DEFAULT_JOB_CLASS',
enabled => TRUE,
auto_drop => FALSE,
comments => 'FLASH RECOVERY USAGE AREA backup and delete'
END;
/And this job execution:
begin
DBMS_SCHEDULER.run_job (job_name =>'FLASH_RECOVERY',use_current_session => TRUE);
end;What can be wrong? For me, I think it's something with permisions.
I hope you got my idea and could help me.
Tom
Edited by: safazaurs on 2013.18.2 22:16There is no error, i just receive all the time e-mail, seems it jumps over rman. I tried almost everything and still couldn't get result as i want. And, if i'm running script from command line - it works. Rman calls, and starts to recover archivelogs.
-
Error while loading an child movieclip if the child has any action script
Hi
I am developing an application where I need to load a child.swf . All works fine when I load the mc but as soon as I add Action Script (lets say trace("test")) to the Child.swf I get a Error #1009: Cannot access a property or method of a null object reference. On the addChild line.
Code
trace("Toothpaste click");
var mLoader:Loader = new Loader();
var mRequest:URLRequest = new URLRequest("Child);
mLoader.load(mRequest);
mcContainer.addChild(mLoader);Sorry.Thanks
Typo on the forum.
I can load the child.swf see the image/text in the child displayed in the parent but as soon as I add as3 to the child page I receive the above mentioned error. If I run the child.swf from the IDE or by itself everything works fine .
trace("Toothpaste click");
var mLoader:Loader = new Loader();
var mRequest:URLRequest = new URLRequest("Child.swf");
mLoader.load(mRequest);
mcContainer.addChild(mLoader); -
Could someone help me with my action script?
I followed a tutorial on how to make an interactive photo gallery but for some reason the file isn't working. I am new to flash and no very little about action script.
Would someone be willing to take a look at my file and advise me?
ThanksDid your tutorial have you download XML from a server to feed the images to the gallery? Many people forget to check for errors loading the XML file or forget to "do something" once the XML is loaded. Common things not to look for are IOErrorEvent.IO_ERROR or SecurotyErrorEvents warning you the XML you're trying to load is on a different domain (a webserver online) and it doesn't have permission (a crossdomain.xml).
In those situations it can appear like it's doing nothing.
Did you just take the code of the tutorial at the end and try to play it as you went through the tutorial? If you just copy and pasted it all you'lre going to have a hard time isolating the issue. In that case you can always re-do the tutorial until you start to see issues. Then you know where they are. -
Setting timeout settings for Action Scripts
We are using OIM 11gR1 along with the AD and Domino connectors. We are also using Action Scripts to perform some post create actions on the AD and Domino resources that get created by OIM. The action scripts are being invoked with the correct set of parameters and they do their job. However for both connectors, the connector server (Java connector server for Domino, .NET connector server for AD) times out when waiting for the script to complete. Our scripts are expected to take a long time (30+ seconds).
Based on our testing, the AD connector times out in 30 seconds, and the Domino connector times out in 20 seconds. You would get the below exception in your Java Connector Server log file:
Dec 4, 2013 2:36:41 PM org.identityconnectors.framework.api.operations.ScriptOnConnectorApiOp runScriptOnConnector
FINE: Exception:
java.lang.RuntimeException: Timeout waiting for action, process was terminated
at org.identityconnectors.domino.WinJni._executeWinCommand(Native Method)
at org.identityconnectors.domino.WinJni.executeWinCommand(WinJni.java:31)
at org.identityconnectors.domino.ScriptOnConnector.executeCmdScript(ScriptOnConnector.java:143)
at org.identityconnectors.domino.ScriptOnConnector.runScriptOnConnector(ScriptOnConnector.java:88)
at org.identityconnectors.domino.DominoConnector.runScriptOnConnector(DominoConnector.java:316)
Is there any way to configure OIM so that it waits longer for the action script to complete. The real problem over here is that if 2 users are being provisioned to AD and/or Domino simultaneously (we use access policies to trigger provisioning rules), then the connector (Java or .NET) does NOT invoke the action script for the second user if the action script for the first user times out. It does however create AD/Domino resources for all applicable users. This in itself is a defect - but I need a workaround.
Looking at some old Sun Identity Manager documentation (which became Oracle Waveset), it seems that the entire OIM concept of action scripts has its origins in Sun Identity Manager/Oracle Waveset. And these products did support the notion of timeouts. Have a look at :
http://docs.oracle.com/cd/E19225-01/821-0092/bzbuc/index.html
Does anyone familiar with Oracle OIM code know if custom timeouts are supported by AD and Domino connectors?
Thanks
Aspi EngineerChange the time for the below under 'Web Intelligence Processing Server'
Idle Document Timeout (seconds):
Idle Connection Timeout (minutes):
If you still have problem then try changing the web.xml under the following war files,
AdminTools
PartnerPlatformService
PerformanceManagement
PlatformServices -
I can't get the original disk to work on a reinstall. I get the message
AdobeColorCommonSetRGB
Error:
Error 2.
I teach a class using this program on Macintosh computers running 10.9.5 and the action script is not working. It will work on any program designed using the 10.8 but if you design any animation on 10.9.5 the action script will not work for the buttonsYou would have to manually delete the color profiles in question... Run the cleaner tool and see if it gets you started.
http://www.adobe.com/support/contact/cscleanertool.html
Mylenium -
Error in phase of assigniment Action Script
Hello Guys!
I created the following action script named "sketch.as" :
package
import flash.display.Sprite;
import flash.events.MouseEvent;
import com.adobe.images.JPGEncoder;
public class sketch extends Sprite {
public function sketch():void {
//this is your documentclass constructor
stage.addEventListener(MouseEvent.MOUSE_MOVE, moveCursor);
Mouse.hide();
function moveCursor(event:MouseEvent):void
pencil.x = event.stageX;
pencil.y = event.stageY;
var canvas_mc:MovieClip = new MovieClip()
addChildAt(canvas_mc, 0);
canvas_mc.swapDepths
function sketch()
canvas_mc.graphics.beginFill(0xFFFFFF);
canvas_mc.graphics.drawRect(0, 0, 600, 500);
canvas_mc.graphics.endFill();
canvas_mc.addEventListener(MouseEvent.MOUSE_DOWN, startDrawing);
canvas_mc.addEventListener(MouseEvent.MOUSE_UP, stopDrawing);
canvas_mc.addEventListener(MouseEvent.MOUSE_MOVE, makeLine);
function startDrawing(event:MouseEvent):void{
canvas_mc.graphics.lineStyle(1, 0, 1);
canvas_mc.graphics.moveTo(mouseX, mouseY);
canvas_mc.addEventListener(MouseEvent.MOUSE_MOVE, makeLine);
function stopDrawing(event:MouseEvent):void{
canvas_mc.removeEventListener(MouseEvent.MOUSE_MOVE, makeLine);
function makeLine(event:MouseEvent):void{
canvas_mc.graphics.lineTo(mouseX, mouseY);
sketch();
var serverPath:String = "";
function createJPG(m:MovieClip, q:Number, fileName:String)
var jpgSource:BitmapData = new BitmapData (m.width, m.height);
jpgSource.draw(m);
var jpgEncoder:JPGEncoder = new JPGEncoder(q);
var jpgStream:ByteArray = jpgEncoder.encode(jpgSource);
var header:URLRequestHeader = new URLRequestHeader ("Content-type", "application/octet-stream");
var jpgURLRequest:URLRequest = new URLRequest ( serverPath+"jpg_encoder_download.php?name=" + fileName + ".jpg");
jpgURLRequest.requestHeaders.push(header);
jpgURLRequest.method = URLRequestMethod.POST;
jpgURLRequest.data = jpgStream;
var jpgURLLoader:URLLoader = new URLLoader();
//jpgURLLoader.load(jpgURLRequest);
navigateToURL(jpgURLRequest, "_blank");
save_btn.addEventListener(MouseEvent.CLICK, saveBtnPress);
save_btn.addEventListener(MouseEvent.ROLL_OVER, saveBtnOver);
save_btn.addEventListener(MouseEvent.ROLL_OUT, saveBtnOut);
function saveBtnPress(e:Event):void
createJPG(canvas_mc, 90, "sketch");
function saveBtnOver(e:Event):void
Mouse.show();
pencil.visible = false;
function saveBtnOut(e:Event):void
Mouse.hide();
pencil.visible = true;
Lately I created a file .fla in the same root of the file .as naming it "sketch.fla"
When I try, in the Adobe Flash CS4 Professional screen, to assign to ".fla" in the properties Publish my action script, the following message appears:
“A definition for the document class could not be found in the classpath, so one will be automatically generated in tha SWF file upon export.”
Obviously, it doesn’t function
Could somebody help me??i don't understand, "When I try, in the Adobe Flash CS4 Professional screen, to assign to ".fla" in the properties Publish my action script, the following message appears:"
but i do understand that error message. you need to assign the document class for your fla. in the properties panel with the backstage selected, assign sketch in the class or document class field. -
Is Import to DRM by action script the only way to build hierarchies?
Hi,
If I am getting by source file as a big generation wise excel format and even properties in excel sheet with large number of custom property field values.
Is making a Import action script out of the excel to load to DRM is the only way, or do we hav any other option to load these hierechies to DRM from excel without going fpr manual efforts in making scripts one by one for large no of dimensions.hi, the import functionality can build hierarchies. It has a draw back of only building NEW hierarchies. So if your source master hierarchy is external to DRM, action script or API is best way, if it is to be automated. If this is only be imported/updated once a month the import can be used to create the "new" version. You can use then blend update your old version.
-
Using mx components in Action Script project in Flash Builder
Hi
I have created an Action Script project in flash builder 4 and want to use a mx.controls.button.
The as file looks like this:
package
import flash.display.Sprite;
import mx.controls.Button;
public class as_test_project extends Sprite
public function as_test_project()
var btn:Button = new Button();
btn.label = "test";
addChild(btn);
I have added C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\framework\src as a Source Path in the project settings. I have also added framework.swc to the library path.
I still get errors like :
Description Resource Path Location Type
Unable to resolve resource bundle "core" for locale "en_US". as_test_project Unknown Flex Problem
Have then tried added various Bundles folders like
C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\framework\bundles
to the source path and library path, but I still get the errors.
WHAT IS THE CORRECT WAY OF USING MX COMPONENTS IN A PURE ACTION SCRIPT PROJECT ?
If I want to use th fl.controls componets instead but dont have CS3 where can I download them ?Thank you for your quick reply.
But how then can I obtain the fl.controls components and use them in an Action
Script project in Flash Builder 4?
I don't have CS3 or CS4 (the flash authoring tool) installed.
Is there an SWC somewhere to be downloaded? -
Action Script to add MC as sub-pages ??
Alright please help.. I have tried everything, been fooling
around with this in the past 5 hours and its not going anywhere :(
. Here is what i have. :
I have 6 menu buttons... Button 4 is what i am concentrating
on.
at the moment here is the current action script of button 4 :
--CODE---
//-----this first few lines just controls the button
animation --
on (rollOver) {
if (_root.link<>4) {
gotoAndPlay("s1");
on (releaseOutside, rollOut) {
if (_root.link<>4) {
gotoAndPlay("s2");
//-----end of button animation-----
on (release) {
_root.scroller.scroller.gotoAndStop(3); // I understand this
calls for fram 3 in an mc within an mc.
if (_root.anim==true) { // not really sure where this means
if (_root.link<>4) { // if value of _root.link
<> 4 then activate the following code
_parent["but"+_root.link].gotoAndPlay("s2"); // I kind of
understand this part, i know it has to do with playing the button
animation, but i am stuck where it says "but" + _root.link .
_root.link = 4; // value of root.link
_root.all.play();
ok so basically, from what i can figure out what this action
script does is : somehow it calls out a mc called "all action page"
and the contents inside this mc are two layers. one layer is just a
stop frame, and the other layer has multiple frames, each frame in
the layer are each different mc's .. the _root.value is the value
of each frame, for example if i change the value to 2 or 3 it will
load frame 2 or 3 within the "all action page" mc..
now my question, is is there any way i can replicate this
script for the use of button 4 ?? i know i can just keep adding new
frams and mc's to the current "all action page" and just keep
changing the value that corresponds to the frame number, but i
would like to make it more neater and structured incase if i need
to change anything. any suggestions ??
-Steph'This package contains two scripts the use EXIF meta data. The one you want is StampExif the other GoogleMapGPS....
Crafting Actions Package UPDATED Aug 10, 2014 Added Conditional Action steps to Action Palette Tips.
Contains
Action Actions Palette Tips.txt
Action Creation Guidelines.txt
Action Dealing with Image Size.txt
Action Enhanced via Scripted Photoshop Functions.txt
CraftedActions.atn Sample Action set includes an example Watermarking action
Sample Actions.txt Photoshop CraftedActions set saved as a text file.
More then a dozen Scripts for use in actions
Download
Maybe you are looking for
-
I have 2 iphones syncing on one computer and on the same apple ID. Before i updatad my Itunes to the last available update and my Iphones to 5.01 i had no problem draging jpg. and mp3 files into my iphones DCIM folder (the picture folder that opens w
-
I'm working on a 230 page cookbook. After changing all photos to 300 dpi as a PSD file...I insert photos on each page I'm designing. All of the photos have question marks. Why is that? Bob C.
-
Request for Sample SAP Archive Project Plan
Dear SAP Practitioner My firm is in the mist of planning for SAP Data archiving project. We are looking for sample SAP Data Archiving Project plan and other related documentations. We sincerely hope that you can share for the knowledge of our firm an
-
Bug Report: Flash Player 13 crashes Firefox 28 often
Crashing scenarios: Youtube videos ending, and opening a new tab simultaneously. That happened while palying a playlist on autoplay, and when playing a video not part of a playlist. Also, listening to Pandora and opening a new tab. Visual experience
-
Need to purchase, but comes up as purchase not completed error. Help me plz!!