Re: [Flashcoders] path to upper level folder

2007-01-31 Thread Hans Wichman

Hi,
one more note, it works UNTIL your html and swf are no longer in the same
directory.
If that ever happens, _url will be your best friend.

greetz
JC


On 1/31/07, natalia Vikhtinskaya <[EMAIL PROTECTED]> wrote:


THANK YOU! It works.

2007/1/31, Andy Herrman <[EMAIL PROTECTED]>:
>
> Ok, so is this what your directory structure looks like:
>
> /PATH/folder_with_images/
> /PATH/folder1
> /PATH/folder2
>
> ?
>
> If so, you would just use "../folder_with_images" to access that
> folder from the swf/html that's in either folder1 or folder2.
>
>   -Andy
>
> On 1/31/07, natalia Vikhtinskaya <[EMAIL PROTECTED]> wrote:
> > I have two folders.Each of them has html with swf. Swf loads images.
> > www
> > - folder_with_images
> > - folder1-html and swf
> > - folder2-html and swf
> >  Is it possible to have relative path in swf to to the folder with
> images?
> >
> >
> > 2007/1/31, Merrill, Jason <[EMAIL PROTECTED]>:
> > >
> > > >>Swf and html are in the same folder. I need to have
> folder_with_images
> > > available for two folders
> > > >>folder_with_images available for two folders _folder_with_images
> > > >> _folder1, _folder2
> > > >>
> > > >>folder 1 and 2 have swf and html and I want to loaded images
> > > >>to both swf.
> > >
> > > OK, I'm thorouoghly confused as to what your setup is - something
got
> > > lost in translation there.
> > >
> > > Jason Merrill
> > > Bank of America
> > > Learning & Organizational Effectiveness
> > >
> > >
> > >
> > >
> > >
> > > ___
> > > Flashcoders@chattyfig.figleaf.com
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > > Brought to you by Fig Leaf Software
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com
> > > http://training.figleaf.com
> > >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] path to upper level folder

2007-01-31 Thread natalia Vikhtinskaya

THANK YOU! It works.

2007/1/31, Andy Herrman <[EMAIL PROTECTED]>:


Ok, so is this what your directory structure looks like:

/PATH/folder_with_images/
/PATH/folder1
/PATH/folder2

?

If so, you would just use "../folder_with_images" to access that
folder from the swf/html that's in either folder1 or folder2.

  -Andy

On 1/31/07, natalia Vikhtinskaya <[EMAIL PROTECTED]> wrote:
> I have two folders.Each of them has html with swf. Swf loads images.
> www
> - folder_with_images
> - folder1-html and swf
> - folder2-html and swf
>  Is it possible to have relative path in swf to to the folder with
images?
>
>
> 2007/1/31, Merrill, Jason <[EMAIL PROTECTED]>:
> >
> > >>Swf and html are in the same folder. I need to have
folder_with_images
> > available for two folders
> > >>folder_with_images available for two folders _folder_with_images
> > >> _folder1, _folder2
> > >>
> > >>folder 1 and 2 have swf and html and I want to loaded images
> > >>to both swf.
> >
> > OK, I'm thorouoghly confused as to what your setup is - something got
> > lost in translation there.
> >
> > Jason Merrill
> > Bank of America
> > Learning & Organizational Effectiveness
> >
> >
> >
> >
> >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] path to upper level folder

2007-01-31 Thread Keith Reinfeld
Your path should look like this:

"../folder_with_images/yourimage.jpg"


-Keith 
http://keithreinfeld.home.comcast.net
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of natalia
Vikhtinskaya
Sent: Wednesday, January 31, 2007 10:28 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] path to upper level folder

I have two folders.Each of them has html with swf. Swf loads images.
www
- folder_with_images
- folder1-html and swf
- folder2-html and swf
 Is it possible to have relative path in swf to to the folder with images?


2007/1/31, Merrill, Jason <[EMAIL PROTECTED]>:
>
> >>Swf and html are in the same folder. I need to have folder_with_images
> available for two folders
> >>folder_with_images available for two folders _folder_with_images
> >> _folder1, _folder2
> >>
> >>folder 1 and 2 have swf and html and I want to loaded images
> >>to both swf.
>
> OK, I'm thorouoghly confused as to what your setup is - something got
> lost in translation there.
>
> Jason Merrill
> Bank of America
> Learning & Organizational Effectiveness
>
>
>
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] path to upper level folder

2007-01-31 Thread robert

I think this is what you want:

with this swf inside folder1-html:

mc.loadMovie('../folder_with_images/image1.jpg')



On Jan 31, 2007, at 8:27 AM, natalia Vikhtinskaya wrote:


I have two folders.Each of them has html with swf. Swf loads images.
www
   - folder_with_images
   - folder1-html and swf
   - folder2-html and swf
Is it possible to have relative path in swf to to the folder with  
images?



2007/1/31, Merrill, Jason <[EMAIL PROTECTED]>:


>>Swf and html are in the same folder. I need to have  
folder_with_images

available for two folders
>>folder_with_images available for two folders _folder_with_images
>> _folder1, _folder2
>>
>>folder 1 and 2 have swf and html and I want to loaded images
>>to both swf.

OK, I'm thorouoghly confused as to what your setup is - something got
lost in translation there.

Jason Merrill
Bank of America
Learning & Organizational Effectiveness



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] path to upper level folder

2007-01-31 Thread Andy Herrman

Ok, so is this what your directory structure looks like:

/PATH/folder_with_images/
/PATH/folder1
/PATH/folder2

?

If so, you would just use "../folder_with_images" to access that
folder from the swf/html that's in either folder1 or folder2.

  -Andy

On 1/31/07, natalia Vikhtinskaya <[EMAIL PROTECTED]> wrote:

I have two folders.Each of them has html with swf. Swf loads images.
www
- folder_with_images
- folder1-html and swf
- folder2-html and swf
 Is it possible to have relative path in swf to to the folder with images?


2007/1/31, Merrill, Jason <[EMAIL PROTECTED]>:
>
> >>Swf and html are in the same folder. I need to have folder_with_images
> available for two folders
> >>folder_with_images available for two folders _folder_with_images
> >> _folder1, _folder2
> >>
> >>folder 1 and 2 have swf and html and I want to loaded images
> >>to both swf.
>
> OK, I'm thorouoghly confused as to what your setup is - something got
> lost in translation there.
>
> Jason Merrill
> Bank of America
> Learning & Organizational Effectiveness
>
>
>
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] path to upper level folder

2007-01-31 Thread Merrill, Jason
Sounds like you have three folders, not two.  

So if I understand your setup, you would access the images in the images
folder, which it sounds like is one level down from either folder1 or
folder2 -  like this:

loadMovie("../folder_with_images/theFile.jpg")

Jason Merrill
Bank of America 
Learning & Organizational Effectiveness
 
 
 
 
 
 

>>-Original Message-
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of natalia Vikhtinskaya
>>Sent: Wednesday, January 31, 2007 11:28 AM
>>To: Flashcoders mailing list
>>Subject: Re: [Flashcoders] path to upper level folder
>>
>>I have two folders.Each of them has html with swf. Swf loads images.
>>www
>>- folder_with_images
>>- folder1-html and swf
>>- folder2-html and swf
>> Is it possible to have relative path in swf to to the folder 
>>with images?
>>
>>
>>2007/1/31, Merrill, Jason <[EMAIL PROTECTED]>:
>>>
>>> >>Swf and html are in the same folder. I need to have 
>>> >>folder_with_images
>>> available for two folders
>>> >>folder_with_images available for two folders _folder_with_images
>>> >> _folder1, _folder2
>>> >>
>>> >>folder 1 and 2 have swf and html and I want to loaded 
>>images to both 
>>> >>swf.
>>>
>>> OK, I'm thorouoghly confused as to what your setup is - 
>>something got 
>>> lost in translation there.
>>>
>>> Jason Merrill
>>> Bank of America
>>> Learning & Organizational Effectiveness
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> Flashcoders@chattyfig.figleaf.com
>>> To change your subscription options or search the archive:
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>> Brought to you by Fig Leaf Software
>>> Premier Authorized Adobe Consulting and Training 
>>> http://www.figleaf.com http://training.figleaf.com
>>>
>>___
>>Flashcoders@chattyfig.figleaf.com
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>Brought to you by Fig Leaf Software
>>Premier Authorized Adobe Consulting and Training 
>>http://www.figleaf.com http://training.figleaf.com
>>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] path to upper level folder

2007-01-31 Thread natalia Vikhtinskaya

I have two folders.Each of them has html with swf. Swf loads images.
www
   - folder_with_images
   - folder1-html and swf
   - folder2-html and swf
Is it possible to have relative path in swf to to the folder with images?


2007/1/31, Merrill, Jason <[EMAIL PROTECTED]>:


>>Swf and html are in the same folder. I need to have folder_with_images
available for two folders
>>folder_with_images available for two folders _folder_with_images
>> _folder1, _folder2
>>
>>folder 1 and 2 have swf and html and I want to loaded images
>>to both swf.

OK, I'm thorouoghly confused as to what your setup is - something got
lost in translation there.

Jason Merrill
Bank of America
Learning & Organizational Effectiveness





___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] path to upper level folder

2007-01-31 Thread Merrill, Jason
>>Swf and html are in the same folder. I need to have folder_with_images
available for two folders
>>folder_with_images available for two folders _folder_with_images
>> _folder1, _folder2
>>
>>folder 1 and 2 have swf and html and I want to loaded images 
>>to both swf.

OK, I'm thorouoghly confused as to what your setup is - something got
lost in translation there.

Jason Merrill
Bank of America 
Learning & Organizational Effectiveness
 
 
 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] path to upper level folder

2007-01-31 Thread natalia Vikhtinskaya

Swf and html are in the same folder. I need to have folder_with_images
available for two folders
_folder_with_images
_folder1, _folder2

folder 1 and 2 have swf and html and I want to loaded images to both swf.


2007/1/31, Merrill, Jason <[EMAIL PROTECTED]>:


Where is the images folder relative to the location of the HTML that
enbeds the Flash?  Paths from the .swf are relative to the HTML, not to
the .swf.

Jason Merrill
Bank of America
Learning & Organizational Effectiveness







>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf
>>Of natalia Vikhtinskaya
>>Sent: Wednesday, January 31, 2007 10:34 AM
>>To: Flashcoders mailing list
>>Subject: [Flashcoders] path to upper level folder
>>
>>Hi to all
>>I am trying to find way to get images that are in folder with
>>upper level _folder_with_images (1)
>>_folder_with_swf with path to folder_with_images (2)
>>
>>Is it possible? Everything what I tried does not work.
>>Thank you for your help.
>>___
>>Flashcoders@chattyfig.figleaf.com
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>Brought to you by Fig Leaf Software
>>Premier Authorized Adobe Consulting and Training
>>http://www.figleaf.com http://training.figleaf.com
>>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] path to upper level folder

2007-01-31 Thread Merrill, Jason
Where is the images folder relative to the location of the HTML that
enbeds the Flash?  Paths from the .swf are relative to the HTML, not to
the .swf.

Jason Merrill
Bank of America 
Learning & Organizational Effectiveness
 
 
 
 
 
 

>>-Original Message-
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of natalia Vikhtinskaya
>>Sent: Wednesday, January 31, 2007 10:34 AM
>>To: Flashcoders mailing list
>>Subject: [Flashcoders] path to upper level folder
>>
>>Hi to all
>>I am trying to find way to get images that are in folder with 
>>upper level _folder_with_images (1)
>>_folder_with_swf with path to folder_with_images (2)
>>
>>Is it possible? Everything what I tried does not work.
>>Thank you for your help.
>>___
>>Flashcoders@chattyfig.figleaf.com
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>Brought to you by Fig Leaf Software
>>Premier Authorized Adobe Consulting and Training 
>>http://www.figleaf.com http://training.figleaf.com
>>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] path to upper level folder

2007-01-31 Thread natalia Vikhtinskaya

Hi to all
I am trying to find way to get images that are in folder with upper level
_folder_with_images (1)
   _folder_with_swf with path to folder_with_images (2)

Is it possible? Everything what I tried does not work.
Thank you for your help.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com