• Facebook Page: 187529034607186
  • Twitter: webconch

Who is online?

We have 14 guests online

Dear Forum Users. Please don't spam this forum. Your spam will be deleted and your account deactivated (I just click your username and you fucker are gone). So don't mess around with your and my time. Do something constructive and be creative! But please not with spamming. If this bad habit won't stop, we will increase the security.

The Forum will be maintained again. Every Monday afternoon I (Webconstructor:Milton) will be answering questions again.

Welcome, Guest
Please Login or Register.    Lost Password?

Error in loading data swf file calling ext .as etc
(1 viewing) (1) Guest
In this forum you can ask questions all about the SWFContent plugin.
Go to bottomPage: 1
TOPIC: Error in loading data swf file calling ext .as etc
#100
Error in loading data swf file calling ext .as etc 1 Year, 9 Months ago Karma: 0
I gat an Error in loading data message because the swf file I am calling dynamically renders a clickable map which calls external .as, .js and .xml files. Is there a way I can remedy this?

here is the page it should load into

www.edub9intl.com/rooftop/index.php?opti...;id=35&Itemid=35

and
here is the content to be loaded.

www.edub9intl.com/rooftop/includes/maps/Maps/FCMap_USA.swf

At present all it is loading is the preloader.

Racking my brain!

Thanks!
edub9
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#106
Re:Error in loading data swf file calling ext .as etc 1 Year, 9 Months ago Karma: 4
Try changing the param "base" to the path in which your included file are. base=includes/maps/Maps/

"base" specifies the base directory or URL used to resolve all relative path statements in the Flash Player movie. This attribute is helpful when your Flash Player movies are kept in a different directory from your other files.

Hope this will help.
webconstructor
Admin
Posts: 292
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#108
Re:Error in loading data swf file calling ext .as etc 1 Year, 9 Months ago Karma: 0
Inside the flash file i have the following actionscript:

/*
Scene Name: MapLoad
===========================================================================
This entire scene acts as a preloader for FusionCharts Flash map movie.
In this scene, we first initialize the map by setting/calculating a few
values that will be used later in this map. Next, we create the preloader
progress bar for the movie and show it till the moment the movie hasn't loaded.
Once the entire map movie is loaded, we shift the play pointer to DataLoad scene.

External Includes in the scene:
com/fusionmaps/LoadingFunctions.as - Contains getFirstValue function and preloader functions
com/fusionmaps/AppMessages.as - Contains application message strings to be displayed to end user
com/fusionmaps/Init.as - Contains map initialization scripts
com/fusionmaps/PreLoad.as


AND then after the preloader I have this:

//Include relevant external AS files
/**
* LoadingFunctions.as - Contains getFirstValue function
* and preloader functions
*/
#include "com/fusionmaps/includes/LoadingFunctions.as"
/**
* Init.as - Contains map initialization scripts
*/
#include "com/fusionmaps/includes/Init.as"
/**
* AppMessages.as - Contains application message strings to
* be displayed to end user
*/
#include "com/fusionmaps/includes/AppMessages.as"
/**
* PreLoad.as - Contains map pre-loading scripts
*/
#include "com/fusionmaps/includes/PreLoad.as"
//Stop here - till the script invokes some play event
stop();

The map works this way but when I changed all the

com/fusionmaps/includes/

to www.edub9intl.com/rooftop/includes/maps etc etc

the entire map broke.
edub9
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#109
Re:Error in loading data swf file calling ext .as etc 1 Year, 9 Months ago Karma: 0
I guess a quicker question would be, how would I make these external files available to my flash map whilst using your
plugin? I do have the map embedded into an iframe and it works however there is no way in the Data.xml file to tell it to replace entire page with the link. Here is a sample of the xml file.

<map animation='0' showShadow='0' showBevel='0' showMarkerLabels='1' fillColor='F1f1f1' borderColor='000000' baseFont='Verdana' baseFontSize='10' markerBorderColor='000000' markerBgColor='FF5904' markerRadius='6' legendPosition='bottom' useHoverColor='1' showMarkerToolTip='1' >
<data>
<entity id='AL' toolText='AL' link='www.edub9intl.com/rooftop/index.php?opti...&Itemid=32' />
<entity id='AK' toolText='AK' link='www.edub9intl.com/rooftop/index.php?opti...&Itemid=32' />


Maybe I could do something like

link='S-www "S- for self"
or N- for new

?????
edub9
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1