Help with Action script, experts needed!
Hi, I have a website just put up today, all I need is advice, or better still, someone who can write these actionscripts for my site. Basically, I need to put into function, the three grey buttons, Print/ecard/Download on the lower right portion of the panel. Thanks in advance, I'll buy you coffee
JT
my site: http://www.jetpixels.com
quote:
Originally posted by:
NedWebs
Try moving these lines outside of the button function:
_root.createEmptyMovieClip("container", 1);
_root.createEmptyMovieClip("container1", 2);
You can use "this" instead of "_root"... that'll save any
problem if you ever move this within some other movie. Also, move
the x/y assignments just under those lines since they relate to
them directly.
Hey thankyou for your help, that works now. although if i
move the x and y assignments i would have to create another
container right? Thanks again for your help.
Similar Messages
-
Help with Action script 2.0 please
Hi,
I am new to actionscript and i could really do with some help
please. I am trying to load external movie clips into two different
containers depending on which button is clicked. Sometimes there
may be two conatiners attached to a buuton click, whilst other
buttons may only need to load one movie clip. Here is the action
script i have been using:
button1.onPress = function () {
_root.createEmptyMovieClip("container", 1);
_root.createEmptyMovieClip("container1", 2);
unloadMovie("container1");
loadMovie("scene2.swf", "container");
loadMovie("scene5.swf", "container1");
container._x = 50 ;
container._y = 110 ;
container1._x = 170 ;
container1._y = 5 ;
button2.onPress = function () {
loadMovie("scene6.swf", "container");
unloadMovie("container1");
container._x = 50 ;
container._y = 110 ;
This does load the movies, however i have to press button one
first before button two will work. Ideally i need to be able to
call any movieclip at any time. Can anyone tell me where i am going
wrong?quote:
Originally posted by:
NedWebs
Try moving these lines outside of the button function:
_root.createEmptyMovieClip("container", 1);
_root.createEmptyMovieClip("container1", 2);
You can use "this" instead of "_root"... that'll save any
problem if you ever move this within some other movie. Also, move
the x/y assignments just under those lines since they relate to
them directly.
Hey thankyou for your help, that works now. although if i
move the x and y assignments i would have to create another
container right? Thanks again for your help. -
Help with action script please
hay guys, im having trouble with changing my action script to
allow multiple layers of the same thing in order to show a greater
sense of depth than the normal application. im using a flash
toutorial on making a sort of matrix like falling text (
link)
and im not completely understanding what to change in order to
accomplish my goal. i tryed to send them a message using their
contact page, but its broken, forcing me to find a forum. im sure
it has something to do with the third group of code where it
identifies what its using. but whenever i change anything there to
either match the identifiers or movie clip names the action script
crashes when i test the movie. any help is appreciated.
im using flash cs3 and made sure to create it all in action
script 2.0
please excuse my spelling, im sure i made a mistake
somewhere."FlashTastic" <[email protected]> wrote in
message news:e4ir4t$ru4$[email protected]..
>I don't think an enterframe will be your best bet.
>
> You might want to use something like
>
> if(_root._currentframe >= _root.totalframes){
> loadMovie("myMovie.swf",_root)
Why in the world would you do that when you can just put a
keyframe on the last frame and ..
loadMovie("myMovie.swf");
tralfaz -
Help with action script 2.0
I'm a beginner with flash. I created a flash file on my own.
I also created a flash file using a slideshow program. Generally I
like this program. I can insert them into my html with no problem.
I want to load the slideshow.swf file into an empty movie
clip in the flash file I created called products.swf. It works fine
using
loadMovie("slideshow.swf", call_mb_slideshow); (where
call_mb_slideshow is a empty movieclip.)
as long as the all the files are in the same folder. But, I
need the products.swf file with the empty movieclip to be in the
parent folder AND I need the slideshow.swf and the slideshow.xml
file to be in a child folder call musicbox_slideshow. When I change
the code to this:
loadMovie("musicbox_slideshow/slideshow.swf",
call_mb_slideshow);
It loads the slideshow.swf file into the movieclip fine, BUT
it doesn't know where to find the slideshow.xml file that loads the
pictures into the slideshow. It looks for it in the parent folder,
not the child folder.
How do I write the script in products.swf so that it knows
where the slideshow.xml file is? I cannot change the slideshow.swf
file code in any way. I need to do it from products.swf.I can use this code from html. I'm able to say where the swf
and xml file are. I just don't know how to do this using action
script.
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="768" height="576" id="tech" align="middle">
<param name="movie"
value="slideshow.swf?xml_path=musicbox_slideshow/slideshow.xml"
/>
<param name="quality" value="high" />
<embed
src="slideshow.swf?xml_path=musicbox_slideshow/slideshow.xml"
quality="high" width="768" height="576" name="tech" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer"
/>
</object>. -
I have been developing a site and I am having issues with
something that is probably very simple. I have created several
movieclips that expand and contract as you roll over them. I wanted
to make a function/method so that when the user clicks, it takes
them to another scene in this movie. Here is the action script I am
using:
on(release) {
gotoAndPlay("Scene 9");
Unfortunately, this is not working. I thought that perhaps
the on(release) method wouldn't work on these movie clips based on
the action script I was already using to expand/contract the boxes,
but the following code works just fine:
on(release) {
getURL("home.html");
I'm stumped. Can anyone offer a suggestion as to what I
should do? Here is the web address of the page I'm working on, it
has the movie I'm having an issue with.
AndrewJW.com. The
first image on the left next to the word photography links to
another page of the site. The image of the pearl ring next to that
is the one that will not advance to another scene in the movie.
Thanks for any and all input.
AndrewJeckyl>
erm... ok i've to admit my mistake in 2nd script.
_root.gotoAndPlay() takes only ONE argument,
_root.gotoAndPlay("Scene 9", 1); won't works.
Thank for reminding me
actually this make me confuse sometime,
from the code hint in flash,
for
gotoAndPlay,
gotoAndPlay(
frame);
gotoAndPlay(
scene,
frame);
for
MovieClip.gotoAndPlay,
MovieClip.gotoAndPlay(
frame);
so, gotoAndPlay can accept 2 arguments only when use without
"something dot" in front.
if Andrew's script is attached to an instance of button
symbol, we can use
on(release) {
gotoAndPlay("Scene 9", 1);
Since Andrew will attach the script to an instance of
movieclip, he can only use:
on(release) {
gotoAndPlay("Scene 9");
where he have to give the label to the 1st frame of "Scene 9"
same name with the scene.
Am i right Jeckyl?
I heard many people said "scene"+"script"="buggy", but some
time I get it "works". What is your opinion? -
Help with action script number guessing game
can someone help me in flash cs6 to make a simple guessing game, i just need help with the coding. making a guessing game from 1-100
The constructor is coded to assign a random number for
the user to guess
• In the section of code indicated by the comments
(within the handler function doGuess()), write condition
statements that guide the user to guessing the number
using text written to the output
• Trace out the users' guess, plus a message
• Messages for the user depending how close they are from the
guess, condition each of the following:
• Guesses correctly, +/-1 from the guess, +/-10 from the guess,
+/-20 from the guess, +/-40 from the guess, all other guessesclose, it's actually an in class practice lab. After doing this we have to do another one that needs to be submitted. I just need help with the coding for this because i dont know how to start at all. let alone the actual lab.
-
Help with action script to load image
I have a Fla file that is works to slide open doors from
button hit and open sliding doors, but I cannot get an image to
load and display when the door begins to open, can some please
help. I can send th fla file for viewing.I did modify the script. My images were in Adobe RGB (1998) and I modified the script to match them from that to the costco printer one. The images were changed as by looking at the screen, by printing to costco, and looking at the new profile assigned. But they didn't look the same on the screen or printed as those from either Preview or ColorSyncUtility.
I finally wrote a 'shortcut' in iKey to just change all the open images in ColorSync Utility.
Note: Graphic Converter might work. It does change the image on the screen but I haven't printed it. The screen does not look the same as ColorSyncUtility, It does not give you the choice of intent either. -
I need help with this script please ASAP
So I need this to work properly, but when ran and the correct answer is chosen the app quits but when the wrong answer is chosen the app goes on to the next question. I need help with this ASAP, it is due tommorow. Thank you so much for the help if you can.
The script (Sorry if it's a bit long):
#------------Startup-------------
display dialog "Social Studies Exchange Trviva Game by Justin Parzik" buttons {"Take the Quiz", "Cyaaaa"} default button 1
set Lolz to (button returned of the result)
if Lolz is "Cyaaaa" then
killapp()
else if Lolz is "Take the Quiz" then
do shell script "say -v samantha Ok starting in 3…2…1…GO!"
#------------Question 1-----------
display dialog "Around age 11, many boys left their fathers to become…" buttons {"Scholars", "Warriors", "Apprentices"}
set A1 to (button returned of the result)
if A1 is "Apprentices" then
do shell script "say -v samantha Correct Answer"
else
do shell script "say -v samantha Wrong Answer"
#----------Question 2--------
display dialog "Most children were taught
to read so that they could understand the…" buttons {"Music of Mozart", "Bible", "art of cooking"}
set A2 to (button returned of the result)
if A2 is "Bible" then
do shell script "say -v samantha Correct Answer"
else
do shell script "say -v samantha Wrong Answer"
#------------Question 3---------
display dialog "In the 1730s and 1740s, a religious movement called the_______swept through the colonies." buttons {"Glorius Revolution", "Great Awakening", "The Enlightenment"}
set A3 to (button returned of the result)
if A3 is "Great Awakening" then
do shell script "say -v samantha Correct Answer"
else
do shell script "say -v samantha Wrong Answer"
#-----------Question 4--------
display dialog "_______ was
a famous American Enlightenment figure." buttons {"Ben Franklin", "George Washington", "Jesus"}
set A4 to (button returned of the result)
if A4 is "Ben Franklin" then
do shell script "say -v samantha Correct Answer"
else
do shell script "say -v samantha Wrong Answer"
#----------Question 5-------
display dialog "______ ownership gave colonists political rights as well as prosperity." buttons {"Land", "Dog", "Slave"}
set A5 to (button returned of the result)
if A5 is "Land" then
do shell script "say -v samantha Correct Answer"
else
do shell script "say -v samantha Wrong Answer"
#---------Question 6--------
display dialog "The first step toward guaranteeing these rights came in 1215. That
year, a group of English noblemen forced King John to accept the…" buttons {"Declaration of Independence", "Magna Carta", "Constitution"}
set A6 to (button returned of the result)
if A6 is "Magna Carta" then
do shell script "say -v samantha Correct Answer"
else
do shell script "say -v samantha Wrong Answer"
#----------Question 7--------
display dialog "England's cheif lawmaking body was" buttons {"the Senate", "Parliament", "King George"}
set A7 to (button returned of the result)
if A7 is "Parliament" then
do shell script "say -v samantha Correct Answer"
else
do shell script "say -v samantha Wrong Answer"
#--------Question 8-----
display dialog "Pariliament decided to overthrow _______ for not respecting their rights" buttons {"King James II", "King George", "King Elizabeth"}
set A8 to (button returned of the result)
if A8 is "King James II" then
do shell script "say -v samantha Correct Answer"
else
do shell script "say -v samantha Wrong Answer"
#--------Question 9------
display dialog "Parliament named ___ and ___ as England's new monarchs in something called ____." buttons {"William/Mary/Glorius Revolution", "Adam/Eve/Great Awakening", "Johhny/Mr.Laphalm/Burning of the hand ceremony"}
set A9 to (button returned of the result)
if A9 is "William/Mary/Glorius Revolution" then
do shell script "say -v samantha Correct Answer"
else
do shell script "say -v samantha Wrong Answer"
#---------Question 10-----
display dialog "After accepting the throne William and Mary agreed in 1689 to uphold the English Bill of _____." buttons {"Money", "Colonies", "Rights"}
set A10 to (button returned of the result)
if A10 is "Rights" then
do shell script "say -v samantha Correct Answer"
else
do shell script "say -v samantha Wrong Answer"
#---------Question 11------
display dialog "By the late 1600s French explorers had claimed the ___ River Valey" buttons {"Mississippi", "Ohio", "Hudson"}
set A11 to (button returned of the result)
if A11 is "Ohio" then
do shell script "say -v samantha Correct Answer"
else
do shell script "say -v samantha Wrong Answer"
#------Question 12---------
display dialog "______ was sent to ask the French to leave 'English Land'." buttons {"Johhny Tremain", "George Washington", "Paul Revere"}
set A12 to (button returned of the result)
if A12 is "George Washington" then
do shell script "say -v samantha Correct Answer"
else
do shell script "say -v samantha Wrong Answer"
#---------Question 13-------
display dialog "_____ proposed the Albany Plan of Union" buttons {"George Washingon", "Ben Franklin", "John Hancock"}
set A13 to (button returned of the result)
if A13 is "Ben Franklin" then
do shell script "say -v samantha Correct Answer"
else
do shell script "say -v samantha Wrong Answer"
#--------Question 14------
display dialog "The __________ declared that England owned all of North America east of the Mississippi" buttons {"Proclomation of England", "Treaty of Paris", "Pontiac Treaty"}
set A14 to (button returned of the result)
if A14 is "" then
do shell script "say -v samantha Correct Answer"
else
do shell script "say -v samantha Wrong Answer"
#-------Question 15-------
display dialog "Braddock was sent to New England so he could ______" buttons {"Command an attack against French", "Scalp the French", "Kill the colonists"}
set A15 to (button returned of the result)
if A15 is "Command an attack against French" then
do shell script "say -v samantha Correct Answer"
else
do shell script "say -v samantha Wrong Answer"
#------TheLolQuestion-----
display dialog "____ is the name of the teacher who runs this class." buttons {"Mr.White", "Mr.John", "Paul Revere"} default button 1
set LOOL to (button returned of the result)
if LOOL is "Mr.White" then
do shell script "say -v samantha Congratulations…you…have…common…sense"
else
do shell script "say -v alex Do…you…have…eyes?"
#------END------
display dialog "I hope you enjoyed the quiz!" buttons {"I did!", "It was horrible"}
set endmenu to (button returned of the result)
if endmenu is "I did!" then
do shell script "say -v samantha Your awesome"
else
do shell script "say -v alex Go outside and run a lap"
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end ifUse code such as:
display dialog "Around age 11, many boys left their fathers to become…" buttons {"Scholars", "Warriors", "Apprentices"}
set A1 to (button returned of the result)
if A1 is "Apprentices" then
do shell script "say -v samantha Correct Answer"
else
do shell script "say -v samantha Wrong Answer"
return
end if
#----------Question 2--------
display dialog "Most children were taught to read so that they could understand the…" buttons {"Music of Mozart", "Bible", "art of cooking"}
set A2 to (button returned of the result)
if A2 is "Bible" then
do shell script "say -v samantha Correct Answer"
else
do shell script "say -v samantha Wrong Answer"
return
end if
(90444) -
Need help with a script applied by GPO
Hello,
I need to automate WebFeed insertion for Remote App Users at user logon.
RDS 2012 R2 in place. Remote Apps are provided to W7 clients.
Currently, WebFeed link must be inserted manually in each user's Control Panel\RemoteApp and Desktop Connections. There
is no straight forward way from Microsoft.
But there is a script and instruction I found on web...
I followed the instruction... Created GPO. GPO applies to user but nothing happens.
Can somebody check the script and the instruction that I could wrongly applied.
In instruction there is no word about changing something in the script but only wcx file that the script should
use.
The script is below and here is my .wcx file:
<?xml version="1.0? encoding="utf-8? standalone="yes"?>
<workspace name="Enterprise Remote Access" xmlns="http://schemas.microsoft.com/ts/2008/09/tswcx" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<defaultFeed url="https://my_webserver_real_FQDN/rdweb/Feed/webfeed.aspx" />
</workspace>
I changed the quotes to vertical (") from (”) that
were in my wcx when copied the lines from web.
Still not works.
I
checked Application log, PowerShell and RemoteApp in eventviewer under user session
Everything is clean.
Were I can check the script execution log?
When the user with applied script logs in, the icon of Remote
connection appears for 10 seconds on the task bar and disappears.
Looks like it's trying...
Check please if the script really should not be touched and provide some troubleshooting
steps.
Thanks!
INSTRUCTIONS from
the link:
http://www.concurrency.com/infrastru...rver-2012-rds/
"Unfortunately
Windows 7 clients are out of luck here. If you really want to use GPO to deploy
RemoteApps to Windows 7 clients, then you have to jump through a few
hoops.
Create a new GPO and under User ConfigurationPoliciesWindows
SettingsScripts, double click Logon and click the
Show Files
button. This will open an explorer window where you can copy files that will be
saved within this GPO. Download the
Install-RADCConnection.ps1 script from the TechNet gallery and
save it there. Also create a new Text file named something like feed.wcx,
open it in Notepad and paste in the following three lines of text:
<?xml
version=”1.0″ encoding=”utf-8″ standalone=”yes”?>
<workspace
name=”Enterprise Remote Access” xmlns=”http://schemas.microsoft.com/ts/2008/09/tswcx”xmlnss=”http://www.w3.org/2001/XMLSchema”>
<defaultFeed
url=”https://rds.domain.com/RDWeb/Feed/webfeed.aspx”
/>
</workspace>
Now select the PowerShell Scripts tab and
click the Add button.
Click Browse and select the .ps1 file and
for the parameters enter the name of the wcx file. Click OK twice and you are
ready to scope that policy to a set of users.
<#
.SYNOPSIS
Installs a connection in RemoteApp and Desktop Connections.
.DESCRIPTION
This script uses a RemoteApp and Desktop Connections bootstrap file(a .wcx file) to set up a connection in Windows 7 workstation. No user interaction is required.It sets up a connection only for the current user. Always run the script in the user's session.
The necessary credentials must be available either as domain credentials or as cached credentials on the local machine. (You can use Cmdkey.exe to cache the credentials.)
Error status information is saved in event log: (Applications and Services\Microsoft\Windows\RemoteApp and Desktop Connections).
.Parameter WCXPath
Specifies the path to the .wcx file
.Example
PS C:\> Install-RADCConnection.ps1 c:\test1\work_apps.wcx
Installs the connection in RemoteApp and Desktop Connections using information
in the specified .wcx file.
#>
Param(
[parameter(Mandatory=$true,Position=0)]
[string]
$WCXPath
function CheckForConnection
Param (
[parameter(Mandatory=$true,Position=0)]
[string]
$URL
[string] $connectionKey = ""
[bool] $found = $false
foreach ($connectionKey in get-item 'HKCU:\Software\Microsoft\Workspaces\Feeds\*' 2> $null)
if ( ($connectionKey | Get-ItemProperty -Name URL).URL -eq $URL)
$found = $true
break
return $found
# Process the bootstrap file
[string] $wcxExpanded = [System.Environment]::ExpandEnvironmentVariables($WCXPath)
[object[]] $wcxPathResults = @(Get-Item $wcxExpanded 2> $null)
if ($wcxPathResults.Count -eq 0)
Write-Host @"
The .wcx file could not be found.
exit(1)
if ($wcxPathResults.Count -gt 1)
Write-Host @"
Please specify a single .wcx file.
exit(1)
[string] $wcxFile = $wcxPathResults[0].FullName
[xml] $wcxXml = [string]::Join("", (Get-Content -LiteralPath $wcxFile))
[string] $connectionUrl = $wcxXml.workspace.defaultFeed.url
if (-not $connectionUrl)
Write-Host @"
The .wcx file is not valid.
exit(1)
if ((CheckForConnection $connectionUrl))
Write-Host @"
The connection in RemoteApp and Desktop Connections already exists.
exit(1)
Start-Process -FilePath rundll32.exe -ArgumentList 'tsworkspace,WorkspaceSilentSetup',$wcxFile -NoNewWindow -Wait
# check for the Connection in the registry
if ((CheckForConnection $connectionUrl))
Write-Host @"
Connection setup succeeded.
else
Write-Host @"
Connection setup failed.
Consult the event log for failure information:
(Applications and Services\Microsoft\Windows\RemoteApp and Desktop Connections).
exit(1)
--- When you hit a wrong note its the next note that makes it good or bad. --- Miles DavisUse GPP for this. Do not use a script. Post your issues in the GP forum.
You should also visit the RDS forum to get information on how to distribute remote app links.
¯\_(ツ)_/¯ -
Need help with Java Script to perform a calculation in Adobe Acrobat Pro 9 form
I have a form (test) that I am creating in Adobe Acrobat Pro 9.
I need help creating custom Java Script so I can get the desired answer.
1) There are several questions in each group that require a numerical answer between 0-4
2) There is a total field set up to sum the answers from all above questions
3) The final "score" takes the answer from Step 2 above and divides by the total possible answer
Any help on what Java Script I need to complete this would be greatly appreciated!
I've attached a "spreadsheet" that shows it in more detail as well as what formulas I used in Excel to get the desired end result.
Thanks in advance.Have you tried the "The field is the average of:"?
-
NEED a java coder to help with a script for a programs of mine.
I play a game, very competitively, and need someone to make and compile a script for me. I am willing to pay upwards of 100 USD for this script made to MY standards. There will be a lot of work involved...Probably 12 hours studying my game and the purpose of the script(s). I will be buying 2-3 scripts, at roughly 50-100 USD each, depending on the quality. I will transfer the money via paypal, or other means if we can reach an agreement.
Please IM me at Chadtrapier on AIM or send an email to [email protected]
Or...Add me on MSN - [email protected]
We can reach an agreement with these scripts...
Thank you, I will also check this thread, so reply if you would like.
~ChadUmmm. Do you think that's a lot of money or something? Think in the range of 40-60 per hour. And if you're talking about warcraft I don't think they java hooks to make bots. I think you need to figure out what your problem is first and maybe learn to code them yourself.
-
Need help with actions and droplets
I've created an action, but it won't OPEN a file, I have to open the file manually, then start the action. I need this action to work in a droplet for over 300 images, so it would REALLY be nice if I could automate the entire process. My action is:
OPEN - 324 PSD files
CROP - to specific demensions, resolution
EXPORT - Save for web as a jpeg
CLOSE - close this file and loop to the next
JohnThx, but still could not get the droplet to work, so I just went through the
action for all 324 images one by one. Surprisingly, it didn't take that
long. Thanks a bunch for the reply!!!
John -
Little bit of help with the duplication process needed
Hi
I trying to duplicate a database from one server to a remote server. They are both running windows server 2003 (my first problem) , the primary server is running oracle 11gR1 and the (hopefully) receiving server is running 11gR2(is that going to be a problem?) and I'm a little stuck on some parts of the process.
The book I'm using says to edit the listener.ora file to include a SID_DESC of the remote database. Here is my listener.ora file with the modifications
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CGARDMSTR)
(ORACLE_HOME = G:\app\administrator\product\11.1.0\db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = CGARDMSTR)
(ORACLE_HOME =G:\app\administrator\product\11.1.0\db_1)
(SID_NAME = CGARDMSTR)
*(SID_DESC* *=*
*(GLOBAL_DBNAME* *=* cgard)
*(ORACLE_HOME* *=F:\oracle\product\11.2.0\dbhome_1)*
*(SID_NAME* *=* cgard)
(bold is what i added)
it then said to chnage my tnsnames.ora
CGARD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = cgard)
CGARD5DE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CGARD5DEV)
CGARDMST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CGARDMSTR)
cgard =
*(DESCRIPTION =*
*(ADDRESS = (PROTOCOL = TCP)(HOST = live.host.local)(PORT = 1521))*
*(CONNECT_DATA =*
*(SERVER = DEDICATED)*
*(SERVICE_NAME = cgard)*
I changed the local domain to host for business reasons
The next step was to create a initialization parameter file which I am guessing is a pfile and hopefully not a spfile. It then says to only enter one param db_name and the conversion params if the filesystem is diffrent. Problem is I don't know what to do with this file, if I am suppose to switch the second database to this file then surly I would need some more params? Anyway thats the first of many questions.
When I try to run through the rman commands it describes it also trips up:
RMAN> connect auxiliary sys/*********@live.host.local
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-04006: error from auxiliary database: ORA-12170: TNS:Connect timeout occurr
ed
The other database is up and connectable via sqldevloper so I'm guessing it was my configuration of listener and tnsnames
Ok to reiterate my questions are:
1) what needs to be in the pfile I create for the database thats going to receive the backup and what do I do with that file when I have made it?
2) I am pretty sure my listener and tsunamis config is completely wrong so can I have some pointers on fixing that?
3) Was the reason I could not connect to the receiving database my tns and listener config or is it something else?
Quite a few other questions but untill I know some more about the above I doubt I will be able to ask properly.
Also if this helps the book I am using is Expert Oracle Database 11g Administration and the page is 835(the method that begins on that page) and I am willing to write out the whole method if you need more details.
Oh and if you havent figured it out I am very new to this so if some of this sounds very wrong or just stupid just say what I need to change and I will get right on it.
Thanks
AlexOk so I have made some progress. Here is where I am currently at:
RMAN> RUN
2> {
3> SET NEWNAME FOR DATAFILE 1 TO 'F:\oracle\oradata\cgard\file1.dbs';
4> SET NEWNAME FOR DATAFILE 2 TO 'F:\oracle\oradata\cgard\file2.dbs';
5> SET NEWNAME FOR DATAFILE 3 TO 'F:\oracle\oradata\cgard\file3.dbs';
6> SET NEWNAME FOR DATAFILE 4 TO 'F:\oracle\oradata\cgard\file4.dbs';
7> SET NEWNAME FOR DATAFILE 5 TO 'F:\oracle\oradata\cgard\file5.dbs';
8> SET NEWNAME FOR TEMPFILE 1 TO 'F:\oracle\oradata\cgard\temp1.dbs';
9> duplicate target database
10> to cgard
11> from active database
12> pfile='F:\oracle\product\11.2.0\dbhome_1\database\initCGARD.ora';
13> }
executing command: SET NEWNAME
starting full resync of recovery catalog
full resync complete
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting Duplicate Db at 19-NOV-10
using channel ORA_AUX_DISK_1
contents of Memory Script:
set newname for datafile 1 to
"F:\ORACLE\ORADATA\CGARD\FILE1.DBS";;
set newname for datafile 2 to
"F:\ORACLE\ORADATA\CGARD\FILE2.DBS";;
set newname for datafile 3 to
"F:\ORACLE\ORADATA\CGARD\FILE3.DBS";;
set newname for datafile 4 to
"F:\ORACLE\ORADATA\CGARD\FILE4.DBS";;
set newname for datafile 5 to
"F:\ORACLE\ORADATA\CGARD\FILE5.DBS";;
backup as copy reuse
datafile 1 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE1.DBS"; datafile
2 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE2.DBS"; datafile
3 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE3.DBS"; datafile
4 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE4.DBS"; datafile
5 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE5.DBS"; ;
sql 'alter system archive log current';
executing Memory Script
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting backup at 19-NOV-10
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=143 device type=DISK
channel ORA_DISK_1: starting datafile copy
input datafile file number=00001 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\SYS
TEM01.DBF
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:23:
52
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting datafile copy
input datafile file number=00004 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\USE
RS01.DBF
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:24:
24
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting datafile copy
input datafile file number=00002 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\SYS
AUX01.DBF
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:24:
43
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting datafile copy
input datafile file number=00003 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\UND
OTBS01.DBF
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:25:
17
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting datafile copy
input datafile file number=00005 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\RMA
N01.DBF
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 11/19/2010 16:25:55
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:25:
55
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
RMAN>
I did issue the commands:
C:\Documents and Settings\Administrator>rman target /
Recovery Manager: Release 11.1.0.6.0 - Production on Fri Nov 19 13:55:40 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: CGARDMST (DBID=3160500813)
RMAN> connect catalog rman/rman
connected to recovery catalog database
RMAN> connect auxiliary sys/**********@cgard
connected to auxiliary database: CGARD (not mounted)
So I am not quite sure what it wants. I read somewhere about a password file but I don't understand how it will help, also most things I have looked at wernt clear on how to do it. I took a stab anyway:
G:\app\administrator\product\11.1.0\db_1\BIN>orapwd file=orapwcgard password=*********** entries=20 ignorecase=n
Was run on the original database host.
File was then copied to "F:\oracle\product\11.2.0\dbhome_1\database" on the receiving database's host it was then renamed to PWDcgard.ora as there was file there already with that name.
It did not help(same error).
The book I am using mentions the 'PASSWORD FILE' param to be used with the duplicate command but I cant find a example on how to use it so any help with that would be great.
Thanks for the effort so far guys its really appreciated. -
I was wondering if someone could help me with a simple bit of action script 3. I need to make a movie clip (single_mc) disappear when the user clicks on the mouse (stop_btn). Here’s what I have so far.
function setProperty(event:MouseEvent):void
single_mc.alpha=0;
stop_btn.addEventListener(MouseEvent.CLICK, setProperty);
Also I was wonder if you could recommend an Action script 3 book for me. I would like one that is not a training book, but has situations and then the script written out. For example: I click a button and a movie symbol disappears from the stage. I am a graphic artist, that from time to time, needs simple interaction in flash, but cant justify the time to learn the script.
Thanks for your timeuse the snippets panel to help with you with sample code for basic tasks.
function setProperty(event:MouseEvent):void
single_mc.visible=false;
stop_btn.addEventListener(MouseEvent.CLICK, setProperty); -
Help with Report Script please :(
Hi,
I'm trying to write a report script with a slight calculation and would really appreciate some help.
Ideally I want to create a report where I only get the Account and Value. I select all my members but I need a calculation on the Entity dimension. Here's what i am trying to achieve:
(All selected members for all Entities + All selected members for all Entities in group RIA-IFRS REPORTING ADJS. ) Yes I'm duplicating the members of group RI-IFRS REPORTING ADJS.
So account 100 for all Entities = 50
account 100 for all Entities in RI-IFRS REPORTING ADJS. = 25
I want to display account 100 grouped as 75 without showing a line for each entity.
This is what I have so far but it doesn't work right:
ROWREPEAT
SUPCOLHEADING
SUPCOMMAS
SUPHEADING
SUPBRACKETS
SUPEMPTYROWS
TABDELIMIT
MISSINGTEXT "#mi"
DECIMAL 2
NOINDENTGEN
<PAGE ( Years, Version, Currency, Scenario, InterCompany, "Entity", "Cost Center","Set of Books","Reporting")
"FY10" "Current" "Currency" "Actual" "InterCompany" "Entity" "Cost Center" "AB_CON_USD" "Reporting"
<ROW ("Account")
<LINK(<DESCENDANTS("Total Balance Sheet Accounts","Lev0,Account"))
{ CALCULATE ROW "Entity" = "Entity" + "RI-IFRS REPORTING ADJS."})
<COL (Period)
"Dec"
!Dreamscapeuk wrote:
Hi Robert, I wasn't getting any data, but I managed to figure that out. Basically I created 2 columns with the values I needed and then added them up with a calc cloumn. However I can't get my essbase substitution variables working. So I created a substitution variable called CurrQtr and set this to Quarter3. In my script I'm using this @CurrQtr as a period however it doesn't use it as it's just giving me the total for the Period dimension. Any help?
Here's the script:
ROWREPEAT
SUPCOMMAS
SUPBRACKETS
SUPEMPTYROWS
TABDELIMIT
MISSINGTEXT ""
DECIMAL 2
NOINDENTGEN
<PAGE ( DataSrc, Years, Version, "P&L Type", Currency, Scenario, InterCompany, "Cost Center","Set of Books","Reporting")
"DataSrc" "FY10" "Current" "No_Type" "USD" "Actual" "InterCompany" "Cost Center" "AB_CON_USD" "No_Cost_Type"
<COLUMN (Period)
@CurrQtr
WWL "RIA-IFRS REPORTING ADJS."
CALCULATE COLUMN "Gaap" = 1 - 2
ORDER 0,3,1,2
<ROW (Account)
<LINK(<DESCENDANTS("Global Accounts","Lev0,Account"))
In my script I'm using this @CurrQtr as a period however it doesn't use it as it's just giving me the total for the Period dimension. Any help?
I don't understand this...
*<COLUMN (Period)*
* Qtr3 WWL "RIA-IFRS REPORTING ADJS."*
have you tried like this.??
Edited by: Prabhas on Feb 1, 2011 12:05 AM
Maybe you are looking for
-
iTunes shows that there are no songs on my iphone but there are 274 songs there. The data storage shows up as "other" on iTunes. I just want to clear the music on my phone but I can't seem to do so. Is there any way to do this? You used to be able t
-
Ipod Touch Sleep/Wake button not working
Okay people I've had my 1st generation iPod touch since April of 2008...all of a sudden ( a few months ago) my sleep/wake button just stops working. Then recently it began to work again like for 4 days and then it just S T O P P E D ....A G A I N!!!
-
Hi ! For an automated test I need to deploy some text or HTML files to a Web AS ABAP. Planned to use the mime repository for this, BUT ... Is there any possibility to access a folder of the MIME repository by a public URL (no login required) ? If yes
-
Is there any way in Unity (maybe tools depot) to run a report that tells you who has alternate extensions and what they are?
-
Need help installing Tiger 10,4
Hello Everyone, I just received a full install of tiger 10.4 its on dvd one disc, i got a wired keyboard and mouse, my screen right now is blue i tried shutting down and restarting holding the C key down, but nothing seems to happen, the HD is new an