sinisa Posted November 1, 2006 Share Posted November 1, 2006 Hi, Could someone help me please??? I am not shore if my post belongs here but I do not know where ells to look for help. I do not have much experience with this I am working in flash and I have action script problem with loading my slide show from my XML file. My XML file is named ticker.xml and it is located in the root directory , And when I test movie I get this error:(If anyone is willing to help my i can email you my .fla file? Please ?ERROR[quote]**Error** Symbol=Symbol 38, layer=Layer 1, frame=1:Line 2: Statement must appear within on/onClipEvent handler {Total ActionScript Errors: 1 Reported Errors: 1[/quote]My Script is[quote]//Component construct(){ c_xmlName = "ticker.xml"; c_fileType = "xml"; c_targetIsURL = false; c_targetName = "ticker"; c_effect = "wipePushUp"; c_scrollSpeed = 1; c_pauseTime = 2; c_pauseOver = false; c_handCursor = true; c_random = false; c_border = false; c_borderColor = 0; c_bufferL = 0; c_bufferR = 0; c_bufferT = 0; c_visited = true; c_visitedColor = 13421772; c_embedFonts = true; c_textWidth = 0; c_textAlign = "left"; c_lineSpacing = 0; c_imagePos = "left"; c_imageVertical = "bottom"; c_imageSpacer = 6; c_fontDefault = "FFF Corporate"; c_fontDefaultSize = 8; c_fontDefaultColor = 6710886; c_background = false; c_bgColor = 16777215; c_fontRolloverChange = true; c_fontRolloverColor = 0; c_backgroundR = false; c_bgColorR = 15658734;}[/quote] Link to comment https://forums.phpfreaks.com/topic/25870-action-script-help-please/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.