Solved

Adding fixed paths so that a script can be embedded remotely

Posted on 2011-03-07
4
277 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

635 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