Solved

Adding fixed paths so that a script can be embedded remotely

Posted on 2011-03-07
4
273 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 500 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

786 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