Need help loading actions
i've read and re-read instructions on how to do so, and feel like i've done it correctly, but I can't locate the actions in my program. What am I doing wrong? Thanks in advance!
The Texas Chicks site has very good installation info:
http://www.texaschicksblogsandpics.com/photography-page/installing-actions-in-photoshop-el ements/
Ken
Similar Messages
-
Need Help Loading SWF in a FLA
I simply want to call a swf into an existing fla. I have
tried everything. When dragging the timeline, you see the swf. When
you preview, it is not there. Background - I have an exisiting fla
that contains the image background for all. I want to set a
transparent carousel menu on top of the background that is in the
fla and leave the existing background and lower objects in place.
The carousel.swf will need to call java and an xml file on the web
server.....all external to the "summed" final. If I could layer
flashed in DW, then the problem would also be solved. Please be
detailed, I am obviously not a developer.although I'm not certain why you would not just 'place' the
background 'image' on the stage in the fla (probably because you
wish to change it dynamically down the road) - you need to 'load'
the swf, not 'place' it within the other file. you do this with the
MovieClipLoader class.
with the swf that you wish to load in the same directory as
the swf of the carousel file, place something like the following in
the first frame, on a layer called actions, in the actions panel: -
Need help loading DLL in labVIEW project
I have a DLL that was written in C# that I want to load it to my labVIEW project. I have never done this before, so I need help. I chose Connectivity-Call Library Function Node then loaded my DLL. After, under function name, I typed in the function name from the code. I don't know what to do with other like Parameters.
They don't let me attach dll file
Can someone explain how to set the parameters and etc?Well, it seems that you really need to learn quite a bit about .NET (ActiveX is very similar!) first.
The constructor node in your code creates an object in your .NET CLR (Common Language Runtime). This object exposes properties and/or methods. Use Property Node(s) and Invoke Node(s) to access these. Usually, you get references to other objects which you can work this.
Remember the golden rule for ActiveX and .NET:
Close all references you created in your LabVIEW code on your own (using Close Reference)!
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
I need help loading a swf file in a flash website
Hi,
I am an interactive design student working on a flash portfiolio and need help. I can't figure out how to load a game I made in flash into my porfolio so that it loads after clicking on a button, becomes playable, then have a button to leave the game and go back to my portfolio. I'm working in Actionscript 2.0 because that's all my teachers will show me and I have minimal actionscript knowledge.
Thanks,
EmilyI thought I got it to work with loadMovie, but it only plays the intro, and then either repeats or exits as soon as the first bit of actionscript starts
-
Need help loading data from Excel data file to oracle tables
i need to load an Excel spreadsheet to Oracle table.
The spreadsheet contains 20 columns, the first 8 columns contains basic info, but the rest 12 columns contains info like
1stQtr_08, 2ndQtr_08, 3rdQtr_08, 4thQtr_08
1stQtr_09, 2ndQtr_09, 3rdQtr_09, 4thQtr_09
1stQtr_10, 2ndQtr_10, 3rdQtr_10, 4thQtr_10
So what i need to accomplish is:
break that one record(with 20 fields) in Excel to 3 records for each fiscal year in the Oracle table, so each record in the database table will look like
8 basic field + fiscal_year + 1stQtr_08, 2ndQtr_08, 3rdQtr_08, 4thQtr_08
8 basic field + fiscal_year + 1stQtr_09, 2ndQtr_09, 3rdQtr_09, 4thQtr_09
8 basic field + fiscal_year + 1stQtr_10, 2ndQtr_10, 3rdQtr_10, 4thQtr_10
There are about 10000 rows in the data file, so how can i use sqlldr to perform such task? beside sqlldr, any other good suggestions?
thxExternal Tables is just an Oracle API for sqlloader. If you going to load this data over and over again, External tables would be a good idea, but if it's a one time thing, sqlldir is simpler, unless you just want to learn how to use External Tables.
I used to run a data warehouse, so I have done, at least similar, to what you are doing in the past. -
Need help Loading images with selection on a form field?
So I'm kind of a newb.. I can do basic forms but I need to set up a form field drop down box that will give me the ability to load images correlating to the users choice. I'm at a total loss for where to start, so ANY help would be appreciated. If you know of any good books or tutorials on the subject please share.
Thanks in advance
Sincerely,
Stumped4nowP.S. I think I'm getting a better understanding of OCGs after lots of research today. However I still seem to be missing something
var docOCGs = this.getOCGs();
for (var x=0; x < docOCGs.length; x++)
if(docOCGs[x].name == "Layer1")
docOCGs[x].state = !docOCGs[x].state; -
Need help loading an external SWF
I'm not very proficient in Flash, so any help will be greatly appreciated. I'm trying to load an external SWF with the following code:
T1_Bttn_BloodCar.onRelease = function() {
t1_images_mc.loadMovie("images/T1_Gallery/BloodCar_SWF/T1_BloodCar.swf");
t1_images_mc._alpha = 0;
It loads the SWF, but doesn't play it correctly when I test it. Here's how the loaded movie is supposed to look:
http://www.theroboteye.com/T1_BloodCar.html
But instead, it plays without the transitions, like this:
http://www.theroboteye.com/TRE2009b.html
I've been trying to figure this out for a few days and have tried adding "this._lockroot = true;" to the SWF I'm trying to load, but I can't get it to play correctly. Can anyone tell me what I'm doing wrong? Thanks in advance.Try using the MovieClipLoader class (loadClip method) instead of the loadMovie method. That way you can have a listener that waits for the movie to be loaded and then pull it into play, assigning actions and properties to it after the fact.
-
Still need help :( loading outside files in actionscript
Ive been all over the forums online trying to get this
problem fixed and no one has really settled it for me (its been
MONTHS)
So I'm going to attempt to be as in depth as possible and
post code as well.
Heres the deal- its a portfolio site, www,darrenlasso.com
The problem is when i load multiple swf files into levels.
When i first call on an outside swf from a button inside the main
file the code looks something like this:
on(release){
_level1._visible=false;
loadMovieNum("cover.swf", 1);
cvrbtn._visible = false
acibtn._visible = false
When from inside THAT file, I want to return back to the MAIN
navigation file, the code looks more like this:
on(release){
mcl.addListener(mclListener);
mclListener.onLoadInit = function(mc:MovieClip){
mc._visible=true;
mc.gotoAndPlay(76);
_level1._visible=false;
mcl.loadClip("darnen.swf", 1);
Ive messed around with the code so many times now trying
everyones different suggestions that i dont even know if that is
the code I have live right now but i know its not working how i
want it to. The problem seems to be that i can only load into level
1, and when i do that, going between these various calls on outside
files there is a 'flicker' of a frame or two of the OLD previously
loaded file that will play BEFORE the new one initiates. As this is
a portfolio site it needs to be polished so i can't have stuff like
this plaguing it. Its been unfinished for months now because i just
can't figure it out. Please please help me if you can.. hopefully
you like a challenge because i just havent been able to get the
help i need from anywhere else :/when i load the swf from outside, i want it to then be able
to return to the main navigation file which i guess would be level
0. So does that mean that the code for buttons navigating back to
the main flash file would be more like:
on(release){
mcl.addListener(mclListener);
mclListener.onLoadInit = function(mc:MovieClip){
mc._visible=true;
mc.gotoAndPlay(76);
_level1._visible=false;
mcl.loadClip("darnen.swf", 0);
As i load in all these different files from outside I've been
loading them all into level 1 because that seems to be the only way
to get them to display at all with the code I'm using. I assume it
might be better to load them all into individual levels? I'm not
sure. I'm still just kinda learning AScript as i go along.. -
Need help loading flv movie onto stage from a button click
Hi folks, I need your help.
I'm new to flash so please bear this in mind.
My problem is this:
I have a picture of a phone on the stage which I have made
into a button.
What I want is that, when I click on this button (phone_btn),
my video (called 'TyreChange.flv') will appear on the stage. And I
will have the option of removing the video to get rid of it from
the screen.
The stage is like a menu, where I can click a number of
objects and the relevant video or element will appear.
The TyreChange video is in the same folder as my project but
I have not imported it into the library. If I do that, the video
goes onto the stage as well as the library, and it appears as the
name FLVPlayback for some reason.
I only want the video on the stage when the user clicks the
'phone_btn' button.
Please help
Many thanks, JamesI did try that but it would not remove the child.
i appreciate your help though.
I am also trying to determine if a child is on the stage and if it is, remove it. I have created a button that will jump back on the timeline and the mc's that were loaded after this point in time.
This looks like it should work. It doesn't give me any errors but the mc remains on the stage.
var remMC;
if (getChildByName("mc2") != null) {
removeChild(mc2); -
Need help loading xml parameter into component
I am using a third-party flash component (no source access)
that takes in a location of an xml file and manipulates it. The
problem is, I want that file's location to be dynamic and be loaded
from an argument to the end .swf that can then be forwarded to the
internal component. How can I load a component at runtime and set
it's xml_file parameter before/during construction of the object? I
have tried to drag it to the stage from components and change the
xml_file parameter in actionscript directly, but by the time this
change gets triggered the xml has already been read in and it
doesn't work.
This may be really simple, but I just can't figure it out. I
would appreciate anyone who could help. Thanks.First, set the size of the component with the setSize method,
not "height" and "width". That may be the entire source of your
problem.
e.g.: this.componentInstanceName.setSize(175, 175);
Second, I am unsure all the parameters you specify in the
initialization object are valid {x:10, y:10, height:20, width:20,
font_color:'#333333', player:"vidPlayer", xml_file:"list.xml"}.
Only put in the initialization object parameters that are valid for
the component you are instantiating.
Third, make sure you are specifying the correct import
statements for your component at the top of your code. Since it is
a custom one, I can't help with knowing what to import. The code I
attached in my first post assumed import statements and the
components needed in the library, but here are the import
statements that I used:
import mx.controls.*;
import mx.containers.*;//for scrollPane
import mx.styles.CSSStyleDeclaration;
import mx.transitions.easing;
Fourth, don't forget the ignoreWhite method for importing XML
into Flash:
XML.prototype.ignoreWhite = true;// sets ignoreWhite
globally -
Need help - Loading Multiple instance of the same image
Hi guys,
I have been trying for days now, to get this working but i'm not able to do so, i have been trying to get actionscript to load multiple instance of an image file using a for loop.
Would anyone be able to enlighten me on this? the other functions are located on a seperate actionscript file.
many thanks
part of the code is as follows: (it works if i use the graphic class)
function makeRoad():void{
var row:int = 0;//the current row we're working on
var block;//this will act as the block that we're placing down
for(var i:int=0;i<lvlArray.length;i++){//creating a loop that'll go through the level array
if(lvlArray[i] == 0){//if the current index is set to 0
block = new EmptyBlock();//create a gray empty block
block.graphics.beginFill(0x333333);
block.graphics.drawRect(0,0,25,25);
block.graphics.endFill();
addChild(block);
//and set the coordinates to be relative to the place in the array
block.x= (i-row*22)*25;
block.y = row*25;
} else if(lvlArray[i] == 1){//if there is supposed to be a row
//just add a box that will be a darker color and won't have any actions
block = new Shape();
block.graphics.beginFill(0x111111);
block.graphics.drawRect(0,0,25,25);
block.graphics.endFill();
block.x= (i-row*22)*25;
block.y = row*25;
roadHolder.addChild(block);//add it to the roadHolder
} else if(lvlArray[i] is String){//if it's a string, meaning a special block
//then create a special block
block = new DirectBlock(lvlArray[i],(i-row*22)*25,row*25);
addChild(block);
for(var c:int = 1;c<=16;c++){
if(i == c*22-1){
//if 22 columns have gone by, then we move onto the next row
row++;@Kalisto - i don't think that is the real issue here since we cannot see what is in the DirectBlock class and the OP has not mentioned any compiler errors.
Desmond - it appears as though you are constructing this in the form of a 'grid' - correct? but the problem i believe is that the positioning is not being determined properly - to do something like you want here (i think) you would use what known as a 'nested loop' - this means the 'outer' loop handles iteration of the 'rows' and an 'inner' loop handles the iteration of the columns. the way you have this set up above, you are attempting to use the 'row' value to position both the row and column - this wont work and it's likely that everything is getting 'stacked' on top of one another.
may want to structure things a bit more like this:
function makeRoad():void {
var index:int = 0;
for(var row=0; row<22; row++) {
for(var col=0; col<22; col++) {
index = (row*22)+col;
if(lvlArray[index] == 0) createBlock(0x333333, col*25, row*25);
if(lvlArray[index] == 1) createBlock(0x111111, col*25, row*25);
if(lvlArray[index] is String) roadHolder.addChild( new DirectBlock(lvlArray[index], col*25, row*25) );
function createBlock(color, xp, yp):void {
var block:Shape = new Shape();
block.graphics.beginFill(color);
block.graphics.drawRect(0,0,25,25);
block.graphics.endFill();
block.x = xp;
block.y = yp;
roadHolder.addChild(block);
note: i do not know how many 'rows' you intend to have and are stored in the array so the row<22 will need adjustment -
Need help loading .swfs one by one, in specific order
i have been trying to figure this out for weeks now, and have
even posted on other forums about this, but nobody seems to be
willing to help me. i have a main swf, which is the basis for my
image gallery. once this page loads, a thumbnail should start
loading with a preloader displaying the precentage loaded. once the
percentage hits 100%, the image shows up, and the next thumbnail
starts, and so on. there are 15 thumbnails total that have to be
loaded. each one should load with a 10 pixel gap all around, and i
want to have 5 images load per row. i think i need to create empty
movie clips for each thumbnail to load into, but i'm not sure.
hell, i don't even know how to code this so it will work correctly.
would someone be willing to put this together for me? i am a
beginner actionscripter, and if people simply tell me "add this
line in so this will happen," i will have no idea what to do, so
that is why i need the code put in for me. i'm hoping someone here
is nice enough to do this for me, because being ignored on two
other forums has made me just want to say "screw it."
so PLEASE, can someone help me?
i have uploaded my files into a .zip file. i have only
uploaded 6 of the pictures, so that i can see if the code (that
someone will hopefully make) works when i asked for 5 thumbnails
per row.
file is located here:
http://www.arielseri.com/fla_files.zipi completely understand. i've actually come up with a
semi-working solution!
i have 15 thumbnails total, but when i play the movie, all 15
load on one line and after 5 show up, the rest go off the stage. i
would like to set it up so that there are 5 .swfs per row. i have
one main .swf file, and two .as files. the code for each is as
follows (the ========== is just to separate the code):
main .swf code (called test.swf):
==========
fscommand("fullscreen", "false");
fscommand("allowscale", "false");
// A container clip for our thumbnails
var thumbnails_mc:MovieClip =
this.createEmptyMovieClip("thumbnails_mc",
this.getNextHighestDepth());
// An array holding the paths to our thumbnails
var thumbnailPaths_arr:Array = ["1.swf", "2.swf", "3.swf",
"4.swf", "5.swf", "6.swf", "7.swf", "8.swf", "9.swf", "10.swf",
"11.swf", "12.swf", "13.swf", "14.swf", "15.swf"];
// Our ThumbnailManager
var thumbnailManager:ThumbnailManager = new
ThumbnailManager(thumbnails_mc, thumbnailPaths_arr);
==========
ThumbnailManager.as code:
==========
import Thumbnail
class ThumbnailManager
private var counter:Number = 0;
private var root_mc:MovieClip;
private var thumbnailPaths_arr:Array;
public function ThumbnailManager (target:MovieClip,
paths:Array)
root_mc = target;
thumbnailPaths_arr = paths;
(thumbnailPaths_arr.length > 0)? createThumbnail() :
null;
private function createThumbnail ():Void
var thumb:Thumbnail = new Thumbnail(this,
thumbnailPaths_arr[counter], root_mc, counter);
counter++;
public function onThumbnailLoaded ():Void
if (counter < thumbnailPaths_arr.length)
createThumbnail();
else
==========
Thumbnail.as code:
==========
import AsBroadcaster
import ThumbnailManager
class Thumbnail
public var addListener:Function;
public var removeListener:Function;
public var broadcastMessage:Function;
private var thumbnailWidth:Number = 88;
private var thumbnailHeight:Number = 61;
private var thumbnailOffsetX:Number = 10;
private var thumbnailOffsetY:Number = 10;
private var view_mc:MovieClip;
private var image_mc:MovieClip;
private var loader_mcl:MovieClipLoader;
public function Thumbnail (manager:ThumbnailManager,
url:String, target:MovieClip, d:Number)
AsBroadcaster.initialize(this);
this.addListener(manager);
render(url, target, d);
private function render (url:String, target:MovieClip,
d:Number):Void
view_mc = target.attachMovie("thumbnail", "thumb_"+d+"_mc",
d);
view_mc._x = (d * thumbnailWidth) + (d * thumbnailOffsetX);
view_mc._y = 0;
image_mc = view_mc.createEmptyMovieClip("image_mc",
view_mc.getNextHighestDepth());
image_mc._x = 0;
image_mc._y = 0;
loader_mcl = new MovieClipLoader();
loader_mcl.addListener(this);
loader_mcl.loadClip(url, image_mc);
public function onLoadError (target:MovieClip,
error:String):Void
broadcastMessage("onThumbnailLoaded");
public function onLoadProgress (target:MovieClip, bL:Number,
bT:Number):Void
public function onLoadInit (target:MovieClip):Void
broadcastMessage("onThumbnailLoaded");
==========
can anyone help me out with what code to put where? i have
uploaded a .zip file which contains all of the files here:
http://www.arielseri.com/thumbnails.zip -
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 -
[noob needs help] Loading image from a URL
Hey everyone. I'm new here. And I'm new at J2ME as well.
I have a simple school project and I have doubts about it. I've searched everywhere on the net yet I could not find the solution. Anyways, I do understand the concept of loading images by putting the files in the "res" folder and use:
try
img = Image.createImage("/burgerimgsmall.jpg");
catch (Exception e)
e.printStackTrace();
But my project requires me to load an image from a URL. How do I go about doing that? If it helps, here's the URL:
http://img.photobucket.com/albums/v703/punkgila/burgerimgsmall.jpg
Thanks guys!Don't worry, downloading image from http is also simple. Look into Photoalbum demo in wtk2.5
-
Flash Game Problem Need Help! Action-Script 2.0
Im making a flash game its a sniper game btw and i am have a problem with after killing the target for it to go to the next frame. I have tried on(press) on(release) for buttons i hae tried lots of different stuff (1.3 hours of trying) and so i was wondering if you could help me out. and here the link to the download for the source .fla yes i uploaded it cuz i really need the help ! thanks for any help! http://fileape.com/?act=download&t=yz6Lhp0oDdAB-7whXWB62WIoACXMVgV7r1flbKy17aJZamyC-vXNFwx tZP6pwXV50NGk3XWK9anDa4m6tBfGEtPOZwKbuZFcaFyGyEGiYqeILdcvVuEZy3QVHX3xY6S170xapkdrZJN9lov4k hxeqJ4_S6aGRpNQWjTT3MhudPLa1ZBAi79CiPqX5kN835lD7vzAU0O6WJZaK6jZBROg2A,,
or
http://fileape.com/dl/2gI8YiSW9QGzIgAu
if the top one doesnt work (the top one shouldnt have a time wait)
Thanks for all help
also please if you can find the problem itd be nice to know what it isI will not download the .fla - maybe if you hosted the .swf I would view it.
to change frame use: gotoAndStop(<framenumber>);
(without the < >, just a number for the fram).
I recommend you use movieclips for buttons and place all code on the main timeline. For movieclips, give them an identifier name (bottom left int he properties box of the movieclip) then on the main timeline use:
movieclipName.onRelease = function(){
gotoAndStop(10);//change 10 to the frame you wish to go to. gotoAndPlay(10) plays from the frame.
Maybe you are looking for
-
hi, i have a problem in booting my system. This i got after i loaded a driver lpdevice into the /usr/kernel/drv and rebooted the system. the following is the message displayed at the time of rebooting. Boot device : disk File and args: SunOS Release
-
SPECS TYPE - TYPE (creative muvo tx fm) WANTING LIST (lets keep it to max 3 more would be like to much): - sleep timer2 - clock3 - an always on feature (working with ac adapter)ACCESSORIES +Wanted accessories (lets say 2 max) - Ac adapter for when yo
-
Somebody knows why I hit a run time engine error when I select runtime adapter in teststand? If I choose dev environment, there is no error and the vi executes. Attachments: RunTimeError.png 194 KB
-
VM Manager's Launch Console not working with OpenJDK and IcedTea
Fedora 15 java-1.6.0-openjdk-1.6.0.0-59.1.10.3.fc15.x86_64 icedtea-web-1.0.4-1.fc15.x86_64 ICEDTEA-WEB NOTES Invalid XML An error like netx: Unexpected net.sourceforge.jnlp.ParseException: Invalid XML document syntax. at net.sourceforge.jnlp.Parser.g
-
Currency conflicts in URs!
Hi, i m moving the data from ODS to cube! one of the field which is amount, has a currency key as '0currency'. this field should be mapped against a amount field which has currency key as stat_currency! and when i check th rules mapping these fields,