Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-23-2005, 08:24 PM
Member
 
Join Date: Jan 2003
Posts: 54
Send a message via MSN to swfbaz Send a message via Yahoo to swfbaz
Default How to read xml in SWFKit and how to use encryption outside SWFKit?

Quest 1. I am enncrypting and decrypting data using SWFKit Encryption Object. Is it possible to decode that outside the flash if i know the encryption key. for my software i need to do this.... coz i am applying encryption using SWFKit and i want to decrypt it using Flash Action script. is there any script for doing this so?

Quest 2. I want to generate and read xml documents from within the SWFKit. is this also possible?

Thanx

regards
__________________
SWFBaz Preview [October 2006]
http://www.SWFBaz.com
Reply With Quote
  #2 (permalink)  
Old 07-23-2005, 08:49 PM
Member
 
Join Date: Jan 2003
Posts: 54
Send a message via MSN to swfbaz Send a message via Yahoo to swfbaz
Default Re:How to read xml in SWFKit and how to use encryption outside SWFKit?

var xmlDoc = new ActiveXObject("Microsoft.XMLDOM")
var xml = "<tags><value-tag>Some data...</value-tag><value-tag>Some data...</value-tag><value-tag>Some data...</value-tag></tags>"
xmlDoc.loadXML(xml)
If (xmlDoc.parseError.errorCode != 0) {
reason = xmlDoc.parseError.reason
Dialogs.msgBox(reason, "ERROR!", 17)
}

This code never runs!!! Compiler throws error on line number 3: i.e. xmlDoc.loadXML(xml)

Is it possible doing this way? or..... somethin different?
__________________
SWFBaz Preview [October 2006]
http://www.SWFBaz.com
Reply With Quote
  #3 (permalink)  
Old 07-25-2005, 01:03 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:How to read xml in SWFKit and how to use encryption outside SWFKit?

Sorry, you cannot decode a string encrypted by swfkit in action script. You may use your own arithmetic to encrypt a string.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:52 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.