Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-18-2008, 03:03 PM
Senior Member
 
Join Date: Jan 2008
Posts: 123
Default Deleting a section dosent work

using this code in as 2

Code:
	nyhSec = iniFil.getSectionNames()
	if (nyhSec.length > 5) {
		inID = Math.floor(nyhSec.length-5);
		iniFil.deleteSection(inID);
		Global.trace(inID)
	}
from trce i get desired value (section namne - they are numbers) but it wont delete the section.
Reply With Quote
  #2 (permalink)  
Old 05-19-2008, 03:23 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: Deleting a section dosent work

Maybe you need to convert it to a string, such as "inID.toString()".
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 05:14 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.