Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Adding fixed paths so that a script can be embedded remotely

Posted on 2011-03-07
4
Medium Priority
?
281 Views
Last Modified: 2012-05-11
This is actually a follow-up question to one that I had successfully answered a couple years ago, but need to tweak.  The original thread is at http://www.experts-exchange.com/Software/Photos_Graphics/Web_Graphics/Macromedia_Flash/Q_22915848.html.  I need to modify the script referenced there so that it works when the flash file is embedded in a remote site.   To briefly summarize...
1- The script adds random rotating image functionality to a header/banner on my site.  To see it working properly, check www.campspofford.org.
2- I need to embed the code for this in a remote site which will look to the main site for all of the files.  It is a third-party payment solution that I'm trying to customize to look like our main site.  The page in question here is http://campspofford.dojiggy.com.  
3- On the aforementioned remote site, the banner displays, but the random images don't show up.  I believe that it is because it is look for a path relative to the server it is running on.

I'm pretty certain that this is a really quick fix - one line maybe?  But I need help from you flash experts!

Thanks in advance!

0
Comment
Question by:benjaminfam
  • 2
  • 2
4 Comments
 
LVL 17

Accepted Solution

by:
deepanjandas earned 2000 total points
ID: 35064454
The banner calls this image http://www.campspofford.org/images625x225/img57.jpg which is not present in the server. Hence not loading. Kindly check the path.

Warm Regards
Deepanjan Das
0
 

Author Comment

by:benjaminfam
ID: 35069065
Thank you!  Something so simple, but I stared at it for quite some time and just didn't see the obvious.  I was indeed missing the directory from my specified path.  Thanks for setting me straight!

0
 

Author Closing Comment

by:benjaminfam
ID: 35069070
Thank you for pointing out what I just wasn't seeing!
0
 
LVL 17

Expert Comment

by:deepanjandas
ID: 35069526
My pleasure

Warm Regards
Deepanjan Das
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question