ActionScript 2.0 :: Losing The Path To External JPG?

Mar 1, 2011

I found the problem. I had my container as a guide. I took off the guide and it shows up in my server. But why did it show up on my local computer if it still was on guide then?I have external jpgs that are loading into a flash website. When I run it off my hard drive it works. But when I put it on my server the external jpgs are no longer loading. Does anyone know what I might be doing wrong with my paths?

[Code]...

View 0 Replies


Similar Posts:


ActionScript 3.0 :: Flash External Loaded Swf Losing Component?

May 28, 2010

I have a parent movie that can load various "overlays", which are externally loaded swf's. For several of these overlays now, when the overlay is loaded into the parent movie, any components it was using seem to disappear, or more precisely, use the parent movie's component (so if the parent movie doesn't have an instance of whatever component it is in it's library, then the child won't display anything.) I have been able to (sort of) solve the problem by creating an instance of whatever component it is in the parent, but this is undesirable, especially since different overlays may use different versions of the same component (i.e., skinned UIScrollbars.)

So, code in the parent:

Code:
public function drawOverlay (rID:String, payload:String, x1:Number, y1:Number, w:Number, h:Number, o:Number, bg:String, bc:String, bw:Number) : void
{
trace("SKIN - "+rID,x1,y1,w,h,o,bg,bc,bw);

[code]....

The child runs perfectly standalone (of course), and everything except components work fine when loaded. Everything is CS4/AS3. It seems like I have a rooting issue, where the root of the loaded swf is being linked to the root of the parent, but I don't know what to check out...

View 4 Replies

ActionScript 3.0 :: Path Movement - Mc To Follow The Path Drawn Out By The Player's Mouse And When The Player Clicks Again, It Erases All Of The Path?

Jul 18, 2010

So I've created a script where a mc is clicked on and the player can draw a path using the mouse. I'm trying to figure out how I can get the mc to follow the path drawn out by the player's mouse and when the player clicks again, it erases all of the path.my code is below

Code:
import flash.display.Sprite;
import flash.events.MouseEvent;[code].....

View 14 Replies

ActionScript 2.0 :: Path To Movieclip In External Swf

Oct 11, 2005

I have embedded a external swf in a movieclip called "container". In the external swf is a movieclip "black_rectangle". How do I have to write the path to this rectangle? My version doesnt't work and i have no idea why not

[Code]...

View 5 Replies

ActionScript 2.0 :: Path From Main Swf To External Swf?

Feb 10, 2007

I have my main swf that has a container called "mc_dropphotos" where I have:loadMovie("photo_scroll.swf",_root.mc_dropphotos);In the photo_scroll.swf there are movieclips that I want to get the x coordinate of and do something in the main swf by:if (mc_dropphotos.mcPhoto1._x < -4.15){etc.which is the path syntax I thought you use for checking properties from an external swf. I have tried _root.mc_dropphotos.mcPhoto1._x , _root.mcPhoto1._x, _root.mc_dropphotos.mcPhotos.mcPhoto1._x, c_dropphotos.mcPhotos.mcPhoto1._x and none of them work either.

View 1 Replies

IDE :: CS4 External Library Path For Components?

Jun 3, 2010

I want to:

1) Place symbols on the stage manually in loaded.fla

2) Exclude these symbols from the swf because they will already be in loading.swf

So I:

1) Created a component.fla

2) Created a "comp" symbol in the fla

3) Turned that symbol into a component via Component Definition

4) Exported the comp.swz into Configuration/Components/MyComps

5) Opened up loaded.fla

6) Pulled the comp component onto the stage

7) Went to file AS settings and added Configuration/Components/MyComps to the External Library Paths

8) Compiled loaded.swf and played it

BUT the swf includes the comp component on the stage...which is NOT what I wanted. I only want the swf to work and have a reference to comp when it it loaded into loading.swf.Why haven't the classes in comp been excluded?Obviously this is a workaround for runtime shared libraries, which is unpredictable, time-wasting and generally painful. Is there a better way to retain WYSIWYG and share symbols? I don't want to do dynamic placing.

View 2 Replies

ActionScript 3.0 :: Use The Full Url Path To Call An External Jpg?

Jan 13, 2009

Is it necessary to use the full url path to call an external jpg or is it possible to have a relative url?

View 1 Replies

ActionScript 3.0 :: Source Path And External Code

Apr 5, 2010

I created a Jing video to describe my problem. In short, I'm not sure how external AS3 scripts are supposed to referenced, though I did get it to work in AS2 years ago.

View 3 Replies

ActionScript 3.0 :: Loading External SWF Using Absolute Path?

Feb 27, 2011

I am having trouble loading an external swf on a server using the absolute path. This external swf uses webcam streams and is loaded in the original swf file using the URL request code. I can load other swfs but just not that one. I have set the permission of the external swf to allow write/read/execute

//Loads the augmented SWF into the main timeline.
var request:URLRequest = new URLRequest("http://www.reminisce.me/files/jz_AR.swf");
var loader:Loader = new Loader()

[code]......

View 1 Replies

ActionScript 2.0 :: Loading External Swf Issue With Path?

Oct 2, 2009

I have an external swf file that I am using for an image gallery utilizing XML.I have a main swf that loads the external swf. Everything works fine locally, however i get nothing when I put it on the server. I have been trying to find the answer and I think it has something to do with the path, its a guess really.So this is how I have it set up. On my main flash time line, I have an empty movie clip with an instance name of loader_mc. When a user clicks on the button for portfolio it stops on the portfolio keyframe and should call the external swf located in the folder Flash. This works when I test it locally, but does not work when I test on server. Here is my exampleThis is my actionscript.

Code:
stop();
_root.loader_mc.loadMovie("Flash/gallery.swf");

[code].....

View 0 Replies

ActionScript 2.0 :: Use Correct External Path For So.addVariable?

Sep 25, 2007

i was trying to load an dynamic swf by an external path using the addVariable of swfObject. But i seem to be lost when im already trying to call the path of the swf. on the loadMovie function, i noticed that "_level0.bg" which is a String and myRandom as Number is not possible to concatenate. how to be able to call this path properly so that i can load the swf?

Code:

_root.onLoad = function() {
var myRandom = Math.floor(Math.random() * _level0.totalPic) + 1;
_root.bg_mc.loadMovie("_level0.bg" + myRandom); // it should be like _level0.bg1;
}

[Code]....

View 1 Replies

ActionScript 3.0 :: Loading External Swf And Setting Its Relative Path?

Nov 1, 2009

I am trying to create a flash viewer, which will load various other flash movies. The viewer will be in the root directory, but the flash movies it will load are a few directories deep.

/flashViewer.swf
/myContent/someProgram/program.swf
/myContent/someProgram/audio/sound1.wav

It seems that when I load one of these movies into my viewer, the loaded movie is looking for the sounds in an audio folder in the root directory, and not relative to the swf I loaded. Is there a way to set this? I would rather not have to make the changes in each of my other movies to use the absolute path

View 7 Replies

Exported SWF  Using External MOV Has All Sorts Of Path / Sandbox Errors

Nov 16, 2009

I need to say I'm VERY aggravated right now at all of this because I know whats going on I imported a QT h.264 640X480 mov into flash. I've used  both local files across the network and files on the live web server. 1. the exported SWF on the server want to use the skins. swf thats TWO folder levels higher then the output and the local MOV. there appears to be no way to edit this.I didn't export to here, I exported to a folder deeper down to hold everything. no idea how or why flash is reaching 2 levels up.

2. if I manually move the skin file up, then I get a sandbox secruity error with the hint that Security.loadPolicyFile("");

View 14 Replies

ActionScript 2.0 :: Target Path In External SWF Not Working Correctly

Jun 5, 2007

Alright, so I've tried quite a few things with no luck. I have a scrollbar that works in the swf fine, but when loaded into my mainmovie container I get this error...
Target not found: Target = "/scrolling text " Base = "_levelO.swf container"

Basically I understand this to mean that the externally loaded movie cannot find the instance name /scrolling text. The code is as follows that I have set to the scrollbar button in the externally loaded swf....

on (rollOver) {
tellTarget ("/scrollingtext") {
nextFrame();
} gotoAndStop("down1");
}

I tried changing the target to _root.scrollingtext with no luck. Also tried _parent.

View 1 Replies

Flash :: Mxmlc Compiler - Source-path Preferred Over Library-path?

Nov 9, 2011

the same class is passed to the mxmlc compiler in SWF library as a symbol linkage class and again in a source-path. But the compiler uses the definition from the source-path so creating new instance of that class won't create new instance of the library symbol. How do I tell the compiler to prefer the definition linked to the symbol (the one dfrom SWC)?

I have my design assets in an FLA file and they are linked to classes (e.g. [URL]. Then I export those assets to a SWC library and pass it to the compiler. Now when I create an instance of the class (new MyAsset();) it will be a new instance of the library object.

But there are other classes too in the source folder (e.g. "com.myproject.model.*" so I need to pass the source folder to the compiler too. And that is the problem, now the compiler will use the MyAsset.as definition from the source path, not from the SWC where it is assigned to the library object so if I create new instance of MyAsset now it won't duplicate the library object.

View 1 Replies

ActionScript 2.0 :: String To _level (path) - Hide A MC Depending On The Path Variable?

Nov 24, 2004

Here's what i'm trying to do: Hide a MC depending on the path variable as:

[Code]...

Well that doesn't work, for some reason, i can't use a string as a multiple level path..

View 5 Replies

ActionScript 3.0 :: Senocular's Path Class - Take Line Paths - Drawn And Convert Them Into A Path Object?

Feb 15, 2010

I was wondering if it possible to write up some AS that will take line paths that you have drawn and convert them into a Path object? For example say you drew a jagged line from left to write, would there be a way to have AS convert that into a Path object.

View 11 Replies

ActionScript 3.0 :: Draw A Curved Path In Flash - Use Path Data

Aug 31, 2011

Is it possible to draw out a path in the flash editor, set its visibility to hidden, and use this path data to animate objects in AS3?

View 1 Replies

ActionScript 2.0 :: Root. - Use Parameters To Define A Path Inside A Path?

Aug 27, 2004

i have a quick question what is the syntax if u want to use parametrs to define a path inside a path? i mean:

[CODE]...

does anyone know.... it's very important!

View 6 Replies

ActionScript 3.0 :: Root Relative Path Vs Absolute Path?

Nov 9, 2011

This is a head scratcher. Why would a root relative path cause a Security Sandbox error.. but an absolute path to the exact same path work fine..

[Code]...

View 0 Replies

Xml :: Difference Between Fixed Path And Relative Path?

Apr 8, 2011

I am displaying some flash content on a fairly standard page. This works really well when the flash, xml file and html page are sitting together in the same directory.url...However, I want to display that same content in another page which is deeper inside the site but outside of the directory that houses the .swf and .xml files as well as the assets.[code]The js files are loading properly but the flash content is not, so I could use a little help getting that sorted out.

View 1 Replies

Difference Between Absolute Path And Relative Path?

Apr 30, 2011

What does _level0,_parent and _root mean in flash?What's the difference between absolute path and relative path?

View 1 Replies

ActionScript 3.0 :: Variable Losing/not Assigning Value?

Jul 26, 2010

I followed a dynamic gallery scrolling thumbs tutorial and then changed it quite a bit to fit my needs.

I basically added a previous and next button and image title box.

It all works great apart from one thing.

e.g. I click on thumb 5. I then use the next button and go to say... image15. I then click on thumb 9. When I use the prev or next button again it will resume from image15, but it should then carry on from thumb 9 as that was the last change I made.

I thought this would be as simple as assigning the thumb variable value to the image number variable. i.e myID = id; but it doesn't work. my variable myID actually loses its value when I click the thumb image (I used the trace to clarify).

Here is the code.

PHP Code:

function bttnClick(event:MouseEvent):void{
bttn.gotoAndStop(1);
root.logo.visible = false;
myID = id;

[Code].....

View 4 Replies

Flash :: CS4 Losing My Panel Groups

Aug 27, 2010

I've noticed recently (the last week) that when I open Flash CS4, the Tools panel and the Actions/Timeline/Compiler Errors/Output panel group are not automatically open, like they always were before. Does anyone know of anything I could have changed by accident?

At the same time this started happening, I have a file that has a moving hot spot that is set with keyframes (depending where the active button is on the bitmaped screen capture behind the button). Even though the  button's onRelease handlers are advancing the timeline correctly, my button is not in the right place in the runtime version. If's still fine in the development environment. It's like the layers are out of sync with each other.

View 1 Replies

Flash :: Session Data Is Losing With It

Jul 13, 2011

I'm using Flash uploader(uploadify, swfupload) with CodeIgniter, want to get the session data. I have found out that the flash does not send the session data, so I have set $config['sess_match_useragent'] = FALSE;

Now for example i have set session value myname in session and I can get it on my backend PHP script using Internet Explorer.[code]...

View 1 Replies

ActionScript 2.0 :: LoadAndSend Losing Some Values From PHP?

Aug 12, 2010

recently tried developing an flash application that would send info to php and php should read a browser cookie and pass back the cookie value as e.g myCookie = $myCookie, where:

$myCookie = $_COOKIE['test'];

Funny enough in Actionscript myCookie is read as blank but the other variables that are hard coded are showing. what could be the problem PLEASE HELP I desperately need the solution. My Code is given below:

PHP Code:

[U]file next.php[/U]
<?php 
$myCookie = $_COOKIE['test'];

[code]....

View 2 Replies

ActionScript 3.0 :: Losing Mouse_up After Reparent

Mar 18, 2009

how to fix it:

Code:
public function setupDragDrop(asset:MovieClip) {
asset.addEventListener(MouseEvent.MOUSE_DOWN, function(e:MouseEvent) {
trace("1");

[Code]....

so basically just a function to add drag and drop functionality to an asset, note that when you mouse_down on the asset it takes it from where-ever it is and moves it to a container that sits at the top level in front of everything else.

This however appears to 'disable' the mouse_up event, which is never called in this case. If i remove the re-parenting then the mouse_up is called fine.

View 1 Replies

Flex :: Debugging - I Added Class Directory Via Flex Build Path/Source Path, And Now 'building Workspace' Takes Forever

Apr 3, 2012

I am coming from flash to flashbuilder I have a directory, AS3_classes_dir, on my computer that stores all of my classes, including my greensock and papervision packages. In every flash app that I make I include that directory in the Source Path, so that I can import whatever I may need. Compiling in flash (using ctrl/enter) takes very little time; only the classes that are specifically imported are compiled.So today I did that in flashbuilder, included AS3_classes_dir via Flex Build Path/Source Path ... but now the compile time are a couple of minutes, even though I am not even importing ANY of the classes from within.

View 2 Replies

ActionScript 2.0 :: Losing Shared Objects On Update?

May 25, 2009

I just recently made an online game and was asked to implement saving features. Everything works fine but a single detail... When I update the swf (right now I have a new version with corrected bugs) people are gonna lose all their saved data !

Is there a way to use the same shared objects over multiple swf ? Or simply to keep them over the version change ?

View 1 Replies

Flash :: Losing Image Quality In Movie

Sep 10, 2009

I have a logo which I have created in photoshop, it is made up of 4 layers, some of which I want to animate. I create my movie, I do so by opening my PSD file and then animating the layers. However I have a problem in that when I view my movie the image quality is poor, and there is what I would describe as noise around some of the image.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved